[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.4.0 source org.jboss.portal.portlet.Portl
I found it Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991555#3991555 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.4.0 source org.jboss.portal.portlet.Portl
Because the render phase must have no side-effect. And the JSR 168 tells that you cannot rely on obtaining the request parameters on render calls, only render parameters. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991554#3991554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991554 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - can we use jboss clustering without using load balancer
can we use jboss clustering without using load balancer and how? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991553#3991553 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991553 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Creating a portlet instance of an unamed portlet
And display-name is not mandatory, so this is a bug. Could you please file a JIRA bug report ? jira.jboss.org View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991551#3991551 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Login.jsp
Well you could also secure /* instead of auth/* in the jboss-server.war/WEB-INF/web.xml file View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991552#3991552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991552 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.4.0 source org.jboss.portal.portlet.Portl
anonymous wrote : | You must not use request parameters in render mode only render parameters. | Why I can't use request parameters in render mode? Is that documented somewhere in the JSR168? Please enlighten me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991550#3991550 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991550 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - @EJB Injection is not working
Hi Iam Using EJB3.0 Netbeans 5.5 and JBOSS(4.0.4) The Problem Iam Facing is I Always Get javax.naming.NameNotFoundException i.e bean is not bound and @EJB injection is not working ie object is always null.And please let me know where to place ejb-jar.xml b/c i dont know where net beans is placing this file (It Is Even Not Working In Java Serevr 9.0) Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991545#3991545 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Unable to start JBOSS server
Hi, Until few days my JBoss setup was running fine. But now I am unable to start the JBOSS server. I am getting following error : == JBoss Bootstrap Environment JBOSS_HOME: D:\jboss-4.0.4.GA\bin\\.. JAVA: C:\j2sdk1.4.2\bin\java JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn erval=360 -Dsun.rmi.dgc.server.gcInterval=360 CLASSPATH: C:\j2sdk1.4.2\lib\tools.jar;D:\jboss-4.0.4.GA\bin\\run.jar == ailed to boot JBoss: rg.jboss.deployment.DeploymentException: Could not initialise deployment: file: D:/jboss-4.0.4.GA/server/default/conf/jboss-service.xml; - nested throwable: (j va.lang.NoClassDefFoundError) at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException DeploymentException.java:53) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:803) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. ava:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces orImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch r.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. ava:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:464) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.NoClassDefFoundError at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:621) at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) ... 18 more Shutdown complete java.lang.ExceptionInInitializerError at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java: 91) Caused by: java.lang.IllegalStateException: Shutdown in progress at java.lang.Shutdown.add(Shutdown.java:79) at java.lang.Runtime.addShutdownHook(Runtime.java:190) at java.util.logging.LogManager.(LogManager.java:197) at java.util.logging.LogManager$1.run(LogManager.java:155) at java.security.AccessController.doPrivileged(Native Method) at java.util.logging.LogManager.(LogManager.java:141) ... 1 more Press any key to continue . . . Can anyone please let me know whats the issue? I even tried re-installation of the jboss server. Pls let me know what i can do to get jboss server running on my machine. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991543#3991543 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Problem with storing SYBASE
Problem with storing SYBASE "IMAGE" DATA TYPE in jboss using entity bean We are using JBoss-4.0.4.GA, Entity Bean 2.x (CMP), Sybase 12.5 File Name :- jconn2.jar File Version :- 1.4.2_04 File Size:- 876 kb When we try to insert an object in to column of data type "IMAGE" in Sybase by using EJB 2.x we get the fallowing exception 2006-11-24 13:31:58,328 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true 2006-11-24 13:31:58,359 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false 2006-11-24 13:31:58,359 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true 2006-11-24 13:31:58,218 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Exception destroying ManagedConnection [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1164355312640 permit=false trackByTx=false [EMAIL PROTECTED] [EMAIL PROTECTED] org.jboss.resource.JBossResourceException: SQLException; - nested throwable: (java.sql.SQLException: JZ0C0: Connection is already closed.) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkException(BaseWrapperManagedConnection.java:541) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.destroy(BaseWrapperManagedConnection.java:255) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.doDestroy(InternalManagedConnectionPool.java:539) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.returnConnection(InternalManagedConnectionPool.java:329) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.returnConnection(JBossManagedConnectionPool.java:552) at org.jboss.resource.connectionmanager.BaseConnectionManager2.returnManagedConnection(BaseConnectionManager2.java:407) at org.jboss.resource.connectionmanager.BaseConnectionManager2$BaseConnectionEventListener.connectionErrorOccurred(BaseConnectionManager2.java:768) at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.connectionErrorOccurred(TxConnectionManager.java:550) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.broadcastConnectionError(BaseWrapperManagedConnection.java:327) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.connectionError(BaseWrapperManagedConnection.java:313) at org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:757) at org.jboss.resource.adapter.jdbc.WrappedStatement.checkException(WrappedStatement.java:768) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:320) at org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand.executeInsert(JDBCIdentityColumnCreateCommand.java:51) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.performInsert(JDBCAbstractCreateCommand.java:286) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractCreateCommand.java:137) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:572) at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:222) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:266) at org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:612) 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.invocation.Invocation.performCall(Invocation.java:345) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1113) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:192) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:212) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:117) 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.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInt
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problem with storing SYBASE
Problem with storing SYBASE "IMAGE" DATA TYPE in jboss using entity bean We are using JBoss-4.0.4.GA, Entity Bean 2.x (CMP), Sybase 12.5 File Name :- jconn2.jar File Version :- 1.4.2_04 File Size:- 876 kb When we try to insert an object in to column of data type "IMAGE" in Sybase by using EJB 2.x we get the fallowing exception 2006-11-24 13:31:58,328 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true 2006-11-24 13:31:58,359 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false 2006-11-24 13:31:58,359 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true 2006-11-24 13:31:58,218 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Exception destroying ManagedConnection [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1164355312640 permit=false trackByTx=false [EMAIL PROTECTED] [EMAIL PROTECTED] org.jboss.resource.JBossResourceException: SQLException; - nested throwable: (java.sql.SQLException: JZ0C0: Connection is already closed.) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkException(BaseWrapperManagedConnection.java:541) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.destroy(BaseWrapperManagedConnection.java:255) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.doDestroy(InternalManagedConnectionPool.java:539) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.returnConnection(InternalManagedConnectionPool.java:329) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.returnConnection(JBossManagedConnectionPool.java:552) at org.jboss.resource.connectionmanager.BaseConnectionManager2.returnManagedConnection(BaseConnectionManager2.java:407) at org.jboss.resource.connectionmanager.BaseConnectionManager2$BaseConnectionEventListener.connectionErrorOccurred(BaseConnectionManager2.java:768) at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.connectionErrorOccurred(TxConnectionManager.java:550) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.broadcastConnectionError(BaseWrapperManagedConnection.java:327) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.connectionError(BaseWrapperManagedConnection.java:313) at org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:757) at org.jboss.resource.adapter.jdbc.WrappedStatement.checkException(WrappedStatement.java:768) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:320) at org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand.executeInsert(JDBCIdentityColumnCreateCommand.java:51) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.performInsert(JDBCAbstractCreateCommand.java:286) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractCreateCommand.java:137) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:572) at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:222) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:266) at org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:612) 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.invocation.Invocation.performCall(Invocation.java:345) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1113) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:192) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:212) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:117) 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.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInt
[jboss-user] [JBoss Seam] - Re: Seam configuration questions
How can the Seam "registration" example only have two jar files in the entire EAR? (jboss-seam.jar on the main section and jboss-seam-ui.jar in WEB-INF/lib)? Where are the other necessary JARs, such as MyFaces, log4j, and the others? Also, is there any advantage to putting a JAR directly underneath the EAR and declaring it in application.xml versus keeping it elsewhere in the EAR? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991539#3991539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991539 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: how to use with EJB3Standalone container inside eclipse
Try bypassing the create/start/stop/destroy methods (which are meant to be invoked from within JBoss AS) and instead use createService/startService, etc. I haven't tried this, but per http://docs.jboss.org/nightly/microkernel/docs/gettingstarted/en/html/basics.html#d0e268 this should be something like: | | | | | | | Good luck getting all the configurations injected; in JBC 1.x configuration isn't particularly microcontainer friendly. (That's much improved in JBC 2.0.0.) You're kind of breaking new ground here; I haven't head of anyone launching a cache from within the embeddable container. I'll try to help you out as I can. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991535#3991535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991535 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Performance question on EntityManager
Hi All I have a scenario and am trying to evaluate the performance of using the entity manager in a Message Driven Bean (MDB) class MDBean { @persistencecontext() private EntityManager em; public void onMessage() { while (someCondition) { ClassB b = new ClassB(); b.setEntityManager(em); b.doSomething(); } } Basically ClassB carries out persisting of about 6 tables based on the entitymanager passed to it. This process happens in a loop and the loop runs for about 10 - 20 times. I was wondering if I need to close the entity maanger at some point and re-create it? What would be the performance hit if any? Let me know what other design considerations need to be taken into account? Thanks K View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991534#3991534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is it possible to create a generics SFSB
Hi Gavin, Thank you so much for your confirmation. It is really amazing. It saves me a lot of coding. At beginning, I really do not dare to test this method. Only after your confirmation, I was encouraged to try it out. Thank you very much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991533#3991533 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991533 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ICEfaces
Hi, This can happen with the tag if you haven't declared the icefaces css: Philip View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991530#3991530 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991530 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Unable to start JBOSS server
Thanks again Peter. I got it working. You rule View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991532#3991532 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991532 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Excessive [could not destroy component] 1.1B1 to 1.1CR1
You should set the SFSB timeout LONGER than the session timeout (try twice as long), not the same length. And check if your @Remove method (or its interceptors) is throwing an exception. This is the most likely explanation for the problem. There is a bug in JBoss EJB3 that means an exception that occurs while removing an SFSB results in a NoSuchObjectException. Use your debugger to check this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991529#3991529 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ICEfaces
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991531#3991531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Excessive [could not destroy component] 1.1B1 to 1.1CR1
Hi, I couldn't get a success. My settings are: web.xml | 15 | JBOSS_HOME/server/default/deploy/ejb3-interceptors-aop.xml: | @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=10, idleTimeoutSeconds=900) | JBOSS_HOME\server\default\conf\standardjboss.xml: Standard Stateful SessionBean | ... | | 50 | 100 | 900 | 900 | 300 | 600 | 400 | 60 | 1 | 0.75 | I also changed the timeout time to 16 and 14, but all the three timeout time (14, 15, 16) gave the same exception:javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: 5c4o04-q5szlm-evd5usub-1-evd8gijv-3n. Did I do something wrong above? I really appreciate more guidance. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991528#3991528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NPE After adding @RequestParameter to SESSION bean
Fixed: http://jira.jboss.com/jira/browse/JBSEAM-565 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991527#3991527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: same SLSB in multiple clusters
That is correct. http://jira.jboss.com/jira/browse/EJBTHREE-569 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991525#3991525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Is JBoss AOP complete?
Hi all, Have anyone here used AspectJ before? If you have, based on your experience, is JBoss AOP comparable with AspectJ? If JBoss AOP is intuitive and a complete aspect framework compared to AspectJ, I might save my time to learn AspectJ as I am quite happy with JBoss AOP. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991524#3991524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991524 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Building from source
Hi everyone, By the way, i have modified the build properties files in the jbpm.3 # # INSTALLED SOFTWARE PROPERTIES # property software.installation.dir is used to define ant.home, jboss.home and # eclipse home. Apart from that, this property is only in the script that tests # a distribution. software.installation.dir=c:/software # ant.home is used in only target install.ant.libs in the build file in this directory. ant.home=${software.installation.dir}/apache-ant-1.6.5 # jboss.home is used for deployment targets. the libraries and binaries dependencies # are resolved in the repo with the lib.jboss.version property specified below. that # property also is based on jboss.version to keep them in sync jboss.version=4.0.4.GA jboss.home=${software.installation.dir}/jboss-${jboss.version} # the eclipse home property has to end with 'eclipse' since the folders in the eclipse # distribution package start with eclipse and that package will be unzipped in # ${software.installation.dir}/eclipse/.. # preferrably eclipse.home=${software.installation.dir}/eclipse # REPOSITORY LOCATION PROPERTIES local.repository=${user.home}/jbpm/repository remote.repository=http://repository.jboss.com remote.jboss.repository=http://superb-east.dl.sourceforge.net/sourceforge/jboss docbook.support.dir=${local.repository} # BROWSER PROPERTIES windows.browser=C:/Program Files/Internet Explorer/IEXPLORE.EXE macos.browser=/usr/bin/open linux.browser=mozilla # The remainder section of this configuration file should # typically not be customized. # Why i run ant build in jbpm.3 \build folder, the build FAIL. Can anyone please please help. Thank you in advance. Regards, Andrew View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991523#3991523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Anyone want to review a Seam book?
If you send me a copy I can try to find time to review it, but its frankly unlikely. I tried to get the time to review Michael and Thomas book, but failed :-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991521#3991521 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991521 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Login.jsp
Hi, Create a page and modify its security such that only logged in user can view that page.Then click on root in Management portlet.Select the default page as the page u have created.IF you access htpp://localhost:8080/portal it will open login page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991520#3991520 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam configuration questions
This just enables scoped classloading. You only need this if you will be running to EARs in the same server, and they both have classes with the same names. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991519#3991519 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991519 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Unable to start JBOSS server
By the way, you can leave the JRE in Program Files. You will rarely use it anyway. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991518#3991518 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Unable to start JBOSS server
You need to set JAVA_HOME to the directory where you installed the JDK (not the JRE!). For example: set JAVA_HOME=c:\jdk1.5.0_09 Or you can set it in the My Computer properties dialog. By the way, safe yourself some grief and move JBoss and the JDK out of Program Files. Spaces in directory names gives some Java code fits. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991517#3991517 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: May i generate a full application by seam-gen in a datab
"[EMAIL PROTECTED]" wrote : yes. | | http://docs.jboss.com/seam/1.1CR2/reference/en/html/gettingstarted.html thank you gavin! but if i want to use icefaces ,the seam don't generate the view ,and the file generatd put into a directory,Can i put it into difference directory in obedience to my business module by seam-gen? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991516#3991516 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: strange! halt of jboss + DB2(XA)
Thank you for your reply. Yesterday, I tried the deployment with db2(non xa) , it works well. I think the class is ok, there must be somthing wrong in my jboss configuation. This are my ejb-jar.xml and db2-xa-ds.xml. http://java.sun.com/dtd/ejb-jar_2_0.dtd";> SysmgrEJBModule PostMgmtSession com.oss.sysmgr.ejbs.PostMgmtSessionHome com.oss.sysmgr.ejbs.PostMgmtSession com.oss.sysmgr.ejbs.PostMgmtSessionBean Stateless Bean PostMgmtSession * Required DSTopEng COM.ibm.db2.jdbc.DB2XADataSource BOSSDB2 topeng bossDB2 DB2 DSAudit COM.ibm.db2.jdbc.DB2XADataSource BOSSDB2 USER_AUDIT bossDB2 DB2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991512#3991512 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991512 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Passing a parameter to my .xhtml page from my "action"
Inside a template I need to know which base page is using me. Whats the seam preferred way to do this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991515#3991515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: jboss startup web-console.war deployment errors
Thank you for the replies but i dont have a directory /deploy/console-mgr.sar/, just a /deploy/jmx-console.war/ directory. I changed the file: jboss-4.0.5.GA\server\default\deploy\jmx-console.war\WEB-INF\jboss-web.xml but I still keep getting the startup errors about jmx-console: | 18:25:36,046 INFO [[/web-console]] MonitorsFolder: Failed to init plugin, null | 18:25:36,046 INFO [[/web-console]] UCLs: Failed to init plugin, null | 18:25:36,078 INFO [[/web-console]] JMS Message: Failed to init plugin, null | 18:25:36,093 INFO [[/web-console]] JSR77 WebModule: Failed to init plugin, null | | 18:25:36,109 INFO [[/web-console]] J2EEFolder: Failed to init plugin, null | 18:25:36,109 INFO [[/web-console]] AOPFolder: Failed to init plugin, null | 18:25:36,125 INFO [[/web-console]] SystemFolder: Failed to init plugin, null | 18:25:36,156 INFO [[/web-console]] MBeans: Failed to init plugin, null | 18:25:36,171 INFO [[/web-console]] JSR77 Domains and Servers: Failed to init pl | ugin, null | 18:25:36,171 INFO [[/web-console]] JSR77 EJBModules and EJBs: Failed to init pl | ugin, null | 18:25:36,187 INFO [[/web-console]] JSR77 J2EE Apps: Failed to init plugin, null | My jboss-web.xml is now: | | |java:/jaas/jmx-console |jboss.admin:service=PluginManager | | It still doesn't work? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991513#3991513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991513 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Can't build jbossws samples
I ran into this same problem. There were suggestions to add jbossretro-rt.jar (which has org.jboss.lang.Annotation), but that just led to other problems. It looks like $jboss/server/default/deploy/jbossws14.sar is built for JDK 1.4, not 1.5. You can go and get a new jbossws release, and patch the JBoss 4.0.4 (in my case 4.0.5) install ... Go to jboss.org, and follow the links to download the latest greatest JBossWS. I can compile ... not sure if it runs yet :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991510#3991510 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991510 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: CVS?
Dear Mr Cocampo, I am using the CVS of jBPM 3.13, so is it possible to change the form since the starter kit is not possible to change the form? By the way, how can i get guide on how to create own GUI using the facelets/JSF. Thank you in advance. Regards, Janice View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991509#3991509 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991509 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Packages waiting for a deployer
Help. All my war and ear files are deploying fine except one ear file which gives the following error msg as seen below. jboss.err and jboss.log don't exist in the deploy subfolder, but rather rerouted via the jboss daemon to jboss/bin directory. Any ideas? --- Packages waiting for a deployer --- [EMAIL PROTECTED] { url=file:/usr/local/jboss-4.0.4.GA/server/default/deploy/jboss.err } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/usr/local/jboss-4.0.4.GA/server/default/deploy/jboss.err altDD: null lastDeployed: 1165362190335 lastModified: 116536219 mbeans: [EMAIL PROTECTED] { url=file:/usr/local/jboss-4.0.4.GA/server/default/deploy/jboss.log } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/usr/local/jboss-4.0.4.GA/server/default/deploy/jboss.log altDD: null View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991508#3991508 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991508 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Help Dynamic Query
hi everybody, i am new of this forum and foum sorry for my english. I need of you for this problem My application doesn't work with a sub query or complex query Exsample: sql="SELECT OBJECT(a) FROM AulaEntity a " + "WHERE a.idAula NOT IN " + "( SELECT o.idPermesso FROM PermessiEntity o)"; Object[] parmArr=(Object[]) parms.toArray(new Object[0]); Collection tmp=aulaRemote.queryDynamic(sql.toString(),parmArr); Thank for your attention my log error is this 01:49:04,100 INFO [STDOUT] query SELECT OBJECT(a) FROM AulaEntity a WHERE a.idAula NOT IN ( SELECT o.idPermesso FROM PermessiEntity o) 01:49:04,100 INFO [STDOUT] org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "SELECT" at line 1, column 60. Was expecting one of: "ABS" ... "COUNT" ... "MAX" ... "MIN" ... "AVG" ... "SUM" ... "LENGTH" ... "LOCATE" ... "SQRT" ... "MOD" ... "(" ... ... ... ... ... 01:49:04,100 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.ejbql.JBossQLParser.generateParseException(JBossQLParser.java:5614) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.ejbql.JBossQLParser.jj_consume_token(JBossQLParser.java:5495) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.ejbql.JBossQLParser.ArithmeticPrimary(JBossQLParser.java:2039) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.ejbql.JBossQLParser.InExpression(JBossQLParser.java:1153) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.ejbql.JBossQLParser.SimpleCondExpression(JBossQLParser.java:931) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.ejbql.JBossQLParser.ConditionalPrimary(JBossQLParser.java:882) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.ejbql.JBossQLParser.ConditionalTest(JBossQLParser.java:850) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.ejbql.JBossQLParser.ConditionalFactor(JBossQLParser.java:827) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.ejbql.JBossQLParser.WhereConditionalTerm(JBossQLParser.java:674) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.ejbql.JBossQLParser.WhereExpression(JBossQLParser.java:629) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.ejbql.JBossQLParser.WhereClause(JBossQLParser.java:593) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.ejbql.JBossQLParser.EJBQL(JBossQLParser.java:126) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.ejbql.JBossQLParser.parse(JBossQLParser.java:73) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.compileJBossQL(JDBCEJBQLCompiler.java:194) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.JDBCDynamicQLQuery.execute(JDBCDynamicQLQuery.java:92) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCSelectorBridge.execute(JDBCSelectorBridge.java:99) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCSelectorBridge.invoke(JDBCSelectorBridge.java:70) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91) 01:49:04,178 INFO [STDOUT] at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:62) 01:49:04,178 INFO [STDOUT] at gestioneaule.gruppo11.ejb.entity.AulaEntity$Proxy.ejbSelectDynamic() 01:49:04,178 INFO [STDOUT] at gestioneaule.gruppo11.ejb.entity.AulaEntity.ejbHomeSelectDynamic(AulaEntity.java:277) 01:49:04,178 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 01:49:04,178 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 01:49:04,178 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 01:49:04,178 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1077) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:204) 01:49:04,178 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:97) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61) 01:49:04,178 INFO [STDOUT] at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28) 0
[jboss-user] [EJB 3.0] - Re: Quartz Bean deployment
I am having the same problem as konstantin and I am using jboss ejb rc7 on jboss 4.0.4 GA. I can get it to work if I specify the activation properties in ejb-jar-xml but not via the annotated verison. I was wondering if anyone got this to work on the version o jboss I am using or if it does not work until a later version?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991505#3991505 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991505 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - How to Build the Embeddable EJB3 from source
Hi, I have checked out the trunk of JBOSS... how do I build the embeddable ejb3 from it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991504#3991504 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991504 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: same SLSB in multiple clusters
apparently not unless you are using EJB3 RC9 or higher View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991502#3991502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991502 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam jsf desgin question
You'll run into problems if you try to put the action methods on entities (e.g. Seam annotations have no effect). Oh i see, so i really have to split actions and model(entity) bean (like it is now) shouldnt this difference be reflected in your package structure or would u put all into the same package for example: 1) de.mycompany.groups -Group.java //entity bean -ManageGroup.java //action interface -ManageGroupAction.java //action interface implementation i noticed when i put actions and beans into the same package and that package contains, lets say 6 entity classes - u will have 18 classes (6*3 [1 for the entity , 1 for the action interface, 1 for the action implementation]) in one singly package, its gets too huge very quick. Should i make a subfolder action in every package or do it this way ? or just like this way 2) de.mycompany.model.group -Group.java de.mycompany.view.group -ManageGroup.java -ManageGroupAction.java or this way 3) de.mycompany.group.model -Group.java de.mycompany.group.view -ManageGroup.java -ManageGroupAction.java or finally this way 4) de.mycompany.group -Group.java de.mycompany.group.view -ManageGroup.java -ManageGroupAction.java waht solution would u choose ? I prefer 2) but i am not sure anymore, can u help please? Bye, Holger View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991501#3991501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam configuration questions
Thanks again. I do have one other question (I'm asking all of these because I seem to be getting closer to a functioning configuration, but I'm not quite there...still problems...) I noticed that in the META-INF of the EAR there's a jboss-app.xml with the following: | | seam.jboss.org:loader=seam-registration | | This seems to be pretty significant, though I could be wrong...do I need one of these files? What would I replace seam-registration with...would it be the name of the context of my WAR? What exactly does this file do from the perspective of Seam...a web search tells me it has something to do with classloading...? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991500#3991500 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991500 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Service Not Found Issue:Axis1.1-WS conflict running into
Hallo @all, hello Thomas, i'm still stucking trying to solve the related problem. Its seams to be like jbossn and axis is a tabou on this forum. could you or someone else give me some tipps how to solve this problem? I'll apreciate your help. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991499#3991499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Simple WS causes NullPointerException. Why?? Pl
Hallo, Jboss and Axis seams to be a tabou since no more the actual technologie. But it's important for me to solve this problem. Is there any one hier in the forum who can help solving this issue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991498#3991498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam jsf desgin question
It's normal to split your entity (model) and action beans into different classes. You'll run into problems if you try to put the action methods on entities (e.g. Seam annotations have no effect). With Seam it's up to you whether you use POJOs for action beans or EJB3 Session beans. Or is that not what you are asking? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991497#3991497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Question about Conversations and Stateful Bean Instances
Well the state is stored in the context (conversation, event, session etc). So, if your bean is conversation scoped, the state is stored in the conversation context and there will only be one instance per conversation. As Gavin said, in nested conversations any component in an outer conversation can be seen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991496#3991496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991496 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timer deployment
eclipse is responsible for compiling. the .class files are deployed. using external classes depends on nthe deployment model of your jbpm engine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991495#3991495 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991495 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam configuration questions
2) If set to true that causes embedded ejb3 to be installed. AFAIK omitting that line from components.xml has the same effect as setting it to false 3) Anywhere that is on the classpath for the war. WEB-INF/lib is the standard/simple place to put it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991494#3991494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Unable to start JBOSS server
By the way, I am installed JBOSS 4.0.5.GA and I used the java -jar jems-installer-1.2.0.CR1.jar to install it. Thanks, Jeff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991493#3991493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991493 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Unable to start JBOSS server
Hi Everyone, This is my first time installing and using JBoss. I tried to start jboss via the cmd promp, but I am getting the following erors: _ C:\Program Files\jboss-4.0.5.GA\bin>run.bat JAVA_HOME is not set. Unexpected results may occur. Set JAVA_HOME to the directory of your local JDK to avoid this message. === JBoss Bootstrap Environment JBOSS_HOME: C:\Program Files\jboss-4.0.5.GA\bin\\.. JAVA: java JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli ent.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 CLASSPATH: \lib\tools.jar;C:\Program Files\jboss-4.0.5.GA\bin\\run.jar === Error: no `server' JVM at `C:\Program Files\Java\jre1.5.0_10\bin\server\jvm.dll' . Press any key to continue . . . I have JDK and JRE 1.5.0_10 installed and I am stuck. Can someone please help me? Much appreciated, Jeff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991492#3991492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Timer deployment
Hello: I have a process with a timer, and I wonder how to deploy the class that implements ActionTimer. Is it enough to select the class from GPD and then deploy it along with the process?. Who is responsible for compiling the class (since you only deploy the .java, or at least that what I suppose). My case is very simple, since the jars needed for my class are already in the app server but, what if the class depends on some jar, how do I include this jar with the process deployed? Thanks in advance. Regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991491#3991491 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991491 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - new task type using hibernate annotations
i'm trying to create a new node type. for this i'm doing this | | package com.santex.darwin.core.workflow; | | import java.util.Set; | | import javax.persistence.DiscriminatorValue; | import javax.persistence.Entity; | | import org.jbpm.graph.def.Node; | | | /** | * | * @author Juan Giovanolli | * 04/12/2006 | */ | @Entity(name = "activitydefinition") | @DiscriminatorValue("Z") | public class ActivityDefinition extends Node | { | | | | | private String description; | private WorkType workType; | private boolean timeReportRequired; | private TeamType workingTeamType; | private PlanificationType planType; | private EstimationType estimationType; | | private Set possibleFlows; | | /** | * @return the description | */ | public String getDescription() | { | return description; | } | /** | * @param pDescription the description to set | */ | public void setDescription(final String pDescription) | { | description = pDescription; | } | /** | * @return the estimationType | */ | public EstimationType getEstimationType() | { | return estimationType; | } | /** | * @param pEstimationType the estimationType to set | */ | public void setEstimationType(final EstimationType pEstimationType) | { | estimationType = pEstimationType; | } | | /** | * @return the planType | */ | public PlanificationType getPlanType() | { | return planType; | } | /** | * @param pPlanType the planType to set | */ | public void setPlanType(final PlanificationType pPlanType) | { | planType = pPlanType; | } | /** | * @return the possibleFlows | */ | public Set getPossibleFlows() | { | return possibleFlows; | } | /** | * @param pPossibleFlows the possibleFlows to set | */ | public void setPossibleFlows(final Set pPossibleFlows) | { | possibleFlows = pPossibleFlows; | } | /** | * @return the timeReportRequired | */ | public boolean isTimeReportRequired() | { | return timeReportRequired; | } | /** | * @param pTimeReportRequired the timeReportRequired to set | */ | public void setTimeReportRequired(final boolean pTimeReportRequired) | { | timeReportRequired = pTimeReportRequired; | } | /** | * @return the workingTeamType | */ | public TeamType getWorkingTeamType() | { | return workingTeamType; | } | /** | * @param pWorkingTeamType the workingTeamType to set | */ | public void setWorkingTeamType(final TeamType pWorkingTeamType) | { | workingTeamType = pWorkingTeamType; | } | /** | * @return the workType | */ | public WorkType getWorkType() | { | return workType; | } | /** | * @param pWorkType the workType to set | */ | public void setWorkType(final WorkType pWorkType) | { | workType = pWorkType; | } | | | | | } | | Notice that i'm using annotations for declare the new node type. When i'm trying to deploy the project, i'm getting the error below: | 18:58:56,390 INFO [TomcatDeployer] undeploy, ctxPath=/darwin, warUrl=.../tmp/deploy/tmp20419darwin.ear-contents/darwin-exp.war/ | 18:58:56,406 INFO [SessionFactoryImpl] closing | 18:58:56,406 INFO [DriverManagerConnectionProvider] cleaning up connection pool: jdbc:mysql://localhost:3306/darwinapp | 18:58:56,531 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/C:/jboss-4.0.5.GA/server/default/deploy/darwin.ear | 18:58:56,531 INFO [EARDeployer] Undeployed J2EE application: file:/C:/jboss-4.0.5.GA/server/default/deploy/darwin.ear | 18:58:56,546 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.5.GA/server/default/deploy/darwin.ear | 18:58:57,796 INFO [Ejb3Deployment] EJB3 deployment time took: 109 | 18:58:58,453 INFO [Ejb3Deployment] EJB3 deployment time took: 657 | 18:58:58,468 INFO [JmxKernelAbstraction]
[jboss-user] [JBoss Portal] - Re: Can't use MySQL with Portal 2.4
Take a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=AvoidMySQL5DataTruncationErrors View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991488#3991488 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991488 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam jsf desgin question
Hello, i just posted on the myfaces mailing list on jsf application design and package structure The most people the use this approach: 1) The managed bean (seam component) contains the action methods for itself (explanation "course they are tied together") I noticed the seam example applications use a different approach 2) The managed bean(seam component) is a pojo (maybe also an entity bean) and the Actions for it are seperated in 2 files - an interfaces marked local and the implementation for it To show some code to show the different approaches, i choose the seam registration example Approach 1) | public class User implements Serializable { | //properties | | //action method | public String register(); | } | - Approach 2) | public class User implements Serializable { |//properties | } | | @Local | public interface Register | { | //action method | public String register(); | } | | public class RegisterAction implements Register | { |//action method implementation |public String register() |{ | |} | | } | So what approach should i choose (currently using approach2 but thinking about switching to 1) Are there any technical drawback on approach 1) ? Thank your very much for your help , its a very important decision i have to make(also influences the package structure). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991489#3991489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: redeployment in jboss 5.0 beta 1
Same problem here, and it takes forever to restart. Help anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991487#3991487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Streaming over Webservices
Have a look at WS-Eventing, this might address your use case. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991486#3991486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: The problem with @WebServiceRef
Its A Please do a little research on JavaEE5 app clients View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991485#3991485 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Failed to read schema document
Hi folks, I'm getting an error when trying to deploy an application that contains some Spring config files with XSD declarations in them. I'm sure the declaration is correct, the files are definitely accessible online and I don't have any problem parsing the same config file in a standalone application. I'm using JBoss 4.0.5. This is the beginning of the XML file that is causing the error: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:aop="http://www.springframework.org/schema/aop"; xmlns:tx="http://www.springframework.org/schema/tx"; xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd";> This is the beginning of the stack trace I get: org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/tx/spring-tx-2.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.warning(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:77) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:405) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:168) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:79) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:292) at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:92) at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:77) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) I'm sure I must be missing something really simple because I couldn't find anyone else having the same problem. But its got me beat so far. Thanks in advance for any help. Kevin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991482#3991482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jboss WS configuration on JBoss 4.0.5 - Security excepti
So you unziped jboss-4.0.5.GA.zip from sourceforge. Then what? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991481#3991481 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Login.jsp
Hi all, I am trying to see if it is possible to bring the login.jsp as the first page that comes up when you open the portal in the browser. Does anyone knows where can I configure this? Thanks! Mariella. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991477#3991477 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Using Axis SAAJ Implementation instead of JBossWS
Please create testcases for your interop issues and contribute them to the code base. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991478#3991478 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991478 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jbossws-1.0.4 build/test problem
I havn't seen this | [EMAIL PROTECTED] ~]$ ant -version | Apache Ant version 1.6.5 compiled on June 2 2005 | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991479#3991479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS 2.0 CR2
Yes, please post here. service endpoints need to be stateless, maybe thats the issue. If it is, you might want to contribute a simple patch that produces a meaningful error message View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991475#3991475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Extension point for Transactions
why not simply use an event on the transition and set a processvariable. Even more backwards compatible and not that different. The reason I mention this is that there are so many usecases wich can be solved by extending jPDL but also by using the actions on events. extending jPDL is not that trivial and Tom is (for good reason) hasitant to do this in minor releases. There are some changes on the roadmap for 4.0 but not sure if this will be one of them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991474#3991474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSTOOLS BUG error resolving component
Please monitor this issue http://jira.jboss.org/jira/browse/JBWS-1411 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991473#3991473 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991473 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Usage of single quotes in Namespace declarations
There is not. However, this should be relatively easy to implement and I encourage you to contribute the feature. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991471#3991471 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how to find processInstances by initiator?
uuhhh surprise. You couldn't find a method for this because there is none. You have to implement a hql for this yourself View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991472#3991472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: tomcat server.xml not supporting custom default prop val
wth? don't know what happened to that post. resubmitting I did a search on this and couldn't find anything on it. In jboss-service.xml, you can define values via properties like this: ${my.prop:123} where the value will be 123 iff my.prop property is not explictly set. However, this syntax does not seem to work on JBossAS 4.0.5 within the jbossweb-tomcat55.sar's server.xml. If I use ${my.prop} in server.xml, it works fine. But if I define a default value like ${my.prop:123}, it doesn't work - the value becomes literally ${my.prop}. Wondering if its just me or if its a known issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991469#3991469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - part deux: tomcat server.xml not supporting custom default p
something whacked out my last posts on this... I'm resubmitted as a new thread. --- I did a search on this and couldn't find anything on it. In jboss-service.xml, you can define values via properties like this: ${my.prop:123} where the value will be 123 iff my.prop property is not explictly set. However, this syntax does not seem to work on JBossAS 4.0.5 within the jbossweb-tomcat55.sar's server.xml. If I use ${my.prop} in server.xml, it works fine. But if I define a default value like ${my.prop:123}, it doesn't work - the value becomes literally ${my.prop}. Wondering if its just me or if its a known issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991470#3991470 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - tomcat server.xml not supporting custom default prop values
I did a search on this and couldn't find anything on it. In jboss-service.xml, you can define values via properties like this: ${my.prop:123} where the value will be 123 iff my.prop property is not explictly set. However, this syntax does not seem to work on JBossAS 4.0.5 within the jbossweb-tomcat55.sar's server.xml. If I use ${my.prop} in server.xml, it works fine. But if I define a default value like ${my.prop:123}, it doesn't work - the value becomes literally ${my.prop). Wondering if its just me or if its a known issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991467#3991467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - javaassist perm gen leak
I see that this issue is resolved in jboss-4.0.5-SP1 which is rather nice, but i cant find the SP1 release anywhere. Does anyone know where to get. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991466#3991466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: java.lang.UnsupportedOperationException when connecting
This is probabably a classpath issue. Make sure your SAAJ implementation comes from jboss-saaj.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991465#3991465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Couldn't find SOAPException in JBossWS 1.0.4 (jdk1.5)
jboss-saaj.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991464#3991464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: java.lang.NoSuchMethodError: javax.jws.WebService.portNa
Heitor, The message "Trying to install an already registered mbean" is telling me that you managed to get two copies of one of the jars in your lib directory. Double check that all of the files you installed when over the top of the files they should have. Steve View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991462#3991462 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [The Lizzard's corner] - Re: On the quality of user posts.
You really are one arrogant prick aren't you? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991463#3991463 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: java.lang.UnsupportedOperationException when connecting
"tobinibot" wrote : Couple more details. I'm working with 2 other guys on a project. I wrote a basic web service and deploying on my machine. All 3 of us can successfully hit my web service. | | I then checked the web service into source control, and had the other 2 guys check it out. On one of these guy's computer, it works just fine. All 3 of us can hit his web service. | | When the 3rd guy deploys it, it deploys fine, but none of us can hit his web service (the aforementioned exception is thrown). We used 2 different clients to call the web service (XFire and soapUI) to make sure there wasn't a client generation problem, so it seems like it's something on the server side. I installed his JBoss instance for him, and it's just the same as mine. We can't figure out what's going on. | | Tobin There has to be something different there somewhere. are you sure the 3rd machine isnt running 1.6? if it isnt it might be worth doing a diff between the two servers. Steve. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991460#3991460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: java.lang.UnsupportedOperationException when connecting
"sklerche" wrote : Hi Steve | | I've just started Jboss with jdk 5.0, recompiled my bean accordingly and guess what, everything worked fine! | | I thought jboss should work with all jdk's >= 5.0. | | Anyhow thanks a million! | Stephan It probably should work on 1.6, but then again i would actually consider this a problem with the jdk rather than jboss given it does compile and run on 1.5. Steve. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991461#3991461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: NumberFormatException From StubExt.PROPERTY_CLIENT_TIMEO
How do you set the timeout? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991458#3991458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: NumberFormatException From StubExt.PROPERTY_CLIENT_TIMEO
http://jira.jboss.org/jira/browse/JBWS-1410 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991459#3991459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991459 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Could not create task or type of type: depend.
For those wondering how to get around this... Using YAST I deleted the ant that comes with SUSE and installed the latest from Apache. As instructed, I set up ANT_HOME to point to the new installation, and updated the PATH. Make sure the newly installed ant is being called by running: which ant It's also worth noting that I'm running the latest JDK from Sun, and no the one that ships with Suse 10.1. So, I have the following environment variables set up: JAVA_BINDIR=/usr/local/java/jdk/jdk1.5.0_10/bin JAVA_HOME=/usr/local/java/jdk/jdk1.5.0_10 JAVA_ROOT=/usr/local/java/jdk/jdk1.5.0_10 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991456#3991456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBossCache as a message oriented middleware?
Thanks a lot for both comments, very useful. There are going to be many writers and many readers in our application, so maybe better for us to go for a MoM. Regards, Zoltan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991454#3991454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - problems with EJB3WS invoked from J2ME client
hi all, i wrote an EJB3 webservice and i am tryingn to connect to it using J2ME client written using WTK 2.5 Now, webservice is fine because when i try to connect to it using a java standalone client, everything works fine But wihth J2ME, i receive following exception | javax.xml.rpc.JAXRPCException: java.rmi.MarshalException: (1)Missing end tag for Body or Envelope | at com.sun.j2mews.xml.rpc.SOAPDecoder.decode(+243) | at com.sun.j2mews.xml.rpc.OperationImpl.invoke(+90) | at com.mm.j2me.ws.WSRemoteSEI_Stub.login(+48) | at com.mm.j2me.midp.model.HTTPCommunicationHandler.createAccount(+36) | at com.mm.j2me.midp.model.RemoteModelRequestHandler.createAccount(+16) | at com.mm.j2me.midp.model.RemoteModelProxy.createAccount(+16) | at com.mm.j2me.midp.model.ModelFacade.createAccount(+16) | at com.mm.j2me.midp.ui.UIController$EventDispatcher.run(+277) | Remote exception in invoking WS... | java.lang.ArrayIndexOutOfBoundsException | at com.mm.j2me.midp.model.ModelFacade.createAccount(+31) | at com.mm.j2me.midp.ui.UIController$EventDispatcher.run(+277) | Now, i have seen a similar thread where it was said that J2ME clients are not HTTP1.1 compliant, and the solution suggeste dwas to list the J2ME agent in tomcat\server.xml my tomcat\server.xml looks like this: | | | but still i am getting the exception... can anyone suggest me any workaround? or any solutions? thanks in advance and regards Marco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991452#3991452 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Stateful bean with different tx context-urgent
I'm getting the exact same problem. Anybody has some ideas please? I figured out it could be a solution to synhronize the SFSB instance using a container interceptor in standardjboss.xml. How can I do this? Thanks in advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991450#3991450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Serialization problem of Stateful Session Bean and Seam
I have the following problem and no idea what it means. This exception will be thrown only after the application sits still for a while without being touched by the users. I think the serialization/de-serialization happens, and somehow inbetween it has problem to proceed. By the way I am using DataModel feature of Seam with a stateful session bean. Please shed some light if you have any clue. Appreciated. 12:42:14,113 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception javax.faces.el.EvaluationException: Cannot get value for expression '#{dealadmin.lookupValue.runSta tusDescriptions}' at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:402) at javax.faces.component.UISelectItems.getValue(UISelectItems.java:55) at org.apache.myfaces.shared_impl.util.SelectItemsIterator.hasNext(SelectItemsIterator.java :102) at org.apache.myfaces.shared_impl.renderkit.RendererUtils.internalGetSelectItemList(Rendere rUtils.java:477) at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getSelectItemList(RendererUtils.j ava:453) at org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils.internalRenderSelect(Htm lRendererUtils.java:277) at org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils.renderMenu(HtmlRendererU tils.java:251) at org.apache.myfaces.shared_impl.renderkit.html.HtmlMenuRendererBase.encodeEnd(HtmlMenuRen dererBase.java:54) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536) at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:495) at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:363) at org.apache.jsp.datamng.RunDetails_jsp._jspx_meth_h_selectOneMenu_1(RunDetails_jsp.java:1 910) at org.apache.jsp.datamng.RunDetails_jsp._jspService(RunDetails_jsp.java:473) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain. java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173 ) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java :463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalCo ntextImpl.java:416) at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java :234) at org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:59) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain. java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173 ) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain. java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173 ) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain. java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173 ) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain. java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173 ) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.j ava:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContext
[jboss-user] [JBoss Messaging] - Re: QueueConnectionFactory and TopicConnectionFactory implem
Tim, I have been experimenting with a simple case compiled against the jboss-j2ee .jar with some success. I am beginning to believe the problem lies in the fact we are compiling against a 1.3 j2ee jar and trying to deploy on a different version of the jar. Before I burden you any more with this, I will build out my test case a bit more. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991449#3991449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portlet security constraint tab ignored completely
I'm using JBoss portal version 2.4 and have an issue with the portlet security configuration. For some reason, the security-constraint tag that I have defined in the portlet-instance.xml is being completely ignored. The security configuration for the page in the *-object.xml is : view The security configuration for the portlet in the portlet-instance.xml is : admin view The above configuration is being ignored and the portlet is always accessible to everyone. Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991448#3991448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem w/ quoted fields in generated SQL
I'm able to re-create this error in other parts of our entity model...can I just assume this is a bug? I usually have a hard time getting a reply on this forum...it would be nice if someone could just tell me if this is a known issue and I'll move on to another product. Unfortunately, we've got a huge database from a company our parent co. just purchased and if this doesn't work...I may be stuck w/ Toplink + Glassfish. Is there any hope? A work around? Anything? Thanks again... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991447#3991447 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991447 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam configuration questions
Hey, thanks for the responses: Question 2 should have read the following: What does the above in components.xml do? And is it necessary? Also, regarding your answer to question 3: we can place the JAR anywhere on the classpath, right? (Not necessarily WEB-INF/lib, or is it?) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991444#3991444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Transaction Isolation in Embeddable EJB3
I'm not sure if this is the right place to post this but I have a question about the Embeddable EJB3 Container and setting the datasource's Transaction Isolation Level: Basically, I am trying to test that when we read a record from a database that we have a READ_LOCK on it by setting the Transaction Isolation level to REPEATABLE_READ. Here is what I'm doing in the test: 1) I have a Thread that starts a new transaction and obtains a read lock on a database record. a) The record is created if it does not yet exists (by calling an EJB with REQUIRES_NEW and inserts that record. b) The record is then fetched to obtain a readlock. 2) While holding that readlock, I have another thread that starts a new transaction and tries to update the locked record. 3) The test is basically to check that the updating thread blocks and waits for the locking thread to release the lock before updating the record. I have successfully ran the test in JBOSS Application Server 4.0.4 but on the EmbeddableEJB3 container here is what happens: 1) If I don't have the transaction isolation level set to the datasource, the test fails because the database has a READ_COMMITTED (this is the expected behaviour) 2) If I set the transaction isolation level to REPEATABLE_READ, on the first instance where it tries to insert the record to lock because it doesn't exists yet, my test just hangs and goes into a deadlock situation. This is last entry I get from the logs and I noticed that it doesn't seem to be commiting the transactions began: 4328 DEBUG com.orchestral.component.repository.core.persistence.PersistenceStateManager - PersistenceState was successfully rebuilt. 4328 DEBUG com.orchestral.component.repository.core.persistence.PersistenceStateManager - Initial PersistenceState sucessfully initialised. 4422 TRACE org.jboss.tm.TxManager - began tx: TransactionImpl:XidImpl[FormatId=257, GlobalId=null:1165349215672/1, BranchQual=null:1165349215672, localId=0:1] 4438 INFO com.orchestral.component.repository.core.persistence.domain.metadata.DocumentStorageMetaDataTest - Locking Thread starting... 4438 INFO com.orchestral.component.repository.core.persistence.domain.metadata.DocumentStorageMetaDataTest - Locking Thread -- Retrieving the CoreMetaDataRepositoryBean/local... 4438 INFO com.orchestral.component.repository.core.persistence.domain.metadata.DocumentStorageMetaDataTest - Locking Thread -- Obtaining the lock for the metadata... 4438 DEBUG com.orchestral.component.repository.core.ejb.impl.CoreMetaDataRepositoryBean - Retrieving the storage metadata map... 4531 DEBUG com.orchestral.component.repository.core.ejb.impl.CoreMetaDataRepositoryBean - Obtaining a read lock for Storage metadata with id '9aa74314-9d28-4d6f-bb10-c86966bde8a2'... 4844 TRACE org.jboss.tm.TxManager - suspended tx: TransactionImpl:XidImpl[FormatId=257, GlobalId=null:1165349215672/1, BranchQual=null:1165349215672, localId=0:1] 4844 TRACE org.jboss.tm.TxManager - began tx: TransactionImpl:XidImpl[FormatId=257, GlobalId=null:1165349215672/2, BranchQual=null:1165349215672, localId=0:2] 4844 DEBUG com.orchestral.component.repository.core.ejb.impl.CoreMetaDataRepositoryBean - Creating a new StorageMetaData for item with id '9aa74314-9d28-4d6f-bb10-c86966bde8a2'. 4860 TRACE org.jboss.tm.TxManager - suspended tx: TransactionImpl:XidImpl[FormatId=257, GlobalId=null:1165349215672/2, BranchQual=null:1165349215672, localId=0:2] 4860 TRACE org.jboss.tm.TxManager - began tx: TransactionImpl:XidImpl[FormatId=257, GlobalId=null:1165349215672/3, BranchQual=null:1165349215672, localId=0:3] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991445#3991445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - JMX Decorator for POJOs - suggestion
In regard to this JIRA issue: http://jira.jboss.com/jira/browse/JBMICROCONT-71 ... I have a suggestion: I think that exposing a microcontainer POJO as an MBean, and optionally also making it available in JNDI, would be a farily common thing to do. Thus, I think an ultra-easy way of configuring a POJO to expose itself as so should be available. May I suggest adding 2 new optional attributes to the element? jmx-name and jndi-name? Simply adding them to the bean tag will go ahead and dynamically expose it as an mbean or add it to JNDI, respectively? Example: I think this would be easier for people than a sub element (I remember seeing something like this somewhere for jndi binding in the microcontainer). For JMX, I like it better than a @JMX annotation on the bean also (I saw that someplace too). However, I understand that is more of a matter of opinion/taste... If this has already been suggested then shame on me. :) Thoughts? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991442#3991442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991442 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Can't download the ejb home stub using iiop instead of jnp
I successfully deployed a session bean with both iiop and jnp invoker. In the client, with using jnp, everythings work fine but when using iiop, PortableRemoteObject.narrow() return a null object. Once I put the stub class in the client class path, it works fine. Seems the dynamic downloading of the stub isn't working for iiop. Here's the client code: env.put(InitialContext.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory"); env.put(InitialContext.PROVIDER_URL, "corbaloc::lap-ww:3528/JBoss/Naming/root"); InitialContext context = new InitialContext(env); Object staHomeObj = context.lookup ("myTest/Status"); StatusHome staHome = (StatusHome)javax.rmi.PortableRemoteObject.narrow( (org.omg.CORBA.Object)staHomeObj, StatusHome.class); I have the following jar included in the client class path: $JBOSS_HOMEclient/logkit.jar" "$JBOSSLIB/jacorb.jar" "$JBOSSLIB/commons-logging.jar" "$JBOSSLIB/avalon-framework.jar" With the following client.policy: grant { permission java.security.AllPermission; }; I also inspected the staHomeObject ior string using jacorb's dior, which is matched to the one when jboss startup with the following java code base: http://lap-ww:8083/WebCL[myTest/Status]/ Is anything I have been missed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991441#3991441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: How to change PartitionName
Thanks a lot for your time and patience with a newbie user... Best Regards, José Renato View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991440#3991440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Creating a portlet instance of an unamed portlet
The problem was I did not have the following defined for each portlet: ActiveContent new: Active Content new: Spark Portlet com.fatwire.flame.portlets.MyActiveList the key descriptor is as the portal seems to just not like any portlet without it (they are displayed, but nothing can be done with them) The second descriptor is and while optional it makes sense to have. Thanks, ERIC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991437#3991437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: How to change PartitionName
You don't need to change each occurrence. To change the partition name, pass -Djboss.partition.name= to the server startup. Check this wkik page: http://wiki.jboss.org/wiki/Wiki.jsp?page=ChangeClusterPartitionName Hany Mesha Novell Inc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991435#3991435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam configuration questions
1) ejb-jar.xml should go in my_ejb.jar/META_INF 2) ?? 3) setting debug to true (combined with placing seam-debug.jar WEB-INF/lib) will cause the debug page to be shown when (some) exceptions are thrown. 4) I've never had to include a jndi.properties file in an ear (to JBoss AS) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991433#3991433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problems with ManyToMany with non-existing child entity
Ok, I've figured out the problem. Although i'm a little confused. It appears that if i call em.merge on my non-presisted Object that has child elements that have been persisted every works as expected. Why is this so? - Kevin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991432#3991432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Could not create task or type of type: depend.
When trying to compile JBoss on an AMD64 server running Suse 10.1, I get the following error: ./jboss-4.0.5.GA-src/tools/etc/buildmagic/buildmagic.ent:418: Could not create task or type of type: depend. Any help would be greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991431#3991431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Simple WS causes NullPointerException. Why?? Pl
Hello pkovgan, i found out your thread. Im facing the same problem (Null pointer Exception after invoking an Axis-WS) The Link to my Thread: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=96554. I think the problem is that we run Axis under Jboss. I don't know but it's certain that the Service endpoint implementation generated by the wstool are not compatible with the ws4ee-specification. But i'm also sure someone has already got and lose this problem. May any one know to solve this. Let me know to pkovgan if you have a solution. I'm still investigate. Thanks Bertrand View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991430#3991430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - How to change PartitionName
Hi All, I am trying to change the "DefaultPartition" name but I am experiencing some troubles. I searched for all "DefaultPartition" occurrences in JBoss installation dir: | | server\default\conf\standardjboss.xml:516:28755: ${jboss.partition.name:DefaultPartition} | server\default\conf\standardjboss.xml:677:38382: ${jboss.partition.name:DefaultPartition} | server\default\conf\standardjboss.xml:767:44092: ${jboss.partition.name:DefaultPartition} | server\default\conf\standardjboss.xml:853:49055: ${jboss.partition.name:DefaultPartition} | server\default\conf\standardjboss.xml:941:54154: ${jboss.partition.name:DefaultPartition} | | server\default\deploy\cluster-service.xml:16:754: name="jboss:service=${jboss.partition.name:DefaultPartition}"> | server\default\deploy\cluster-service.xml:19:882: ${jboss.partition.name:DefaultPartition} | server\default\deploy\cluster-service.xml:97:5108: proxy-type="attribute">jboss:service=${jboss.partition.name:DefaultPartition} | server\default\deploy\cluster-service.xml:114:6030: proxy-type="attribute">jboss:service=${jboss.partition.name:DefaultPartition} | server\default\deploy\cluster-service.xml:189:10151: proxy-type="attribute">jboss:service=${jboss.partition.name:DefaultPartition} | | server\default\deploy\deploy-hasingleton-service.xml:24:997: proxy-type="attribute">jboss:service=${jboss.partition.name:DefaultPartition} | | server\default\deploy\farm-service.xml:4:117: name="jboss:service=FarmMember,PartitionName=DefaultPartition"> | server\default\deploy\farm-service.xml:6:192: jboss:service=${jboss.partition.name:DefaultPartition} | server\default\deploy\farm-service.xml:7:275: DefaultPartition | Probably, changing those occurrences are not enough. What I am missing? Can someone lead me a direction? Best Regards, José Renato. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991429#3991429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ManyToMany constraints problem
I've solved my problem which i belive is the same as yours. My solution was to use the em.merge instead of a em.persist. This is weird because my Owner object is new e.g. (has never been persist before). But this works! So basicly i have a check to see if child object has a known ID if so then merge else call persist. - Kevin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991427#3991427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - not able to access sevlet from the jsp page
Hi all, I have web application in which I use a ear file. My servlet classes are in the ear file and not in the webcontainer i.e WEB_INF foldar. When I run this application from my local machine it works like a charm. The jsps can access this servlet but when I move my application to the server, the jsps cannot access the servlet and I get 404 erro which says file not found. Is it mandatory that the servlet classes should be in the WEB-INF folder? I will apprecitate any help reg. this View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991425#3991425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user