[JBoss-user] [Persistence CMP/JBoss] - throws javax.ejb.CreateException, causedBy:java.lang.Illegal
hello all, when i am calling the create method of an cmp bean in a session bean ia mgetting the following kind of error, it is sure thet there is no mistake in the code and in settings for connection with MS SQL server. now can some one tell me what is the reason of problem. 11:17:51,484 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121) 11:17:51,484 ERROR [LogInterceptor] TransactionRolledbackLocalException in method: public abstract au.com.chimo.nextidserver.entities.LocalNextIDUser au.com.chimo.nextidserver.entities.LocalNextIDUserHome.create() throws javax.ejb.CreateException, causedBy: java.lang.IllegalStateException: createBeanClassInstanceCommand == null at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createBeanClassInstance(JDBCStoreManager.java:560) at org.jboss.ejb.plugins.CMPPersistenceManager.createBeanClassInstance(CMPPersistenceManager.java:124) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createBeanClassInstance(CachedConnectionInterceptor.java:247) at org.jboss.ejb.EntityContainer.createBeanClassInstance(EntityContainer.java:224) at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:146) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:96) 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(AbstractTxInterceptor.java:109) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:126) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:99) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508) at org.jboss.ejb.Container.invoke(Container.java:891) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:342) at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118) at $Proxy57.create(Unknown Source) at au.com.chimo.nextidserver.impl.AdminNextIDServiceImplBean.registerUser(Unknown Source) at au.com.chimo.nextidserver.impl.AdminNextIDServiceImplBean.registerUser(Unknown Source) 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.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113) at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:122) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624) at org.jboss.ejb.Container.invoke(Container.java:870) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:82) at $Proxy105.registerUser(Unknown Source) at au.com.chimo.nextidserver.service.AdminNextIDServiceBean.registerUser(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss transactions for LDAP
Thanks for the reply. Unfortunately bdb is not a relational db, and it does not provide a jdbc driver. I guess I just won't be able to use jboss in this case. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875370#3875370 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875370 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBoss Portal and existing web applications
That is a great idea. Hope it will succeed. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875371#3875371 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875371 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: [WebDav] Copying a file to another directory
Yes, it should... but it does not :( I resolved the fact... The javascript logged an error (copyform is not defined) for that function function fillform(val) { copyform.copytopath.value = val; copyform.showcopytopath.value = val; } Because I was using Mozilla Firefox and not IE... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875375#3875375 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875375 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Some problems with the optimistic locking strategy.
I am trying to use org.jboss.ejb.plugins.lock.JDBCOptimisticLock in the Standard CMP 2.x EntityBean container configuration with commit option ?A? in conjunction with optimistic read or modified locking strategy tags of the entity beans in jbosscmp-jdbc.xml. If I do not define any strategy then all seems well, As soon as I define one of the optimistic read or modified strategies the I get exceptions. When specifying the read strategy: optimistic-locking read-strategy/ /optimistic-locking in the entity beans tags in jbosscmp-jdbc.xml I get an exception thrown: 2005-04-24 11:39:21,546 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract void javax.ejb.EJBLocalObject.remove() throws javax.ejb.RemoveException,javax.ejb.EJBException, causedBy: java.sql.SQLException: ORA-00932: inconsistent datatypes: expected - got BLOB at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093) at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047) at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589) at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeUpdate(CachedPreparedStatement.java:63) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:335) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:136) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.storeEntity(JDBCStoreManager.java:651) at org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:369) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity(CachedConnectionInterceptor.java:394) at org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:693) at org.jboss.ejb.GlobalTxEntityMap$2.synchronize(GlobalTxEntityMap.java:134) at org.jboss.ejb.GlobalTxEntityMap$GlobalTxSynchronization.synchronize(GlobalTxEntityMap.java:253) at org.jboss.ejb.GlobalTxEntityMap.synchronizeEntities(GlobalTxEntityMap.java:166) at org.jboss.ejb.EntityContainer.synchronizeEntitiesWithinTransaction(EntityContainer.java:119) at org.jboss.ejb.EntityContainer.remove(EntityContainer.java:496) When specifying the modified strategy: optimistic-locking modified-strategy/ /optimistic-locking The error (at a totaly different location in the application changes to: 2005-04-24 11:59:04,031 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract com.ascom.opentas.as.element.internal.entitybeans.Simpleattribute com.ascom.opentas.as.element.internal.entitybeans.SimpleattributeHome.findAttribute(java.lang.Long,java.lang.String) throws javax.ejb.FinderException, causedBy: javax.ejb.EJBException: Update failed. Expected one affected row: rowsAffected=0, id=7191 at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:155) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.storeEntity(JDBCStoreManager.java:651) at org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:369) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity(CachedConnectionInterceptor.java:394) at org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:693) at org.jboss.ejb.GlobalTxEntityMap$2.synchronize(GlobalTxEntityMap.java:134) at org.jboss.ejb.GlobalTxEntityMap$GlobalTxSynchronization.synchronize(GlobalTxEntityMap.java:253) at org.jboss.ejb.GlobalTxEntityMap.synchronizeEntities(GlobalTxEntityMap.java:166) at org.jboss.ejb.EntityContainer.synchronizeEntitiesWithinTransaction(EntityContainer.java:119) at org.jboss.ejb.EntityContainer.findSingleObject(EntityContainer.java:1040) at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:627) Could anyone help me out here. What am I doing wrong. We currently are using jboss-3.2.6RC2 (with JRE 1.4.2_07) together with Oracle9i as DB Thanks for any suggestion. Christian Percy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875377#3875377 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875377 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on
[JBoss-user] [Nukes User] - TransactionRolledbackLocalException in Home.create() throws
Hello All Following is the error stack trace , caused when I try to access home's create method usiong CMP Entity bean . Also it is unable to invoke finder method. I think there is Connectivity with SQL Server as it create following table in MS SQL SERVER 2000. 1.TIMERS 2. HILOSEQUENCES 3. JMS_USERS The error stack trace : 13:15:47,906 ERROR [LogInterceptor] TransactionRolledbackLocalException in method: public abstract au.com.chimo.nextidserver.entities.LocalNextIDUser au.com.chimo.nextidserver.entities.LocalNextIDUserHome.create() throws javax.ejb.CreateException, causedBy: java.lang.IllegalStateException: createBeanClassInstanceCommand == null at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createBeanClassInstance(JDBCStoreManager.java:560) at org.jboss.ejb.plugins.CMPPersistenceManager.createBeanClassInstance(CMPPersistenceManager.java:124) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createBeanClassInstance(CachedConnectionInterceptor.java:247) at org.jboss.ejb.EntityContainer.createBeanClassInstance(EntityContainer.java:224) at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:146) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:96) 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(AbstractTxInterceptor.java:109) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:126) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:99) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508) at org.jboss.ejb.Container.invoke(Container.java:891) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:342) at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118) at $Proxy57.create(Unknown Source) at au.com.chimo.nextidserver.impl.AdminNextIDServiceImplBean.registerUser(Unknown Source) at au.com.chimo.nextidserver.impl.AdminNextIDServiceImplBean.registerUser(Unknown Source) 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.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113) at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:122) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624) at org.jboss.ejb.Container.invoke(Container.java:870) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:82) at $Proxy105.registerUser(Unknown Source) at au.com.chimo.nextidserver.service.AdminNextIDServiceBean.registerUser(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
[JBoss-user] [Beginners Corner] - Re: application deployment question on Jboss4.0
xgj6688 wrote : But when I call the jsp page from web browser(the jsp page call the stateless session bean's methods), I was told the bean's remote interface and home interface can not be resolved. It seems that when compiling the jsp page to servlet class, the container can not find the bean's remote and home interface. what's the problem. I think I only need to provide necessary xml descriptors to tell the container my EAR, JAR and WAR information,right? | Maybe you could post the top of your stack trace? Again all from my limited understanding. I've only ever heard Home and Remote interfaces being talked about in respect to EJBs this means your bean implements javax.ejb.SessionBean' or another class in the javax.ejb.* family. But it looks like you are trying to access them directly from JSP, maybe I've not gotten onto understanding that yet but the Beans my JSP access are regular Plain Old Java Classes (public class myJspBean'). Inside this class I have code that resolves the JNDI and then executes the EJB Business Method. Just like a test client does. My understanding is that JSP beans are contained within the Servlet container (tomcat), this is not the same container as the EJB container (JBoss). JSP naturally wants to call methods within its own container. If you can execute EJB business methods directly from inside JSP I would be interested to understand that myself. Maybe your problem is due to lack of the supporting classes for EJB ? I generate Home and Remote interfaces with XDoclet from a base Bean, so around 6 classes are generated from my EJB. I wrote SiteLookStateBean all the other classes are generated, both my JAR and WAR have these classes: 611 Mon Apr 25 22:52:50 BST 2005 WEB-INF/classes/uk/co/mydomain/SiteLookState.class | 3145 Mon Apr 25 22:52:50 BST 2005 WEB-INF/classes/uk/co/mydomain/SiteLookStateBean.class |451 Mon Apr 25 22:52:50 BST 2005 WEB-INF/classes/uk/co/mydomain/SiteLookStateHome.class |167 Mon Apr 25 22:52:50 BST 2005 WEB-INF/classes/uk/co/mydomain/SiteLookStateLocal.class |446 Mon Apr 25 22:52:50 BST 2005 WEB-INF/classes/uk/co/mydomain/SiteLookStateLocalHome.class |937 Mon Apr 25 22:52:50 BST 2005 WEB-INF/classes/uk/co/mydomain/SiteLookStateSession.class | 4774 Mon Apr 25 22:52:50 BST 2005 WEB-INF/classes/uk/co/mydomain/SiteLookStateUtil.class | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875391#3875391 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875391 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Jboss Crash while Jasper report calling
hi i got my jboss app. server got crashed when jasper reports has been called. and it throws an exception and got closed. Unexpected Signal: EXCEPTION_ACCESS_VIOLATION (0xc005) occurred at PC=0x80A4F17 Function=JVM_FindSignal+0x1828B Library=C:\Program Files\Java\jre1.4.2\bin\clinet\jvm.dll Thanx in advance venkat View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875392#3875392 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875392 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - jboss.xml
Hello, How to find out if JBoss 4.0.1RS1 picks up jboss.xml or not? The server.log file does not say anything. I am putting the file into the META-INF folder of EJB module of an EAR application... But I do not think JBoss sees it because I am having problems with MDBs. Thanks, Kirill. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875395#3875395 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875395 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - schema name in hibernate-service.xml.
Im trying to setup hibernate as a service injboss 4.0.1 (db2) Is there a way to specify schema name in hibernate-service.xml? I have hibernate-service.xml as follows. java:/DLWSDS net.sf.hibernate.dialect.DB2Dialect java:/hibernate/SessionFactory net.sf.hibernate.cache.HashtableCacheProvider !-- create-drop -- The error i get is Caused by: com.ibm.db2.jcc.b.SQLException: IFMXSQL.CUSTOMER is an undefined n me. at com.ibm.db2.jcc.b.ce.e(ce.java:1093) at com.ibm.db2.jcc.b.ce.a(ce.java:869) at com.ibm.db2.jcc.a.bd.g(bd.java:125) at com.ibm.db2.jcc.a.bd.a(bd.java:40) at com.ibm.db2.jcc.a.r.a(r.java:31) at com.ibm.db2.jcc.a.bp.g(bp.java:141) at com.ibm.db2.jcc.b.ce.h(ce.java:853) at com.ibm.db2.jcc.b.cf.G(cf.java:1185) at com.ibm.db2.jcc.b.cf.a(cf.java:1497) at com.ibm.db2.jcc.b.cf.executeQuery(cf.java:303) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuer (WrappedPreparedStatement.java:296) at net.sf.hibernate.impl.BatcherImpl.getResultSet(BatcherImpl.java:87) at net.sf.hibernate.loader.Loader.getResultSet(Loader.java:875) at net.sf.hibernate.loader.Loader.doQuery(Loader.java:269) at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollection (Loader.java:133) at net.sf.hibernate.loader.Loader.doList(Loader.java:1033) at net.sf.hibernate.loader.Loader.list(Loader.java:1024) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854) at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1544) The problem with this is that although IFMXSQL is the username in the datasource. this is not the schema name. This can be set in hibernate, Can anyonepoint me to the dtd for hibernate-service.xml . thanks in advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875340#3875340 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875340 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Synchronization
We have resolved this issue. Kind regards, Robin. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875396#3875396 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875396 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: WebDav problem on Linux
yes, that's it: missing cache-invalidation-service.xml in server\default\deploy thank you for your time. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875332#3875332 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875332 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Connection setting for internal and external access
Hi all, I have a question about connecting the JBoss from an internal and external network. We have a JBoss 4.0.0 on a Linux system (kernel 2.4) with 2 network devices. Now we have computer in our internal network and computer, which should connect the JBoss via our firewall. The connections works. On the firewall there is a forward to the ports 1098, 1099 and (as described in the wiki). But now I have the problem that both, internal and external computers, uses the external ip addresses to connect to our server. As an example: Internal server ip is 192.168.0.1, external 190.190.190.190. If I connect via firewall to jnp://190.190.190.190:1099 I get the connections to 190.190.190.190 on the other prots. If I connect locally to jnp://192.168.0.1:1099 I get the connections to 190.190.190.190 on the other ports. How I have to configure the JBoss server that internal trafic uses the internal ip address and external trafic uses the external ip address. Thanks Marco View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875385#3875385 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875385 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Commit involving database JMS takes too long
We identified the storage of blobs into Sybase as being the determining factor. We moved from JBossMQ to ActiveMQ and this has delivered the performance and scalability we required (through its journal-based persistence backed by Apache/Derby). Kind regards, Robin. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875398#3875398 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875398 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Multiple Message Delivery with ActiveMQ 3.1 / JBoss 4.0.
This issue has been resolved by the ActiveMQ developers in their 3.1 codebase. Kind regards, Robin. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875397#3875397 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875397 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: configuring Connection Pools for Sybase
Hi Adrian Many thanks for this. We switched to the Kodo datasource for other reasons and found that it solved our connection closure issue, but I really appreciate your having taken the time to point me to a JBoss solution. Thanks, Robin. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875400#3875400 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875400 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill
thanks, you are right that there are some problems during deployment, it is always with last entity bean in the ejb-jar.xml, i consulted some people about this, some told me that this is a server bug. but still when i was running the application, application was running and session beans were being instantiated, but during running when executing localuserdatahome.create() this is giving the stack tarce as you saw previously. can you tell me the exact details about the problems and how to avoid them. thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875401#3875401 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875401 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: Expanding JNDI via LDAP
Scott, Thanks for the response. I thought of that (and probably should have mentioned it in my last post). In any regards when I have just this... | attribute name=Properties | java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory | java.naming.provider.url=ldap://myldap-server:389/ou=USER,ou=JMS,ou=Services,o=MyCompany%20Name | /attribute | A start of JBoss via run.sh reveals the following: (a) tcpdump definately shows packets being sent to the ldap server. (Ive also verified I can access the server anonymously via 'JXplorer' (a Java-based LDAP viewer)) (b) The server/default/log/server.log shows the following: | 2005-04-25 08:51:20,369 DEBUG [org.jboss.system.ServiceController] starting service jboss.jndi:service=ExternalContext,jndiName=external/ldap/jboss | 2005-04-25 08:51:20,369 DEBUG [org.jboss.naming.ExternalContext] Starting jboss.jndi:service=ExternalContext,jndiName=external/ldap/jboss | 2005-04-25 08:51:20,389 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Running | 2005-04-25 08:51:20,389 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Disabled, waiting for notification | 2005-04-25 08:51:20,808 DEBUG [org.jboss.naming.ExternalContext] [EMAIL PROTECTED], env={java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, java.naming.provider.url=ldap://myldap-server:389/ou=USER,ou=JMS,ou=Services,o=MyCompany%20Name, jnp.disableDiscovery=true, java.naming.ldap.version=3, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2005-04-25 08:51:20,809 DEBUG [org.jboss.naming.ExternalContext] fullName=external/ldap/jboss | 2005-04-25 08:51:20,810 DEBUG [org.jboss.naming.ExternalContext] parentName=external/ldap | 2005-04-25 08:51:20,816 ERROR [org.jboss.naming.ExternalContext] Starting failed jboss.jndi:service=ExternalContext,jndiName=external/ldap/jboss | javax.naming.ConfigurationException: No valid Context.PROVIDER_URL was found | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1277) | at org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:868) | ...stack trace continues... | Any idea what make of the No valid Context.PROVIDER_URL was found? In the mean time I'll keep searching and post back any further findings. (Just a sec... I noticed something...) Ok, I'm back IF I remove my jnp.disableDiscovery=true from the jndi.properties I no longer get the Context.PROVIDER_URL issue, but I'm back to the socket time-out. As mentioned I'll keep trying, but any insight/suggestions a JBoss guru may have will be met with showers of praise and thanks :) Regards, Tfsquare View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875282#3875282 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875282 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Daemons and clustering
What you need is a HA-Singleton. Check the wiki for that documentation. -Ben View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875360#3875360 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875360 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss clustering with non clustered Win2003 servers
Yes. -Ben View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875359#3875359 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875359 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - TransactionRolledbackLocalException in method: public abstra
Hello All Following is the error stack trace , caused when I try to access home's create method usiong CMP Entity bean . Also it is unable to invoke finder method. I think there is Connectivity with SQL Server as it create following table in MS SQL SERVER 2000. 1.TIMERS 2. HILOSEQUENCES 3. JMS_USERS The error stack trace : 13:15:47,906 ERROR [LogInterceptor] TransactionRolledbackLocalException in method: public abstract au.com.chimo.nextidserver.entities.LocalNextIDUser au.com.chimo.nextidserver.entities.LocalNextIDUserHome.create() throws javax.ejb.CreateException, causedBy: java.lang.IllegalStateException: createBeanClassInstanceCommand == null at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createBeanClassInstance(JDBCStoreManager.java:560) at org.jboss.ejb.plugins.CMPPersistenceManager.createBeanClassInstance(CMPPersistenceManager.java:124) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createBeanClassInstance(CachedConnectionInterceptor.java:247) at org.jboss.ejb.EntityContainer.createBeanClassInstance(EntityContainer.java:224) at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:146) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:96) 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(AbstractTxInterceptor.java:109) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:126) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:99) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508) at org.jboss.ejb.Container.invoke(Container.java:891) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:342) at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118) at $Proxy57.create(Unknown Source) at au.com.chimo.nextidserver.impl.AdminNextIDServiceImplBean.registerUser(Unknown Source) at au.com.chimo.nextidserver.impl.AdminNextIDServiceImplBean.registerUser(Unknown Source) 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.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113) at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:122) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624) at org.jboss.ejb.Container.invoke(Container.java:870) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:82) at $Proxy105.registerUser(Unknown Source) at au.com.chimo.nextidserver.service.AdminNextIDServiceBean.registerUser(Unknown Source) 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.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
[JBoss-user] [Installation Configuration] - Isolated Classloaders and XML Parsers
I followed the instructions on the wiki to use scoped and isolated classloaders for log4j separation. I am stuck on the following problem, and I can't seem to get around it...any help would be much appreciated. I'm using JBoss 3.2.3 (have to use this version, unfortunately) on WinXp. My application is an ear with both WARs and ejb jars. With isolated classloaders, on application startup, my version of log4j tries to initialize via a startup servlet. I get a NoClassDefFound error on org/w3c/document/Document. Figuring that isolated classloading means that I need to package the xml parser in my ear, I then put xml-apis.jar and xercesImpl.jar in my ear, and updated all of my Manifest.mf files to have them in their class path. (I'm using the same exact version of the xml jars as was distributed with 3.2.3). When I repackage the ear and start JBoss, I get the following exception: anonymous wrote : 2005-04-25 12:41:58,729 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/C:/jboss-3.2.3/server/te-1.9.2.0.229/tmp/deploy/tmp26480transactionware-enterprise-head-office-server.ear-contents/transactionware-enterprise-configurator-web.war | | 2005-04-25 12:41:58,759 WARN [org.jboss.util.NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException | | 2005-04-25 12:41:58,759 WARN [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Failed to parse descriptors for war(file:/C:/jboss-3.2.3/server/te-1.9.2.0.229/tmp/deploy/tmp26480transactionware-enterprise-head-office-server.ear-contents/transactionware-enterprise-configurator-web.war/) | | org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/web.xml; - nested throwable: (org.jboss.deployment.DeploymentException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl; - nested throwable: (java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl)) | | at org.jboss.web.AbstractWebContainer.parseMetaData(AbstractWebContainer.java:980) | | at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:425) | | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) | | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824) | | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) | | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) | | at java.lang.reflect.Method.invoke(Native Method) | | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | | at $Proxy6.deploy(Unknown Source) | | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) | | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476) | | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) | | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274) | | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) | | at java.lang.reflect.Method.invoke(Native Method) | | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) | | at $Proxy0.start(Unknown Source) | | at org.jboss.system.ServiceController.start(ServiceController.java:394) | | at java.lang.reflect.Method.invoke(Native Method) | | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | | at $Proxy4.start(Unknown Source) | | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226) | | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) | | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) | | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) | | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589) | | at java.lang.reflect.Method.invoke(Native Method) | | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | | at
[JBoss-user] [JBoss Portal] - Re: WebDav problem on Linux
Hello again, do you need any other info which may be helpful with this problem? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875251#3875251 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875251 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Printing on Cluster
Hi, I get my print service from my Jboss AS. This supplies the printers, which are already installed on this server. As behaves jboss, if I it with cluster on two physically separated server runs. Which printers are supplied from cluster. All installed printers from all servers ? best regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875388#3875388 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875388 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jboss.xml
dlmiles wrote : Create an empty ' inside ... I think the BBCode ate it. Create an empty session/session inside of your enterprise-beans element. It doesn't like that. | Creating test/test just inside jboss it doesn't notice. | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875406#3875406 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875406 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCache memory requirement under Weblogic
That shouled read maxNodes part of the config - this editor does not like xml !! thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875318#3875318 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875318 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill
hello alex, for your reference i am getting the following type of message during deployment, the problem is always with last bean in the ejb-jar.xml, i even canged the order of some beans in the ejb-jar.xml, the problem was always with last bean, according to my investigations thiswas a server bug. 16:26:00,156 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.1sp1/server/nextIDserver/deploy/cmx.ear 16:26:07,296 INFO [EjbModule] Deploying NextIDUserEJB 16:26:07,500 INFO [EjbModule] Deploying NextIDLogoEJB 16:26:07,500 INFO [EjbModule] Deploying NextIDUserDataEJB 16:26:07,531 INFO [EjbModule] Deploying NextIDTransformEJB 16:26:07,531 INFO [EjbModule] Deploying NextIDSymbolEJB 16:26:07,546 INFO [EjbModule] Deploying NextIDSheetEJB 16:26:07,546 INFO [EjbModule] Deploying NextIDBaseEntityEJB 16:26:07,562 INFO [EjbModule] Deploying NextIDDispatchEJB 16:26:07,562 INFO [EjbModule] Deploying NextIDLogEJB 16:26:07,578 INFO [EjbModule] Deploying NextIDServiceEJB 16:26:07,609 INFO [EjbModule] Deploying NextIDBaseEJB 16:26:07,640 INFO [EjbModule] Deploying AdminNextIDServiceEJB 16:26:07,640 INFO [EjbModule] Deploying NextIDServiceImplEJB 16:26:07,656 INFO [EjbModule] Deploying AdminNextIDServiceImplEJB 16:26:07,656 INFO [EjbModule] Deploying ConfigNextIDServiceEJB 16:26:07,671 INFO [EjbModule] Deploying ConfigNextIDServiceImplEJB 16:26:07,671 INFO [EjbModule] Deploying NextIDConstantsEJB 16:26:08,531 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=local/NextIDLogEJB,service=EJB java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadLoadGroups(JDBCEntityBridge.java:1018) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.resolveRelationships(JDBCEntityBridge.java:286) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875404#3875404 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875404 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - TreeCache fails when the PartitionName is changed.
I'm running two jboss servers with the following systems: 10:14:29,144 INFO [ServerInfo] Java version: 1.5.0_02,Sun Microsystems Inc. 10:14:29,144 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_02-b09,Sun Microsystems Inc. 10:14:29,145 INFO [ServerInfo] OS-System: Linux 2.6.5-7.97-default,i386 When I try to access the application I get the error below. I don't recieve any error if one of the machines is disabled. 13:42:31,953 ERROR [RpcDispatcher] failed invoking method java.lang.UnsupportedOperationException: rollback() should not be called on TreeCache directly at org.jboss.cache.TreeCache.rollback(TreeCache.java:2787) 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:585) at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:236) at org.jboss.cache.interceptors.CallInterceptor.invoke(CallInterceptor.java:37) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40) at org.jboss.cache.interceptors.LockInterceptor.invoke(LockInterceptor.java:126) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40) at org.jboss.cache.interceptors.CreateIfNotExistsInterceptor.invoke(CreateIfNotExistsInterceptor.java:47) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40) at org.jboss.cache.interceptors.ReplicationInterceptor.replicate(ReplicationInterceptor.java:210) at org.jboss.cache.TreeCache._replicate(TreeCache.java:2733) 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:585) at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:236) at org.jgroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:220) at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:615) at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:512) at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:326) at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUp(MessageDispatcher.java:722) at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.access$300(MessageDispatcher.java:554) at org.jgroups.blocks.MessageDispatcher$1.run(MessageDispatcher.java:691) at java.lang.Thread.run(Thread.java:595) any ideas? Thanks in advance -- Andy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875323#3875323 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875323 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - What does the sync-on-commit-only do.
On some container types there is a sync-on-commit-only option that is not documented and which is always set to false in the container configurations in standardjboss.xml). What does it do exactly. When do I need to put it to true in my container configuration. (I checked the source and the default value is false, so in the container definitions in server\default\conf\standardjboss.xml where it is defined in some configurations, it always confirms the default hard coded false) Thanks for any information Percy Christian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875379#3875379 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875379 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Microsoft .NET interop.
The documentation is out-of-date, they are supporting rpc/literal. Earlier versions used to error say that rpc/literal wasn't support. IMO though, unless you want to run beta software on the client, use doc/literal. -Jason View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875310#3875310 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875310 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting Started Guide - release 3
Yes, the tutorial works. Use the the latest version at docs.jboss.org with the update 4 of the Sun J2EE tutorial. Everything works. I've installed and run the examples dozens of times. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875322#3875322 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875322 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jboss.xml
Done that, no errors reported. obviously, JBoss does not see the file... I tried putting it into the META-INF of the EAR module but to no avail :( View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875403#3875403 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875403 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCache memory requirement under Weblogic
Where is the limit defined for 'full population' of the cache - is it the 100 part of the config thanks Joe View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875317#3875317 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875317 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: cannot load wsdl files
Upgrade to RC 4.0.2 where the http://jira.jboss.com/jira/browse/JBWS-128 was fixed though it was not clear in the bug annotations. Note, the RC is not recommended for production. -L View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875326#3875326 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875326 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: build on jboss-forums-2.0-beta1a
sorry julien.i cannot to try cvs because at work we have under a firewall...but I tried to move the directory forums under the JBOSS_PORTAL_HOME and it has gone aheadbut now I have an other problem..I give you the build log: bash-2.05$ ./build.sh | build.sh: *WARNING* Ignoring environment value for $ANT_HOME | build.sh: Executing: /home/stancapi/sources/jboss-portal-2.0-beta1-src/tools/bin/ant -logger org.apache.tools.ant.NoBannerLogger | Buildfile: build.xml | | _buildmagic:init: | Trying to override old definition of task property | | BUILD FAILED | file:/home/stancapi/sources/jboss-portal-2.0-beta1-src/forums/../tools/etc/buildfragments/buildmagic.ent:116: Reference dbunit.dbunit.classpath not found. | | Total time: 7 seconds View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875380#3875380 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875380 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WSSecureEndpoint. SOS
Secure transport should work for EJB and Java endpoints likewise. This has been verified by Sun's compatibility test suite (CTS) Is your issue not beeing able to fetch the WSDL from the secured web context or do you experience problems with secure SOAP message transport? In the first case you could make the WSDL available at an unsecured context or give it to the client directly so it would not need to fetch it from the server every time you create a Service object. In the second case, please provide a sample deployment and create a JIRA issue - this stuff should work. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875264#3875264 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875264 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill
The application didn't deploy properly and there was an exception logged showing the details why. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875390#3875390 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875390 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: application deployment question on Jboss4.0
let's make the question simple I write a jsp page, and a helper class named test.class, I put the class into the web-inf/classes folder In the jsp page, I want use the test.class. but when I import the class in the jsp page: @ page import=test %, I was told the import test can not be resolved. How can I invoke my helper class in my jsp page?Why Jboss told me the helper class can not be resolved? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875349#3875349 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875349 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Using wscompile for doc/lit
Another option is, to start of with a req/res structures in your SEI and do the unwrapping in your impl code. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875383#3875383 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875383 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Microsoft .NET interop.
Well, I was able to create a C# client to a basic rpc/literal service that just returned a String. No complex types, or exceptions... using .NET 2.2 and Visual C# 2005 express edition beta 2. But I keep running into stumbling blocks... what you said about exceptions has me worried, I haven't played with that yet in .NET, so that sounds like it will also be a pain in the butt! I already tried to sneak into my design that .NET clients would not be supported, unfortunately that didn't fly, so I have to figure out a way to support them somehow :-( View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875299#3875299 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875299 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Pool connection closure problem on Non JDBC resource Adpter?
Hello All, I succeed to deploy a non jdbc resource adapter, but unfortunately I've encountered pool connection closing problems. In fact after Managed Connection allocation, the Connection is never closed even if it is not used since ages. I'm sure that it is a configuration problem but I'm not able to solve it. Can somebody help me? - Conf files --- *-ds.xml ?xml version=1.0 encoding=UTF-8? !-- The Service Data Point resource adaptor service configuration. -- connection-factories no-tx-connection-factory jndi-nameSDP1_DS/jndi-name rar-namesdp-ra.rar/rar-name connection-definitionjavax.resource.cci.ConnectionFactory/connection-definition adapter-display-nameSDP Connection Factory/adapter-display-name min-pool-size0/min-pool-size max-pool-size2/max-pool-size blocking-timeout-millis5000/blocking-timeout-millis idle-timeout-millis50/idle-timeout-millis config-property name=HostName type=java.lang.Stringpollux/config-property config-property name=HostIP type=java.lang.String172.17.100.146/config-property config-property name=PortNumber type=java.lang.Integer6013/config-property config-property name=TimeOut type=java.lang.Integer5/config-property config-property name=RetryActivated type=java.lang.Booleantrue/config-property config-property name=RetrySleepTime type=java.lang.Integer1500/config-property config-property name=MaxRetryCount type=java.lang.Integer3/config-property /no-tx-connection-factory /connection-factories ra.xml ?xml version=1.0 encoding=UTF-8? connector xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd; version=1.5 display-nameService Data Point resource adapter/display-name vendor-nameXXX/vendor-name eis-typeTCPIP/eis-type resourceadapter-version1.0/resourceadapter-version LGPL license-requiredfalse/license-required resourceadapter-classorg.jboss.resource.deployment.DummyResourceAdapter/resourceadapter-class outbound-resourceadapter connection-definition managedconnectionfactory-class fr.xxx.ppd.mtools.ra.spi.SDPManagedConnectionFactory /managedconnectionfactory-class config-property config-property-nameHostName/config-property-name config-property-typejava.lang.String/config-property-type /config-property config-property config-property-nameHostIP/config-property-name config-property-typejava.lang.String/config-property-type /config-property config-property config-property-namePortNumber/config-property-name config-property-typejava.lang.Integer/config-property-type /config-property config-property config-property-nameTimeOut/config-property-name config-property-typejava.lang.Integer/config-property-type /config-property !-- retry parameters -- config-property config-property-nameRetryActivated/config-property-name config-property-typejava.lang.Boolean/config-property-type /config-property config-property config-property-nameMaxRetryCount/config-property-name config-property-typejava.lang.Integer/config-property-type /config-property config-property config-property-nameRetrySleepTime/config-property-name config-property-typejava.lang.Integer/config-property-type /config-property connectionfactory-interfacejavax.resource.cci.ConnectionFactory/connectionfactory-interface connectionfactory-impl-classfr.xxx.ppd.mtools.ra.cci.SDPConnectionFactory/connectionfactory-impl-class connection-interfacejavax.resource.cci.Connection/connection-interface connection-impl-classfr.xxx.ppd.mtools.ra.cci.SDPConnection/connection-impl-class /connection-definition transaction-supportNoTransaction/transaction-support authentication-mechanism
[JBoss-user] [JBoss Portal] - Re: [WebDav] Copying a file to another directory
sovattha wrote : Actually, the problem is that the input which name is showmovetopath, comes disabled. | When the form is sent, the value inside remains blank. | So that is why we have a null pointer exception after posting (or even cancelling). | | So my question is : how to enable it ? Ok. You need to select the destination directory from the tree browser on the right of the portlet. So click on a foldername, and it should populate the showmovetopath field. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875301#3875301 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875301 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: TreeCache fails when the PartitionName is changed.
What version of JBossCache is this? You can try to download the latest one JBossCache1.2.2 and replication jboss-cache.jar under all/lib to see if that helps. -Ben View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875356#3875356 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875356 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Array element type mismatch error while accessing array
It looks like for some reason the arraydeserializer is being used instead of beandeserializer. Are you using a ws4ee-deployment.xml file? If you are, make sure the serializer and deserializer are set to the following:' serializer='org.apache.axis.encoding.ser.BeanSerializerFactory' deserializer='org.apache.axis.encoding.ser.BeanDeserializerFactory' In most cases though, you won't need this file, so alternatively you can delete. If you are not using a ws4ee-deployment.xml file could you look in your $JBOSS_HOME/data/[webservice deployment]/[port component].wsdd and paste the type mapping. Thanks, -Jason View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875348#3875348 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875348 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Optimized loading.
From what I read in the manual the on_find will load me all the matched records, which may be a lot or even to much, therefore there is the on_load which only loads the page_size specified number of records. But in all the examples the on_find also has the page_size tag so now I am lost. Is this tag superfluous in case of on_find or are there other differences. Is there a different meaning for on_find and on_load when specified by a ejbfindBy or ejbSelect, and in a relation? Where to specify the read ahead tags on 1..n relations in order to: Load the fields of the related entity bean when accessing the getter from the 1 side. Loading all the entities (and eventually some of there field data) when accessing the getter from the n side. What do I have to specify where? Here is an example which may (hopefully) clarify my question I used XDoclet tags and the resulting xml is at the end. In an Entity Bean (called Leaf) there is a method to retrieve the links from this Leaf /** * * @ejb.interface-method * view-type = local * * @ejb.relation * name = fromLeaf-linkFroms * role-name = LeafLinkFromsRelationshipRole * * @jboss.relation-read-ahead * strategy = on-find * eager-load-group = allFields */ public abstract java.util.Collection getLinkFroms(); The Link class the related to Leaf contains the corresponding method /** * * @ejb.interface-method * view-type = local * * @ejb.relation * name = fromLeaf-linkFroms * role-name = LinkFromLeafRelationshipRole * * @jboss.relation * fk-column = FROMLEAF_PKLEAFID * related-pk-field = pkLeafId * * @jboss.load-group * name = allFields * * @jboss.relation-read-ahead * strategy = on-find * page-size = 1000 * eager-load-group = allFields */ public abstract com.ascom.opentas.as.element.internal.entitybeans.Leaf getFromLeaf(); In my jbosscmp-jdbc.xml file the corresponding entry looks like ejb-relation ejb-relation-namefromLeaf-linkFroms/ejb-relation-name ejb-relationship-role ejb-relationship-role-nameLinkFromLeafRelationshipRole/ejb-relationship-role-name key-fields/ read-ahead on-find page-size1000/page-size eager-load-groupallFields/eager-load-group /read-ahead /ejb-relationship-role ejb-relationship-role ejb-relationship-role-nameLeafLinkFromsRelationshipRole/ejb-relationship-role-name key-fields key-field field-namepkLeafId/field-name column-nameFROMLEAF_PKLEAFID/column-name /key-field /key-fields read-ahead on-find eager-load-groupallFields/eager-load-group /read-ahead /ejb-relationship-role /ejb-relation We currently are using jboss-3.2.6RC2 (with JRE 1.4.2_07) together with Oracle9i as DB Many many thanks for any help, information or suggestion to a person in distress. Percy Christian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875381#3875381 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875381 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Changing Server Configuration Home
Have you tried -Djboss.server.base.dir=...? You can find a list of other location-specific properties in the admin docs: http://docs.jboss.org/jbossas/admindevel326/html/ch01.html#ch1.dirs.fig View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875308#3875308 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875308 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Moving simple JCA CCI adapter (not DataSource) from Weblogic
Hi guys. We're moving our software developed to run on BEA Weblogic 8.1 to JBoss (we're running the latest 4.0.1sp1 and 3.2.6). I've got an EAR, combining a simple JCA Adapter's RAR with Web application' WAR, working fine on Weblogic server. I've got the ra.xml like the following: | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD Connector 1.0//EN' 'http://java.sun.com/j2ee/dtds/connector_1_0.dtd' | | connector | | display-namezJCA Adapter/display-name | vendor-nameBigCompany, LLC/vendor-name | spec-version1.0/spec-version | eis-typeFile Exec/eis-type | version1.0/version | | resourceadapter | managedconnectionfactory-class | zjca.ZManagedConnectionFactory | /managedconnectionfactory-class | | connectionfactory-interface | javax.resource.cci.ConnectionFactory | /connectionfactory-interface | | connectionfactory-impl-class | zjca.ZConnectionFactory | /connectionfactory-impl-class | | connection-interface | javax.resource.cci.Connection | /connection-interface | | connection-impl-class | zjca.ZConnection | /connection-impl-class | | transaction-support | NoTransaction | /transaction-support | | reauthentication-supportfalse/reauthentication-support | /resourceadapter | | /connector | also, I've a Weblogic-specific config named weblogic-ra.xml: | ?xml version=1.0? | !DOCTYPE weblogic-connection-factory-dd PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 Connector//EN' 'http://www.bea.com/servers/wls600/dtd/weblogic600-ra.dtd' | | weblogic-connection-factory-dd | | connection-factory-nameZConnectionFactory/connection-factory-name | jndi-namezjcaAdapter/jndi-name | | /weblogic-connection-factory-dd | I thought that deployment to JBoss can be as easy as with Weblogic, but unfortunetly, it failed. I have already checked the doc, look at the examples, but with no luck. Deploying my EAR gives me nothing more then: anonymous wrote : | 13:18:32,623 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.1sp1/server/default/deploy/zjca.ear | 13:18:34,145 INFO [ResourceAdapter] Registration is not done - stop | 13:18:34,155 INFO [TomcatDeployer] deploy, ctxPath=/zjca, warUrl=file:/C:/jboss-4.0.1sp1/server/default/tmp/deploy/tmp32118zjca.ear-contents/zjca-exp.war/ | 13:18:35,477 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.0.1sp1/server/default/deploy/zjca.ear | I'd be very thankful for any help, as I'm already broke my timeline for move to JBoss AS. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875389#3875389 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875389 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: WebDav problem on Linux
When I'm trying to invoke ip:8080/webdav on linux I have following exception: [org.jboss.web.localhost.Engine] StandardWrapperValve[webdav]: Servlet webdav is currently unavailable [org.jboss.portal.server.impl.invocation.InvocationImpl] Incoming request with id null [org.jboss.portal.core.invocation.ContentTypeInterceptor] Found markup=html_web_4_0, ua=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322), devicedID=goodaccess_ver1_submsiepocketpc [org.jboss.portal.core.invocation.ContentTypeInterceptor] Found mimeType type text/html for markup=html_web_4_0 [org.jboss.portal.server.servlet.CommandServlet] Exception in command invocation org.apache.slide.common.DomainInitializationFailedError: Domain initialization error : Domain.xml (No such file or directory) at org.apache.slide.common.Domain.selfInit(Domain.java:783) at org.apache.slide.common.Domain.getDefaultNamespace(Domain.java:213) at org.jboss.portal.core.portlet.cms.CMSPortlet.getNAT(CMSPortlet.java:292) at org.jboss.portal.core.portlet.cms.CMSPortlet.processAction(CMSPortlet.java:145) at org.jboss.portlet.JBossPortlet.processAction(JBossPortlet.java:228) at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invokeActio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875285#3875285 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875285 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Array element type mismatch error while accessing array of C
Hi, I am getting the following error message from JBoss 4.0.1 sp1 while acessing a method int printTypes(ComplexTypeArray ctr) ERROR [BeanPropertyTarget] Could not convert [Lbb.wseetest1.data.ComplexType; to bean f | s[0]', type [Lbb.wseetest1.data.ComplexType; | ERROR [RPCInvocation] java.lang.IllegalArgumentException: array element type mismatch | egalArgumentException: array element type mismatch | g.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:243) | g.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:305) | g.apache.axis.encoding.ser.ArrayDeserializer.valueComplete(ArrayDeserializer.java:664) | g.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:590) | g.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl | | g.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:252) | g.apache.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:138 | | g.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:436) | g.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextIm | | g.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:244) | g.apache.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:138 | | g.apache.axis.message.RPCElement.deserialize(RPCElement.java:262) | g.apache.axis.message.RPCElement.getParams(RPCElement.java:396) | g.apache.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java I am not sure why this is since the type of the ComplexType element that it is trying to assing to an element of the array, is the same anonymous wrote : [Lbb.wseetest1.data.ComplexType I am successfully able to access a method returning a ComplexType that is not an array, though. Please help. Thanks, Sid. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875342#3875342 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875342 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: how to open new window to display a stream?
I have done something similar with my module which can display images. To display content outside of the nukes theme I override the `process' method instead of using the `op(Page p)' style. The url changes to `/nukes/modules/yourmodule/yourresource' and you parse the url inside the method and then setup the binary resource. Heres part of my code: | public void process(Signature signature, NukesRequest req, | NukesResponse resp) { | if (signature instanceof ModuleResourceSignature) { | ModuleResourceSignature mrs = (ModuleResourceSignature) signature; | String id = mrs.getPath(); | Resource res = null; | if (id.startsWith(/report)) { | byte[] bin = ...; | res = new ByteArrayResource(image/jpeg, bin); // yours would be pdf | res.setName(whatever.jpg); | resourceManager.add(/report/ + name, res); | resp.setResult(new ResourceResult(res)); | } else { | res = getResource(id); | if (res != null) { | resp.setResult(new ResourceResult(res)); | } else { | resp.setResult(CodeResult.CODE_404); | } | } else { | super.process(signature, req, resp); | } | } | To open in a new window use javascript in the href url. Hope this helps. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875306#3875306 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875306 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Migrating from Weblogic 5.1 to JBoss 4.0
i am working on websphere to jboss migration. meanwhile i found the following link for weblogic migration. hope it helps you. http://www.onjava.com/pub/a/onjava/2005/03/09/ejb-migration.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875387#3875387 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875387 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: WebDav problem on Linux
I think this is the reason why CMS is not starting: [org.jboss.system.ServiceCreator] Created bean: portal:service=CMS [org.jboss.system.ServiceController] recording that portal:service=CMS depends on jboss.cache:service=InvalidationManager [org.jboss.system.ServiceConfigurator] considering InvalidationManagerName with object name jboss.cache:service=InvalidationManager [org.jboss.system.ServiceConfigurator] GroupName set to cms in portal:service=CMS [org.jboss.system.ServiceConfigurator] Config set to [slide: null] in portal:service=CMS [org.jboss.system.ServiceController] Creating service portal:service=CMS [org.jboss.system.ServiceController] waiting in create of portal:service=CMS waiting on jboss.cache:service=InvalidationManager View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875328#3875328 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875328 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Update Tomcat on Jboss 3.2.3
Jboss 3.2.3 comes default with Tomcat 4.1.29. I have tried to update Tomcat to Ver. 4.1.31 without success. is it enough to copy the jars from jakarta-tomcat-4.1.31.zip\jakarta-tomcat-4.1.31\server\lib to C:\jboss_v323\server\appname\deploy\jbossweb-tomcat41.sar.Must i do any special configuration in any file ? if yes what are these ? Also i have tried to use Jboss 3.2.5 with Tomcat 4.1.29 or 4.1.31 , but also without success. Any idea ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875271#3875271 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875271 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock
http://jira.jboss.com/jira/browse/JBAS View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875277#3875277 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875277 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Failed to aspectize class org.jboss.cache.TreeCache
That fixes it. Thanks Ben! We're in the process of evaluating jboss-cache as secondary cache of hibernate. So far it (with aop) looks very interesting to us. I may raise more topics to discuss in both jboss-cache and hibernate areas later. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875261#3875261 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875261 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: failed to restore state; stateful session bean
well, the above error is in addition to the following error, which ben said was harmless, but then 18:35:52,921 ERROR [RpcDispatcher] failed invoking method java.lang.UnsupportedOperationException: commit() should not be called on TreeCa che directly at org.jboss.cache.TreeCache.commit(TreeCache.java:2783) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) thanx View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875270#3875270 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875270 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WebService ain't called on jdk5
We just moved cvs, you can get the branch like so: cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss login (no password, hit enter) cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss co -r Branch_4_0 jboss-4.0 -Jason View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875312#3875312 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875312 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Turning off Unified Class loader gives struts error
I have turned off the Unified Class Loader by setting the following values in (information retrieved from Wiki what's new in JBoss 4.0): 1) conf/jboss-service.xml set NamingService CallByValue to true 2) deploy/ear-deployer.xml set Isolated and CallByValue attributes to true. 3) deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml set Java2ClassLoadingCompliance and UseJBossWebLoader to false Now Iam getting: ClassNotFoundException: org.apache.struts.taglib.logic.IterateTei this file is located in the struts.jar file that is in the lib directory. I didn't get this error when I was using the unified class loader why do I get it now and how do I fix the problem HELP View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875420#3875420 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875420 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jboss.xml
I hit that problem too. Break the file, make up a tag element and re-deploy, stand back from the errors, not nice but sheds light on us mushrooms :). Maybe someone knows how to enable logging (maybe it should be on by default) would probably fix many peoples deployment problems if they could see whats going on inside the deployer ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875399#3875399 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875399 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: failed to restore state; stateful session bean
Did you shutdown node1 or node2? -Ben View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875358#3875358 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875358 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - performance EJB Endpoint
Hi, I have some question about the WS4EE performence. In our application we used four different EJB WS4EE Endpoints. After testing the application the average time, from the invocation statistic on the web-console, for the EJB RemoteInterfaces are three to four times higher than the average time of the ws4ee servlet statistics acording to the EJB-Interface. Four times seems to much, we have no complex SOAP-Messages to parse, most messages containing only one BASE64 Encoded byte Stream as content. So I asked: Is it normal that an EJB Endpoint Servlet(I know it is not really a Servlet) response needs fourtimes more responsetime than the according EJB Method ? Some clients have problems with old netinfrastructure. Could it be that the Servlet-Statistic measure from request income to a complete response, so that the nettraffic time of the response to the client is in the statistic? How measure the web-console the Servlet-Statistic? Also welcome are tuningtips. And carpet me if I understand something wrong. thanks dr View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875286#3875286 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875286 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - hot deployment problem when using EJB3 preview 5 and JBoss 4
I am running Windows XP I am using JBoss 4.0.1 SP1 I am using EJB 3.0 Preview 5 I am running the code for the stateful beans that comes with Preview 5 If I deploy when the server is off the code will run If I re-deploy or hot deploy the code produces errors This is the order I do things: 1. Install JBoss 4.0.1 SP1 2. Install EJB 3.0 Preview 5 3. Navigate to tutorial for stateful beans 4. Execute command ant 5. Navigate to JBOSS_HOME 6. Execute command run -c all 7. Navigate back to stateful tutorial folder -Note- I use two screens so I switch screens 8. Execute command ant run 9. I get this: | C:\Projects\Eclipse\Copy of Maverick-3.0\MaverickWebant run | Buildfile: build.xml | | prepare: | | compile: | | ejbjar: | | run: | [java] log4j:WARN No appenders could be found for logger (org.jboss.remotin | g.Client). | [java] log4j:WARN Please initialize the log4j system properly. | [java] Buying 1 memory stick | [java] Buying another memory stick | [java] Buying a laptop | [java] Print cart: | [java] 2 Memory stick | [java] 1 Laptop | [java] Checkout | [java] Should throw an object not found exception by invoking on cart after | @Remove method | [java] Successfully caught no such object exception. | 10. Execute command ant clean 11. Execute command ant run 12. I get this: | C:\Projects\Eclipse\Copy of Maverick-3.0\MaverickWebant run | Buildfile: build.xml | | prepare: | [mkdir] Created dir: C:\Projects\Eclipse\Copy of Maverick-3.0\MaverickWeb\bu | ild | [mkdir] Created dir: C:\Projects\Eclipse\Copy of Maverick-3.0\MaverickWeb\bu | ild\classes | | compile: | [javac] Compiling 3 source files to C:\Projects\Eclipse\Copy of Maverick-3.0 | \MaverickWeb\build\classes | | ejbjar: | [jar] Building jar: C:\Projects\Eclipse\Copy of Maverick-3.0\MaverickWeb\b | uild\tutorial.ejb3 | [copy] Copying 1 file to C:\Extracted\JBoss\jboss-4.0.1sp1\server\all\deplo | y | | run: | [java] Exception in thread main javax.naming.NameNotFoundException: org.j | boss.tutorial.stateful.bean.ShoppingCart not bound | [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:491) | | [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:499) | | [java] at org.jnp.server.NamingServer.getObject(NamingServer.java:505) | [java] at org.jnp.server.NamingServer.lookup(NamingServer.java:278) | [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces | sorImpl.java:39) | [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet | hodAccessorImpl.java:25) | [java] at java.lang.reflect.Method.invoke(Method.java:585) | [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav | a:294) | [java] at sun.rmi.transport.Transport$1.run(Transport.java:153) | [java] at java.security.AccessController.doPrivileged(Native Method) | [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:149) | [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor | t.java:460) | [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT | ransport.java:701) | [java] at java.lang.Thread.run(Thread.java:595) | [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe | r(StreamRemoteCall.java:247) | [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa | ll.java:223) | [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) | [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) | [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:54 | 4) | [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:52 | 0) | [java] at javax.naming.InitialContext.lookup(InitialContext.java:351) | [java] at org.jboss.tutorial.stateful.client.Client.main(Client.java:29 | ) | [java] Java Result: 1 | My question is why is this a problem? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875324#3875324 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875324 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net
[JBoss-user] [Beginners Corner] - Re: jboss.xml
Ok I just checked from a working setup... Create an empty ' inside of your enterprise-beans element. It doesn't like that. Creating just inside it doesn't notice. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875405#3875405 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875405 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Using wscompile for doc/lit
[EMAIL PROTECTED] wrote : Another option is, to start of with a req/res structures in your SEI and do the unwrapping in your impl code. I think this is what I'm getting at, but I can't figure out how to do that... do you mean I can start with this kind of code: | public interface MathService extends Remote | { |public AddReply add( AddParams params ) throws RemoteException; | } | And not have to change it after running wscompile? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875417#3875417 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875417 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Some problems with the optimistic locking strategy.
The BLOB issue looks like an inconsistent type mapping. Unless you can figure it out looking at the table and fields, you'll have to add trace logging for org.jboss.ejb.plugins.cmp and see what parameters of what types and values are set on prepared statements. Second exception shows that optimitic locking is working properly, i.e. it's an optimistic failure. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875393#3875393 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875393 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: createBeanClassInstanceCommand == null
This is in thread to last message : createBeanClassInstanceCommand == null . This error is generated when I try to create an instance of Entity bean through its home.create() method . Will you ellaborate in details what type of configuration error it is. I am using SQL server 2000, EJB CMP, jsdk1.4. Also let me know the exact configuration that I need to made in number of files ?.xml, ?.xml etc This is an urgent request .. pls make it fast .. thanks in advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875372#3875372 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875372 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Rich Client, Hibernate, Jboss Cache, and Session EJB's?
It is hard to say. But keep in mind that cache only works when you have read-mostly data. If you update often, you may better off with direct access to DB, for the entity case. But if you have a one active and multiple passives for stateful data, then JBossCache can still makes snese though. -Ben View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875351#3875351 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875351 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Changing Server Configuration Home
Is there a way to change the directory where JBoss looks for server configurations? I mean - out of the box, JBoss looks in the server directory and finds all, default, and minimal. What if I wanted to create a server configuration in a directory outside the server directory? Is there a parameter you can feed to the run.* script? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875305#3875305 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875305 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: No information about nested web application in EAR file
Is there someone to help me ? I suppose that this problem is a bug, so where can I submit it ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875382#3875382 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875382 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Unable to passivate due to ctx lock
Does anyone at JBoss want to comment on this bug? I can supply a test case that replicates it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875260#3875260 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875260 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Can I combine any type of container with any type of commit
Can I combine any type of container with any type of commit option? (Knowing that we do not have a cluster and we can pretend to be the sole user of the (Oracle 9i) database)? When not which types are compatible with which commit options (Or put in another way what makes a container definition compatible (or incompatible) with a certain commit option). What I would like know is whether I can combine the Standard CMP 2.x EntityBean with the org.jboss.ejb.plugins.lock.JDBCOptimisticLock locking policy and the Commit Option A. We currently are using jboss-3.2.6RC2 (with JRE 1.4.2_07) Thanks for any suggestion. Christian Percy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875373#3875373 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875373 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Database Update problem with 2 different verticals(web servi
I am using Jboss 3.2.3 , I have 2 web services..I use them in one another using servicelocator...Now when I throw a remote exception in one and catch in another EJB, It does everything fine escept for database update...It doesn't throw any exception but at the same time it doesn't update the database with data. I have debugged it and I can see the statement getting executed...but it won't update the database. Also, there is no exception getting thrown. Is it because I am throwing exception from a different vertical(different web service).All the code is written in java View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875432#3875432 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875432 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - encrypting ds password - per server instance?
i've went through the steps to use an encrypted datasource password, covered in the faq. works nicely once i have all the peices in place. my question is, is the encrypted password per server instance? per jboss install? or is the login-config.xml portable? i'm interested if i can version in cvs login-config.xml's and push the proper one out at deploy time. or do i need to configure these each time i setup a server instance. thanks! ~mark View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875428#3875428 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875428 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Dynamic class loading
frontline, I have asked this question before and the reply I got was to re-deploy your web application View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875434#3875434 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875434 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - How to make SQL SERVER 2000 Specific Changes In JBOSS, to ex
Dear All, I am using CMP Entity EJB with SQL SERVER 2000, JBOSS 4.0.1. During server start up, There are some SQL server specific error like invalid object JMS_MESSAGE etc exception. Also I am using DefaultDS. Is this the cause of error ? When I am deploying my EJB , error appear during last EJB deployment, if you change the order of EJB in ejb-jar.xml , the error ejb change. Now it is last ejb deployed. My problem is very urgent , pls post your answer early thanx in advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875435#3875435 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875435 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - ws not working in iexplorer
Its incredible difficult to get this WS thing right...I've compiled a simple WS with wscompile without problems. It deploys without problems. But when pointing my web browser to the WS the only thing i see is: And now... Some Services * Version (wsdl) o getVersion * my.ear/myWS.war#PortComponent (wsdl) o getRoot Trying to access the webservice with a simple axis client i get the Deserializing parameter 'WSDomain': could not find deserializer for type I dont know how long time i've struggeled with this... -Jon View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875436#3875436 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875436 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: [WebDav] Copying a file to another directory
ok, but for the confirmcopy.jsp, it is defined... | form name=copyform action=portlet:actionURL | portlet:param name=op value=%= AdminCMSConstants.OP_COPY %/ | portlet:param name=copyoldpath value=%= sCopyOldPath %/ | /portlet:actionURL method=post Perhaps FireFox doesn't like the short path to the form name. Maybe it expects this.document.copyform. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875437#3875437 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875437 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Array element type mismatch error while accessing array
Also, I tried without my ws4ee-deployment.xml and in this case the .wsdd uses the following mappings: | deployment | xmlns='http://xml.apache.org/axis/wsdd/' | xmlns:java='http://xml.apache.org/axis/wsdd/providers/java' | xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/' | xmlns:xsi='http://www.w3.org/2000/10/XMLSchema-instance' | xmlns:xsd='http://www.w3.org/2001/XMLSchema' | | service name='wseetest1.ear/wseetest1-ejb.jar#WseeEndpoint1' style='rpc' use='literal' provider='Handler' | | parameter name='webserviceID' value='wseetest1.ear/wseetest1-ejb.jar#WseeEndpoint1' / | parameter name='handlerClass' value='org.jboss.webservice.server.InvokerProviderEJB' / | | operation name='getFirstName' qname='ns1:getFirstName' returnQName='getFirstNameReturn' returnType='xsd:string' xmlns:ns1='http://interfaces.wseetest1.bb' | parameter name='in0' qname='in0' mode='IN' type='xsd:int' / | /operation | operation name='getNameType' qname='ns1:getNameType' returnQName='ns2:ComplexType' returnType='ns2:ComplexType' xmlns:ns1='http://interfaces.wseetest1.bb' xmlns:ns2='http://data.wseetest1.bb' | /operation | operation name='printTypes' qname='ns1:printTypes' returnQName='printTypesReturn' returnType='xsd:int' xmlns:ns1='http://interfaces.wseetest1.bb' | parameter name='in0' qname='ns2:ComplexTypeArray' mode='IN' type='ns2:ComplexTypeArray' xmlns:ns2='http://data.wseetest1.bb' / | /operation | | typeMapping | qname='ns2:ComplexType' xmlns:ns2='http://data.wseetest1.bb' | type='java:bb.wseetest1.data.ComplexType' | serializer='org.jboss.webservice.encoding.ser.MetaDataBeanSerializerFactory' | deserializer='org.jboss.webservice.encoding.ser.MetaDataBeanDeserializerFactory' | encodingStyle='' | typeDesc | elementDesc fieldName='name' xmlName='name'/ | elementOrder element name='name'/ | /elementOrder /typeDesc | /typeMapping | | typeMapping | qname='ns2:ComplexTypeArray' xmlns:ns2='http://data.wseetest1.bb' | type='java:bb.wseetest1.data.ComplexTypeArray' | serializer='org.jboss.webservice.encoding.ser.MetaDataBeanSerializerFactory' | deserializer='org.jboss.webservice.encoding.ser.MetaDataBeanDeserializerFactory' | encodingStyle='' | typeDesc | elementDesc fieldName='elements' xmlName='elements'/ | elementOrder element name='elements'/ | /elementOrder /typeDesc | /typeMapping | | | /service | /deployment | | That is the MetaDataBeanSerializerFactory. I copied the last 2 typeMapping entries as they are into my ws4ee-deployment.xml and simply changed the Serializer/DeSerializers to org.apache.axis.encoding.ser.BeanSerializerFactory and so on, but whether I use the ws4ee-deployment.xml or not, I receive the same error message. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875438#3875438 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875438 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - When EJBs play Hide Seek!
Hi there! I'm experiencing a rather strange problem with JBoss 3.0.7 (ok, I know it's a really old version, but our production systems haven't been tested with the recent ones from the 3.0 brach). If an EJB isn't used for a certain period of time (about 30 minutes), I can't reference it anymore from JNDI! Now, if I browse the JNDI directory where the EJBs are (with InitialContext.list()), the first time they don't show up, but if I repeate the operation, they appear! And everything works fine! This only happens with the EJBs from a certain EAR... But I've double checked the deployment descriptors and everything seems to be fine. I've searched the foruns and wiki and haven't found anything relevant... Has anyone experienced this before? Thanks in advance, Armnio Pinto View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875439#3875439 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875439 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill
one of the error during server startup when binding datasource with MS SQL server is as follow: 17:43:11,187 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=DefaultDS,service=DataSourceBinding to JNDI name 'java:DefaultDS' 17:43:16,531 ERROR [PersistenceManager] Starting failed jboss.mq:service=PersistenceManager org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message recovery may not be accurate; - nested throwable: (java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 'JMS_MESSAGES'.) at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(PersistenceManager.java:391) at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1422) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) at $Proxy0.start(Unknown Source) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875411#3875411 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875411 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Using wscompile for doc/lit
yes View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875440#3875440 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875440 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: When to use Apache as a Primary Web Server
Just a quick reply thanking you for taking the time to respond! Your thoughtful reply to my post is most appreciated... I'll take your points into consideration as I work through configuring SSL over JBoss. I've decided to not use Apache as the primary Web server (at least at this time). If you have any suggestions on how to implement SSL over the JBoss/Tomcat bundle, please share! Regards, View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875443#3875443 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875443 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - jndi lookup of datasource: broken in jboss 4.x?
doesnt work for me i fail to see the error here. jboss-4.0.1sp1 winxp jdk 1.4.x - jboss-web.xml | ?xml version=1.0 encoding=UTF-8? | jboss-web | resource-ref | res-ref-namejdbc/dev/res-ref-name | jndi-namejava:dev/jndi-name | /resource-ref | /jboss-web | mssql-ds.xml | ?xml version=1.0 encoding=UTF-8? | datasources | local-tx-datasource | jndi-namedev/jndi-name | use-java-contexttrue/use-java-context | connection-url.../connection-url | driver-classnet.sourceforge.jtds.jdbc.Driver/driver-class | user-namesa/user-name | password/password | min-pool-size5/min-pool-size | max-pool-size20/max-pool-size | idle-timeout-minutes0/idle-timeout-minutes | /local-tx-datasource | /datasources | web.xml | resource-ref | descriptionThe default DS/description | res-ref-namejdbc/dev/res-ref-name | res-typejavax.sql.DataSource/res-type | res-authContainer/res-auth | /resource-ref | java code | Context initCtx = new InitialContext(); | Context envCtx = (Context) initCtx.lookup(java:comp/env); | DataSource ds = (DataSource) envCtx.lookup(jdbc/dev); | conn = ds.getConnection(); | -- im sure it would work if i did the lookup the jboss way, but this should really be portable across containers (the java code does work in tomcat 5.x). yes, i can see the mbean ive tried all sorts of ways to get this to work, so if anyone knows the answer to this, please let me know. i like jboss but this is just stupid--maybe im missing something, but it shouldn't be this much of a hassle. judging by the number of posts on this subject the jca moderator's comments, it appears that im not the only one having this problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875441#3875441 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875441 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: ws not working in iexplorer
What specific sections of the StepByStep tutorials do you need clarification with? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875442#3875442 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875442 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: No information about nested web application in EAR file
You might like to start by asking your question in an appropriate forum. What is Javassist: - anonymous wrote : Javassist (Java programming assistant) is a class library for editing Java bytecode in Java View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875414#3875414 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875414 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Some problems with the optimistic locking strategy.
[EMAIL PROTECTED] wrote : The BLOB issue looks like an inconsistent type mapping. Unless you can figure it out looking at the table and fields, you'll have to add trace logging for org.jboss.ejb.plugins.cmp and see what parameters of what types and values are set on prepared statements. | Second exception shows that optimitic locking is working properly, i.e. it's an optimistic failure. Regarding the read strategy. Here is the field definition of the jbosscmp-jdbc.xml cmp-field field-nameevaluator/field-name column-nameEVALUATOR/column-name jdbc-typeBLOB/jdbc-type sql-typeBLOB/sql-type /cmp-field What I do not understand is why the application then works perfectly well when I leaf the tags for the optimistic locking strategy out? To enable the tracing I added following category specs to the log4j.xml file It does not output anything below the DEBUG priority! (I also changed the Threshold of the appender to TRACE but that did not change anything So here is what I got. The first line is de end of the JBoss start. 2005-04-26 16:48:03,390 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [3.2.6RC2 (build: CVSTag=Branch_3_2 date=200409270100)] Started in 32s:641ms 2005-04-26 16:48:56,343 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.TraderEntity#findByPrimaryKey] Executing SQL: SELECT t0_TraderEntity.NAME FROM TRADERENTITY t0_TraderEntity WHERE t0_TraderEntity.NAME=? 2005-04-26 16:48:56,375 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.TraderEntity] load relation SQL: SELECT ID FROM EVALUATOR WHERE (TRADERENTITY_NAME=?) 2005-04-26 16:48:56,796 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Evaluator] Executing SQL: SELECT ID, EVALUATOR FROM EVALUATOR WHERE (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) OR (ID=?) 2005-04-26 16:48:57,609 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.Evaluator] Executing SQL: UPDATE EVALUATOR SET EVALUATOR=? WHERE ID=? AND EVALUATOR=? 2005-04-26 16:48:57,625 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract void javax.ejb.EJBLocalObject.remove() throws javax.ejb.RemoveException,javax.ejb.EJBException, causedBy: java.sql.SQLException: ORA-00932: inconsistent datatypes: expected - got BLOB at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093) at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047) at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589) at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeUpdate(CachedPreparedStatement.java:63) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:335) Regarding the modified strategy I can assure you that the error occus with only a single user having a single Required transaction running at any given time So how could the data be modified outside the trasaction if there is no other transaction? Can you give me an additional hint on how to investigate this problem more in depth? Your ever grateful JBoss user View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875444#3875444 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875444 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jboss.xml
Thanks for your reply, but let me make sure I understand you correctly. You are saying that the following will be ok in jboss.xml: enterprise-beans/enterprise-beans View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875416#3875416 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875416 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Optimizaed loading question
Should that not be read-ahead on-load page-size100/page-size eager-load-groupbasicweb/eager-load-group /read-ahead View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875446#3875446 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875446 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - [ContextConfig] Missing application web.xml, using defaults
Hi, I have embarked upon installing JBoss 4 to run our intranet application which has been happily running under TC 5 for a year. I have managed to get as far as configuring our SQL Server datasources and mail session for JNDI. I have now copied the application iq.war into the deploy folder of the default server configuration but when I do so I get this output indicating that it could not find the web.xml file. The war's internal structure contains WEB-INF/web.xml at the top level so I am not sure what the issue is - probably a newb issue. 15:46:08,526 INFO [TomcatDeployer] deploy, ctxPath=/iq, warUrl=file:/D:/jboss-4 .0.1sp1/server/default/tmp/deploy/tmp47079iq-exp.war/ 15:46:08,745 INFO [ContextConfig] Missing application web.xml, using defaults o nly StandardEngine[jboss.web].StandardHost[localhost].StandardContext[/iq] If anyone has any suggestion how to get me past this issue, it would be appreciated. Cheers, Allistair. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875445#3875445 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875445 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: treecache.xml file not found
anonymous wrote : | But when I placed the file at the parent level , the file was found and the chaching worked. | Hibernate simply attempts to locate a file named treecache.xml as a classpath resource. So of course it needs to be at the root of a jar file if thats how you choose to deploy it. (yes, this is all covered in the Hibernate docs). anonymous wrote : | But I am not able to understand as to why hibernate.jar did not include treecache.xml file if it is hardcodedly asked in the code | Yes, of course it requires a TreeCache configuration file. Is it just supposed to magically build and configure a TreeCache instance by itself? Include a treecache.xml in the hibernate distribution???!?!?!!! Are you serious? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875447#3875447 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875447 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: No information about nested web application in EAR file
Ok, I haven't understood that it was Javassist and not Java-assist ;-) Excuse me... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875448#3875448 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875448 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Optimizaed loading question
Sorry Ignore the previous post, I did not know that some parts of the text are thrown out so the strategyon-load/strategy was transformed in just plain on-load and this is probably also the case in the original post View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875449#3875449 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875449 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Deploy many ears in one Jboss3.2.6 server instance
Hi, i m a trainee in a company and I'm migrating some enterprise application from weblogic server into jboss server (version specified in the title). my problem is that when I deploy more than one application in the same server instance, the server reject the second one and display a message indicating a conflict of JNDI name because the two applications use the same EJB(inside the ear) : ex : app1 use EJB1 app2 use EJB1 the deployment of app1 is done without any problem, but the deployment of app2 doesn't work because of the same jndi name used for the EJB1 in app1. I used this script to try to resolve the problem but the problem persist : script : !-- EAR deployer, remove if you are not using Web layers -- !-- Isolate all ears in their own classloader space -- true !-- Enforce call by value to all remote interfaces -- true if somebody had the same problem or know how to resolve this one, please help. thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875451#3875451 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875451 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - ejbCreate causes pointless UPDATE to be executed
I am experiencing some very strange behaviour with Jboss 3.2.3, mysql 4 using code generated using ejbdoclet. After each call to ejbCreate I can see from the database logs that all fields which have setter methods on the entity bean are updated to the database (despite not being changed). Why is the update occurring and what is the configuration option to ensure only true updates cause an update to run? For the following class a call to ejbCreate causes the following entries in mysql log: SET autocommit=0 15 Query INSERT INTO generic_user_credits (opening_portal_eventId, carrierId, userId, credits, productId, billing_productId, start_date, end_date, recredit) VALUES ('bundlecredit1', 'staging', 'userA', 100, 'TestBundle', 'sub1', '2005-04-26 17:15:53', '2005-04-27 17:15:53', 0) 15 Query UPDATE generic_user_credits SET start_date='2005-04-26 17:15:53', end_date='2005-04-27 17:15:53' WHERE id=58 15 Query commit The sample code is: /** * This is the generic credit entity bean. * It represents a set of credits which were bought at a single instance. Credits should only go down, not up. * If a new set a credits need to be added a new bean should be created * * @ejb.bean * name=GenericCredit * type=CMP * jndi-name=GenericCredit * primkey-field=id * cmp-version=2.x * * @ejb.pk class = java.lang.Integer * @jboss.entity-command name=mysql-get-generated-keys * * @ejb.home * remote-class=genericcredits.interfaces.GenericCreditHome * local-class=genericcredits.interfaces.GenericCreditLocalHome * * @ejb.interface * remote-class=genericcredits.interfaces.GenericCredit * local-class=genericcredits.interfaces.GenericCreditLocal * * @ejb.finder * signature=java.util.Collection findAll() * * @ejb.transaction * type=Required * * @ejb.value-object * name=GenericCredit * match=credit * * @jboss.create-table false * @jboss.remove-table false * @jboss.read-only false * @jboss.datasource java:/users * @jboss.table-name generic_user_credits * * @version 1.0 */ public abstract class GenericCreditBean implements EntityBean { private static final Date NEVER_EXPIRE_DATE = (new GregorianCalendar(2999, 11, 31)).getTime(); /** * Constructor for the GenericCreditBean object */ public GenericCreditBean() { } /** * @ejb.pk-field * @ejb.interface-method * @ejb:persistent-field * @ejb.persistence column-name=id sql-type=INT * @jboss.sql-type integer * @jboss:persistence auto-increment=true * @ejb.value-object match=credit */ public abstract Integer getId(); public abstract void setId(Integer id); /** * @ejb.interface-method * @ejb:persistent-field * @ejb.persistence column-name=opening_portal_eventId sql-type=VARCHAR * @jboss.sql-type VARCHAR(50) * @ejb.value-object match=credit */ public abstract String getOpeningEventId(); public abstract void setOpeningEventId(String eventId); /** * @ejb.interface-method * @ejb:persistent-field * @ejb.persistence column-name=carrierId sql-type=VARCHAR * @jboss.sql-type VARCHAR(50) * @ejb.value-object match=credit */ public abstract String getCarrierId(); public abstract void setCarrierId(String eventId); /** * @ejb.interface-method * @ejb:persistent-field * @ejb.persistence column-name=userId sql-type=VARCHAR * @jboss.sql-type VARCHAR(50) * @ejb.value-object match=credit */ public abstract String getUserId(); public abstract void setUserId(String userId); /** * @ejb.interface-method * @ejb:persistent-field * @ejb.persistence column-name=credits sql-type=INT * @jboss.sql-type INT * @jboss.persistence.not-null=true * @ejb.value-object match=credit */ public abstract int getCredits(); /** * @ejb.interface-method view-type=both */ public abstract void setCredits(int credits); /** * Indicate the product which caused the credits may be spent against - null indicates it is unrestricted * @ejb.interface-method * @ejb:persistent-field * @ejb.persistence column-name=productId sql-type=VARCHAR * @jboss.sql-type VARCHAR(50) * @ejb.value-object match=credit */ public abstract String getProductId(); public abstract void setProductId(String productId); /** * Indicate the products which caused the credits to be added * @ejb.interface-method * @ejb:persistent-field * @ejb.persistence column-name=billing_productId sql-type=VARCHAR * @jboss.sql-type VARCHAR(50) * @ejb.value-object match=credit */ public abstract String getBillingProductId(); public abstract void setBillingProductId(String billingProductId); /** * @ejb.interface-method view-type=both *
[JBoss-user] [JBossWS] - Re: Microsoft .NET interop.
This is the really hard decision in my case. I've read plenty of articles supporting the use of only doc/lit, some supporting use of RPC, some wrapped The way I see it, each type of service has it's place and it's pros and cons. I don't really understand why you should ALWAYS use doc/lit. My service is not document based, it is RPC based request/response, like calling an add() method. doc/lit is for document based services, rpc/lit for rpc based services. This is also how it's generally explained in documentation from Sun. I think that for my implementation, using doc/lit adds unnecessary complexity to the interface usage and implementation, so I'd prefer to use RPC. Even MS who only supports doc/lit uses wrapped style to expose an RPC interface to their doc/lit service implementation! Of course this currently conflicts with MS who currently don't support rpc/lit. However, if they will support it in future releases (which should be available by the time my product is out there), then maybe I'll use RPC after all. Finally, I have one other concern with doc/lit: A doc/lit SOAP request doesn't contain the method name (unless it is wrapped style), so this makes it impossible to have multiple methods in your interface with the same set of parameters doesn't it? I read about this in an article, haven't tried it yet, but it makes sense. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875418#3875418 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875418 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jboss.xml
Ok, it ate the tags as well, but I got it working anyway. The jboss.xml was failing silently. Now it's working. Thanks for yoyr help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875419#3875419 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875419 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Apache warpConnector and JBoss 4?
Hello? Anybody out there? So everyone who uses Apache uses mod_jk to proxy back to their jboss instances? Nobody in the JBoss world uses warpConnector??? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875453#3875453 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875453 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Moving simple JCA CCI adapter (not DataSource) from Webl
I've created a special file zjca-ds.xml with the hope that I'll help me to deploy an adapter: | connection-factories | | no-tx-connection-factory | | adapter-display-namezjcaAdapter/adapter-display-name | jndi-namezjcaAdapter/jndi-name | rar-namezjca.rar/rar-name | connection-definitionzjca.ZConnectionFactory/connection-definition | | /no-tx-connection-factory | | /connection-factories | Unfortunetly, all it produces is the following: anonymous wrote : | 16:16:17,328 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | MBeans waiting for other MBeans: | ObjectName: jboss.web.deployment:war=zjca.war,id=1512608368 | state: DESTROYED | I Depend On: | Depends On Me: | ObjectName: jboss.web.deployment:war=zjca.war,id=-859130894 | state: DESTROYED | I Depend On: | Depends On Me: | ObjectName: jboss.web.deployment:war=zjca.war,id=1706383051 | state: DESTROYED | I Depend On: | Depends On Me: | ObjectName: jboss.web.deployment:war=zjca.war,id=-665356211 | state: DESTROYED | I Depend On: | Depends On Me: | ObjectName: jboss.jca:service=NoTxCM,name=zjcaAdapter | state: CONFIGURED | I Depend On: jboss.jca:service=ManagedConnectionPool,name=zjcaAdapter | jboss.jca:service=CachedConnectionManager | | Depends On Me: jboss.jca:service=ConnectionFactoryBinding,name=zjcaAdapter | | ObjectName: jboss.jca:service=ManagedConnectionPool,name=zjcaAdapter | state: CONFIGURED | I Depend On: jboss.jca:service=ManagedConnectionFactory,name=zjcaAdapter | | Depends On Me: jboss.jca:service=NoTxCM,name=zjcaAdapter | | ObjectName: jboss.jca:service=ManagedConnectionFactory,name=zjcaAdapter | state: CONFIGURED | I Depend On: jboss.jca:service=RARDeployment,name='zjca.rar' | | Depends On Me: jboss.jca:service=ManagedConnectionPool,name=zjcaAdapter | | ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=zjcaAdapter | state: CONFIGURED | I Depend On: jboss.jca:service=NoTxCM,name=zjcaAdapter | | Depends On Me: | | MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: | ObjectName: jboss.web.deployment:war=zjca.war,id=1706383051 | state: DESTROYED | I Depend On: | Depends On Me: | ObjectName: jboss.web.deployment:war=zjca.war,id=-665356211 | state: DESTROYED | I Depend On: | Depends On Me: | ObjectName: jboss.web.deployment:war=zjca.war,id=1512608368 | state: DESTROYED | I Depend On: | Depends On Me: | ObjectName: jboss.jca:service=RARDeployment,name='zjca.rar' | state: NOTYETINSTALLED | I Depend On: | Depends On Me: jboss.jca:service=ManagedConnectionFactory,name=zjcaAdapter | | ObjectName: jboss.web.deployment:war=zjca.war,id=-859130894 | state: DESTROYED | I Depend On: | Depends On Me: | Any ideas? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875425#3875425 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875425 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Failed to aspectize class org.jboss.cache.TreeCache
I see. That's great to know. As you can tell, we're new on hibernate as well. Thanks Ben! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875427#3875427 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875427 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Deploy many ears in one Jboss3.2.6 server instance
Hi, i m a trainee in a company and I'm migrating some enterprise application from weblogic server into jboss server (version specified in the title). my problem is that when I deploy more than one application in the same server instance, the server reject the second one and display a message indicating a conflict of JNDI name because the two applications use the same EJB(inside the ear) : ex : app1 use EJB1 app2 use EJB1 the deployment of app1 is done without any problem, but the deployment of app2 doesn't work because of the same jndi name used for the EJB1 in app1. I used this script to try to resolve the problem but the problem persist : script : !-- EAR deployer, remove if you are not using Web layers -- !-- Isolate all ears in their own classloader space -- true !-- Enforce call by value to all remote interfaces -- true if somebody had the same problem or know how to resolve this one, please help. thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875455#3875455 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875455 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user