[jboss-user] [EJB/JBoss] - Re: Need
This is probably best achieved by customizing the EJB container with your own interceptor. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012307#4012307 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - why my project cant determine the session is invalidated?
Hi after the conversation expires when I click on a link, it shows an exception message. how can I detect the invalidated conversation and redirect the user to another page, say, home.xhtml? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012305#4012305 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Problem :How to use own LoginModule in JBOSS
Hi All, I wanted to do the authentication using Database. For this i am using rg.jboss.security.auth.spi.DatabaseServerLoginModule. It was working fine and abled to authenticate using database. Now the problem is i want to use my own LoginModule instead of org.jboss.security.auth.spi.DatabaseServerLoginModule. For this i have created one config file to locate my own LoginModule but it is not abled to find the config file even. But it was working fine under console application. How to configure it in jboss. please tell me where to find this org.jboss.security.auth.spi.DatabaseServerLoginModule class, if i can find the location i will place my LoginMoudle class file there. Thanks in Advance Murthy. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012297#4012297 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: New fileUpload component
I'm somewhat new to the Java domain, so I wonder if you have any sample how to stream the stored blob content? I suppose I need to checkout the latest and greatest from CVS to take advantage if this feature, which source files do I need to check out, or is the only option to checkout all? [EMAIL PROTECTED] wrote : Over this last weekend I completely rewrote the file upload component, and one of the improvements is the ability to stream the upload to a temp file on disk. Plus you can now also bind the file data to either a byte[] or InputStream property - so what this means, is that if you use this option it should be very resource efficient (it streams using only a 2k buffer). This only exists in cvs at the moment, and I haven't had a chance to document this yet - if you want to try it out you need to set the createTempFiles filter property to true, ie: | | | | filter | | filter-nameSeam Multipart Filter/filter-name | | filter-classorg.jboss.seam.servlet.SeamMultipartFilter/filter-class | | init-param | | param-namecreateTempFiles/param-name | | param-valuetrue/param-value | | /init-param | | /filter | | | | anonymous wrote : Can you please tell me, how can we regenerate the saved images in the database to our front end in JSF. | | Check out the seamspace demo, it does exactly this and also supports dynamic resizing of the image. This is done using a servlet (see ContentServlet.java) in conjunction with SeamServletFilter for creating the necessary Seam contexts. | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012301#4012301 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Ready Made tasks
Yes, all is available. See the documentation View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012293#4012293 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBM monitoring-charts in a seam project
the jbpm 3.2 console (almost beta2) has some monitoring capabilities. It can use the same db as your seam application, so have a look at the View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012294#4012294 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012294 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Problem with JAAS, Exception :javax.security.auth.login
Hi jaikiran, Thank you. this link worked fine for basic authentication. Now I wanted to do the authentication using Database. For this i am using org.jboss.security.auth.spi.DatabaseServerLoginModule. It was working fine and abled to authenticate using database. Now the problem is i want to use my own LoginModule instead of org.jboss.security.auth.spi.DatabaseServerLoginModule. For this i have created one config file to locate my own LoginModule but it is not abled to find the config file even. But it was working fine under console application. How to configure it in jboss. And can you please tell me where to find this org.jboss.security.auth.spi.DatabaseServerLoginModule class, if i can find the location i will place my LoginMoudle class file there. Please help me View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012292#4012292 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: problem in logout
That helps, but I donĀ“t understand what I have to do exactly. I just put the portal.defaultObjectName property but I get lost in the second part By logging in as admin you can set the property to the root context, i dont know where i do that, can u help me? Thanks and regards! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012311#4012311 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Persistence and Entity Bean questions
Hi all, I am new to EJB 3.0. I am exploring the entity bean and persistence and database access in EJB 3.0, but I find there is little documentation showing me how to create and set up. In the Trail Blazer tutorial, I only learn how to create a class but I have to manually create a plain java class and add the annotation. I don't know if JBOSS IDE has a wizard for Entity Bean, just like for the session bean. Also, for the persistence.xml, how do I create it and how to put it under META_INF when packaging? Is there a wizard for it also? and how do I deploy the entity bean? Can I create them in same project with Session beans? Thank you very much for answering my several questions. -Lngo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012313#4012313 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012313 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Problem(?) with transactions and TreeCache
Hi, Sorry if I posted this in the wrong forum, couldn't decide if it was a cache or clustering matter. I have configured JBoss 4.0.4 GA with the profile ejb3-clustering (from the GUI-installer) and stuff seems to work, at least with a simple test-failover app. But when i looked inte the server log i found this. I couldn't find any information about this exception. Since it seem to work I wonder, what is is about and what features will I loose with this. And ultimately, what can I do to fix it? Doesn't look too nice. Regards Jonas Heineson 2007-02-06 15:48:18,910 DEBUG [org.jboss.cache.TreeCache] Creating jboss.cache:service=EJB3EntityTreeCache 2007-02-06 15:48:18,910 DEBUG [org.jboss.cache.TreeCache] failed looking up TransactionManager, will not use transactions javax.naming.NameNotFoundException: TransactionManager not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:296) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jboss.cache.JBossTransactionManagerLookup.getTransactionManager(JBossTransactionManagerLookup.java:18) at org.jboss.cache.TreeCache._createService(TreeCache.java:1187) at org.jboss.cache.TreeCache.createService(TreeCache.java:1175) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.create(Unknown Source) at org.jboss.system.ServiceController.create(ServiceController.java:330) at org.jboss.system.ServiceController.create(ServiceController.java:273) at org.jboss.system.ServiceController.create(ServiceController.java:349) at org.jboss.system.ServiceController.create(ServiceController.java:273) at org.jboss.system.ServiceController.create(ServiceController.java:349) at org.jboss.system.ServiceController.create(ServiceController.java:273) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.create(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at
[jboss-user] [JBoss Seam] - Re: NotSerializableException on JSF rendering (scope Page)
Just got cvs content. Works really fine for Scope Page ! Do you plan to release a 1.1.5 patch any sooner ? N.B. : I've just realized data in page scope is initialized during UPDATE_MODEL_VALUES phase (and not RENDER PHASE - stupid of me !). (c.f. AbstractSeamPhaseListener#beforeUpdateModelValues). I'll make latter another post discussing navigation issues in a CRUD. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012316#4012316 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: why my project cant determine the session is invalidated
Try to use exceptions.xml? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012317#4012317 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - SVG in a portlet
Hi, First, sorry for my english, I speak french... I'm making a portlet using svg. When I open the portlet, the svg is not display... Firefox (2.0.0.1) propose me to save the svg file on the disk. My portlet containes: pembed src=/addition/svg/boutons.svg type=image/svg+xml width=400 height=200//p When I put the same code in a simple HTML file, it works!! How can I do? Thank's View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012318#4012318 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Error while deploying PojoCache mbean deployed on JBoss
I'm trying to deploy PojoCache as mbean under JBoss AS. jboss version: jboss-4.0.3SP1 jboss cache version: JBossCache-all-2.0.0.ALPHA2 i copied jboss cache jars to jboss lib directory. i get the following exception. It looks like the jboss-aop-jdk50.jar does not match the AOP manager of the AS. | 10:58:40,832 INFO [ServiceConfigurator] Problem configuring service jboss.aop:service=AspectManager | org.jboss.deployment.DeploymentException: Exception setting attribute [EMAIL PROTECTED] on mbean jboss.aop:service=AspectManager; - nested throwable: (java.lang.NoSuchFieldError: prune) | at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:669) | at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:314) | at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:442) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153) | at org.jboss.system.ServiceController.install(ServiceController.java:215) | 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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy4.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:232) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) | 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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy9.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192) | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) | at $Proxy0.start(Unknown Source) | at
[jboss-user] [JBoss and NetBeans] - Re: NameNotFoundException: DefaultDS not bound - Entity Unit
Try to replace 'DefaultDS' by 'java:/DefaultDS' in persistence.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012322#4012322 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Global Update events/@Observe
Hi, consider the following situation: I've got a page and a bean containing a @DataModel list. You can click on the list and edit one of the entries. Now the list may need an update, because the contained data may have changed. The user is free to navigate to this page at any time, so the data needs always to be accurate. So I raise every time an event when a data item has been changed using raiseEvent(). The list SSB accordingly contains a method annotated with @Observe() that resets the list. This works fine within the same user session. However I'd like to have something like a global raiseEvent/@Observe that will forward this event to all current sessions, so that all active users always see the most current data. (I'm aware that there still may be a lost update problem :-) I don't know how this can be with Seam. If this a feature request, I'd suggest that you can scope an event to a certain ScopeType which is by default the session context. Cheers Markus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012323#4012323 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal LDAP Setup
In 2.4.1: - yes for authentication (LdapLoginModule) - no for user management - you will need to manually implement UserModule and RoleModule interfaces for that. You can use example MSAD implementation as a reference (http://jira.jboss.com/jira/browse/JBPORTAL-464) In 2.6 there is buildin support for LDAP. It won't cover all cases but should handle most. btw. Which LDAP server and what tree schape are you planing to use? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012324#4012324 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Who uses EntityHome objects?
Hello (3 questions at the body, please take a look) I am interested if you are able to run any example with entityHome objects. For me, the examples do not work (seam-pay,ui etc) - Could it be that i missunterstand the conzept? So far i have used entityHome objects this way: | factory name=bazExperiment value=#{bazExperimentHome.instance}/ | | component name=bazExperimentHome class=org.jboss.seam.framework.HibernateEntityHome | property name=entityClassde.bafz.lims.model.Experiment/property | property name=session#{bazDatabase}/property | property name=id#{bazExperimentID}/property | /component | When i set the bazExperimentID in any context, i will have the object bazExperiment managed. That is all i want to do, so far. But with the namespace concept i am not able to configure the id. The framework-1.1.xsd does not allow to configure an Id:-( Is the Id is now implicit? What is the recommended way to set the Id? Has anybody succeded in running the examples with entity Home objects? I am using seam 1.5.0GA for now Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012327#4012327 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss Portal with Weblogic Server
Hello, I have a WebLogic Application server which work... I want to use JBoss portal on this server... Is it possible ?? or JBoss portal work only with JBossAS ?? Thank you ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012330#4012330 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012330 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Example needed of servlet connecting to web service
Hello! Im trying to put the code from http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html#dii-clients into a servlet, but it doesnt seems to work.. can some one points me a working servlet connecting to some stupid web service like Hello? by the way, which packages do i have to include to use Call and Service with jboss 4.0.5 (so no axis then)? many thanks Paolo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012331#4012331 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Queue Receiver hangs
Hi all, i've set 5 queues, they work fine in all runtime period, only one of these (the most stressed one with about 5 messages) seems to lose the receiver (i see ReceiversCount=0 and QueueDepth=49409) and the messages in the queue remains unconsumed and the elaboration never ends. The real problem is that no Exception were throwed. When i restart the server, the receiver is back and the application works for a while. Help appreciated! thanx to all. PS: sorry for my english! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012332#4012332 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal with Weblogic Server
Only JBoss AS so far. JBoss Portal 3.x should be server agnostic and should run on Tomcat, WebLogic and others. (JBoss AS works too is much cheaper and we can help you migrate ;) ) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012336#4012336 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Packaging of portlet-instances.xml
Hi, I am currently implementing the above mentioned component, and I would much appreciate if someone can explain me how I can create a typed Value instance for the preferences? Does JBoss portal provides any means for retrieving th etype of a preference value or do I have to implement this myself? Kind regards, Marcel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012338#4012338 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Examples not running on jboss as. anymore
At least in AS4 I would wonder if you installed the EJB3 profile? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012339#4012339 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple DataModels in an SFSB
@DataModel and @Factory shouldn't be on the same method. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012340#4012340 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Limit access to logged in users
This seems sensible to me. N.B. You'll need to use CVS or wait for 1.1.6 for this to actually work :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012341#4012341 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Who uses EntityHome objects?
As Norman says, the applicaiton framework is just newer :) I use it extensively, and mix and match between components.xml and extension when needed. Baz - I use pages.xml to set the id - as described in the docs I believe. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012343#4012343 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012343 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal with Weblogic Server
Ok, thank you !! So, I need to run it on WebLogic, I will wait a stable version 3.x ! If my boss want to use JBoss AS, I will need help to migrate on it !! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012344#4012344 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Using own Classes as member for ManyToMany-Assotiations
Hi micho, IMHO you ain't free to implement your own Collections for EJB3 associations, you have to stick with those in java.util package. hm, but I'm not sure... Bye Dalibor View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012345#4012345 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Performance issue on getter method of entity bean
We are using BMP entity beans in our application deployed on Jboss3.2.7 server with commit Option ?A? for container Configuration in StandardJboss.xml on jboss conf folder. Whenever any getter method is called on entity bean, ejbStore () method is called. This causes performance drain in our application. Could any one please tell me why calling a getter method of entity Bean calls ejbstore () many times instead of ejbLoad ()? In our Project two applications are accessing the same database; due to this we changed the commit option in StandardJboss.xml To ?B?. In this scenario, the performance got still worse, since for each getter method invoked on bean, ejbLoad() and ejbStore() are called . Could anybody help me to figure out the solution to above problem? Is any other properties do I need to set to reduce the calls to ejbLoad() and ejbStore() many times? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012346#4012346 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Building from source behind firewall
bvogt wrote : Try setting: setproxy proxyhost=your.proxy proxyport=your.port/ | | at the top of .../build/buildthirdparty.xml | and a 'build deploy' afterwards | | Burkhard Thanks this sorted out my problem where my build couldnt connect. Now it can connect to the remote repository. It is taking forever though, how long does the initial build usually take? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012347#4012347 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Building from source behind firewall
It needs to get the 126MB of libraries so it mostly depends on your Internet connection View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012349#4012349 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal LDAP Setup
Thanks. User management isn't too serious for now, if I can do that locally, its fine. It's the ldap authentication which is required. Unfortunately by using local user management, the securities are all messed up when logging in with ldap passwords for the users. That where my major problem lies. Using the local user passwords seem fine though, but that wont cut it, we need to use the ldap passwords. Our network uses Novell eDirectory, but all of that is taken care of by our netware guru, so I am unsure about the tree shape. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012352#4012352 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: Queue Receiver hangs
sorry i forgot to explain the environment, i'm using: jboss-4.0.5GA HP-UX 11.11 j2sdk-1.4.2.11 the JMS service is configured to store messages via Oracle 9.2.0.7. Thanx to all. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012353#4012353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Multiple Business Calenders
Hi, is there a chance to use multiple business calenders with jbpm? One per defined process or may be one per process node? Thanks Heiko View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012354#4012354 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Who uses EntityHome objects?
anonymous wrote : Now, if we want to be able to display, update and delete pre-existing Person entries in the database, we need to be able to pass the entry identifier to the PersonHome. Page parameters are a great way to do that: | | | | | | - that was the bit I was talking about. I don't think you can achieve what I wrote in the wiki easily using components.xml and not extension View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012355#4012355 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Example needed of servlet connecting to web service
Here's my code: URL wsdl = new URL(http://localhost:8080/ServizioEJB/Hello?wsdl;); QName qname = new QName(http://servizioDipartimentale.org/,Hello;); try { ServiceFactory factory = ServiceFactory.newInstance(); Service service = factory.createService(wsdl, qname); Hello hello = (Hello) service.getPort(Hello.class); output= hello.sayHello(); } catch (Exception e) { e.printStackTrace(); out.println(error); } and i get error.. Probably some mistake somewhere, but no clue if for example i'm setting qname in a wrong way.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012356#4012356 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with Seam Security
Is it planned to integrate seam with container security in future ? What about the jaasConfigName attribute ? security:identity authenticate-method=#{myAuthenticator.authenticate} jaasConfigName=myDomain / After deploying this (using the last nightly build 06-02-07) and using the Identity object for authentification, the container didn't recognize the new principal anyway. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012357#4012357 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - get loginexception back
Hi, We use our own JAAS login module which throws a loginexception where we added some extra info on the error occurred (user blocked, inactive, etc) How can we retrieve the loginexception? The app is redirected to the page configured in the form-error-page (web.xml) but we cannot retrieve the exception thx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012359#4012359 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012359 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JSF question
I have the same problem. I am using Jsf Implemantation from SUN, version is 1.1_02. Same war file works fine with Tomcat 5.5 standalone. Exception in der JBoss log is: | 2007-02-07 12:04:10,378 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/beleg-web-0.9-SNAPSHOT].[jsp]] Servlet.service() for servlet jsp threw exception | javax.servlet.jsp.JspException: No faces context?! | at org.apache.myfaces.taglib.core.LoadBundleTag.doStartTag(LoadBundleTag.java:74) | at org.apache.jsp.login.login_jsp._jspx_meth_f_loadBundle_0(org.apache.jsp.login.login_jsp:125) | at org.apache.jsp.login.login_jsp._jspService(org.apache.jsp.login.login_jsp:86) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) | at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346) | at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:534) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012360#4012360 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012360 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Problem externalizeSession Jboss 4.0.5
Hi, can you help me about this problem?? I'm trying to deploy a seam application(using also jsf with icefaces) on jboss 4.0.5 GA with EJB3-Clustered configuration. I think that the deploy goes fine but when I try to access to index of my application, I see this error: 11:00:58,768 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa ces-facelets.jar!/META-INF/jstl-core.taglib.xml 11:00:58,808 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/jboss -seam-ui.jar!/META-INF/seam.taglib.xml 11:00:58,838 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa ces-comps.jar!/META-INF/facelet/icefaces.taglib.xml 11:00:58,919 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa ces-facelets.jar!/META-INF/jsf-core.taglib.xml 11:00:58,969 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa ces-facelets.jar!/META-INF/jsf-ui.taglib.xml 11:00:58,989 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa ces-facelets.jar!/META-INF/jstl-fn.taglib.xml 11:00:59,019 ERROR [STDERR] 07-Feb-2007 11:00:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa ces-facelets.jar!/META-INF/jsf-html.taglib.xml 11:01:01,773 ERROR [JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: NhCr1Y33cNsWaawV84WOEg**. node1 lastAccessedTime: 1170846057627 version: 1 lastOutdated: 0] java.io.NotSerializableException: org.apache.catalina.session.StandardSessionFacade at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java :1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:14 74) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav a:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at java.util.Hashtable.writeObject(Hashtable.java:824) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:94 5) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:14 61) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav a:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.jboss.web.tomcat.tc5.session.SessionBasedClusteredSession.writeEx ternal(SessionBasedClusteredSession.java:175) at org.jboss.web.tomcat.tc5.session.JBossCacheService.externalizeSession (JBossCacheService.java:1023) at org.jboss.web.tomcat.tc5.session.JBossCacheService.putSession(JBossCa cheService.java:312) at org.jboss.web.tomcat.tc5.session.JBossCacheClusteredSession.processSe ssionRepl(JBossCacheClusteredSession.java:121) at org.jboss.web.tomcat.tc5.session.JBossCacheManager.processSessionRepl (JBossCacheManager.java:1093) at org.jboss.web.tomcat.tc5.session.JBossCacheManager.storeSession(JBoss CacheManager.java:648) at org.jboss.web.tomcat.tc5.session.InstantSnapshotManager.snapshot(Inst antSnapshotManager.java:49) at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(Cluster edSessionValve.java:98)
[jboss-user] [JBoss Seam] - Re: Who uses EntityHome objects?
anonymous wrote : to pass the entry identifier to the PersonHome But than the example reads like: pages | page viewid=/editPerson.jsp | param name=personId value=#{personHome.id}/ | /page | /pages If i understand it correctly, the personHome.id will be passed, not the entry identifier. And i do not see any further reference to personID in the doc. For me it seems helpful when i could look at the existing example used in the documentation. This bit is certanly very unclear to me,by now. Ciao, Carsten PS: with the posted components.xml snippet (without Namespaces) my application behaves like described in the wiki. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012362#4012362 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Storing SYBASE
Storing SYBASE IMAGE DATA TYPE in jboss using entity bean We are using JBoss-4.0.4.GA, Entity Bean 2.x (CMP), Sybase 12.5 File Name :- jconn2.jar File Version :- 1.4.2_04 File Size :- 876 kb When we try to insert an object in to column of data type IMAGE in Sybase by using EJB 2.x we get the fallowing exception 2006-11-24 13:31:58,328 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true 2006-11-24 13:31:58,359 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false 2006-11-24 13:31:58,359 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true 2006-11-24 13:31:58,218 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Exception destroying ManagedConnection [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1164355312640 permit=false trackByTx=false [EMAIL PROTECTED] [EMAIL PROTECTED] org.jboss.resource.JBossResourceException: SQLException; - nested throwable: (java.sql.SQLException: JZ0C0: Connection is already closed.) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkException(BaseWrapperManagedConnection.java:541) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.destroy(BaseWrapperManagedConnection.java:255) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.doDestroy(InternalManagedConnectionPool.java:539) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.returnConnection(InternalManagedConnectionPool.java:329) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.returnConnection(JBossManagedConnectionPool.java:552) at org.jboss.resource.connectionmanager.BaseConnectionManager2.returnManagedConnection(BaseConnectionManager2.java:407) at org.jboss.resource.connectionmanager.BaseConnectionManager2$BaseConnectionEventListener.connectionErrorOccurred(BaseConnectionManager2.java:768) at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.connectionErrorOccurred(TxConnectionManager.java:550) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.broadcastConnectionError(BaseWrapperManagedConnection.java:327) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.connectionError(BaseWrapperManagedConnection.java:313) at org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:757) at org.jboss.resource.adapter.jdbc.WrappedStatement.checkException(WrappedStatement.java:768) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:320) at org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand.executeInsert(JDBCIdentityColumnCreateCommand.java:51) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.performInsert(JDBCAbstractCreateCommand.java:286) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractCreateCommand.java:137) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:572) at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:222) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:266) at org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:612) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.invocation.Invocation.performCall(Invocation.java:345) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1113) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:192) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:212) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:117) at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61) at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28) at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(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
[jboss-user] [JBossWS] - WS4EE: Supress Server AxisFault StackTrace
Hello Is there a way to supress or hide the Server AxisFault StackTrace if an Customize Exception is translated in a Axis SOAP Fault Message in WS4EE ? ERROR [ServerEngine] Server error: AxisFault ... thank you sonic View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012368#4012368 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: wsrp with https
Hi Julien, thanks for your reply. I added the security constraints to the web.xml file located in jboss-portal.sar/portal-wsrp.sar/portal-wsrp.jse. There is no portal-wsrp.war directory. It seems to work except for the wsdl:import. After adding the security-constraints the shown wsdl looks like this: | wsdl:definitions targetNamespace=urn:oasis:names:tc:wsrp:v1:wsdl | wsdl:import location=https://host/portal-wsrp/PortletManagementService?wsdlresource=wsrp_v1_bindings.wsdl; namespace=urn:oasis:names:tc:wsrp:v1:bind/ | ? | wsdl:service name=WSRPService | ? | wsdl:port binding=bind:WSRP_v1_PortletManagement_Binding_SOAP name=WSRPPortletManagementService | soap:address location=https://host:8444/portal-wsrp/PortletManagementService/ | /wsdl:port | ? | wsdl:port binding=bind:WSRP_v1_Registration_Binding_SOAP name=WSRPRegistrationService | soap:address location=https://host:8444/portal-wsrp/RegistrationService/ | /wsdl:port | ? | wsdl:port binding=bind:WSRP_v1_Markup_Binding_SOAP name=WSRPBaseService | soap:address location=https://host:8444/portal-wsrp/MarkupService/ | /wsdl:port | ? | wsdl:port binding=bind:WSRP_v1_ServiceDescription_Binding_SOAP name=WSRPServiceDescriptionService | soap:address location=https://host:8444/portal-wsrp/ServiceDescriptionService/ | /wsdl:port | /wsdl:service | /wsdl:definitions As you can see the https port is missing in the url of wsdl:import wsdl:import location=https://host/portal-wsrp/P Regards Karin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012367#4012367 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Eclipse 2.0.0.Beta2 doesn't keep server on Eclipse resta
Yes. That was the issue. If I'd scrolled down one more line I'd have seen it (doh). The generic JBoss servers are visible. Screen dump at : http://locuslive.com/webdrive/jboss_servers.jpg If it's any help, in my plug-in details I have : Jboss Generic Server Definitions org.elcipse.jst.server.generic.jboss Thanks for your help. Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012370#4012370 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012370 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Example needed of servlet connecting to web service
well, im checking and it seems the problem is in service.getPort who give this error: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage any clue? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012372#4012372 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - propagation
Seam reference 6.1 reads Note that disabling conversation context propagation is absolutely not the same thing as ending the conversation. Thought I had figured the difference, but as something behaves funny, I thought maybe someone who knows could answer the question in positive terms: What is the difference? I'd guess end takes on off the stack, none removes all off the stack. But is there more of a difference? And can they both be used in all places or is there are limit on use on one versus the other? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012375#4012375 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JSF question
I found a solution in the end of this page: http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch9.chapt.html 1. Delete directory JBOSS_HOME/server/CONF/jbossweb-tomcat55.sar/jsf-libs 2. Stop JBoss 3. Delete directories [jboss_home/server//data,../tmp,../work 4. Start JBoss I am usiong JBoss-4.0.3. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012376#4012376 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012376 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: propagation
End causes the conversation to be demoted to a temporary conversation (which then ends at the end of the current request). None causes the conversation not to be propagated - if you looked at the conversation list on debug.xhtml or displayed a list of conversations to the user it would still be there (just not active). Inactive conversations timeout (set via components.xml). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012377#4012377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - renderURL problem for Logout Page
I am using portlet:renderURL as form action for logout button in a jsp page. When I click on logout I am not getting any value and its redirecting to http://localhost:8080/portal page. Requirement : On click of logout button should redirect to logout.jsp and it should delete all cookies. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012378#4012378 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Eclipse 2.0.0.Beta2 doesn't keep server on Eclipse resta
We're considering removing the generic server, at least the jboss one, to remove this problem in teh future. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012381#4012381 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Calling external java applications from JBoss portal wit
Yes, the questions of User dleerob match exactly to my open questions :) ...have anyone an answer to our questions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012382#4012382 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: DayTrader benchmark deployment
Hi, I am trying the same thing. I have got the same issue. have you solved it? If yes, please share the solution. Regards, Muthukumar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012383#4012383 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Calling external java applications from JBoss portal wit
You could look at SSO solutions like JBoss SSO: http://labs.jboss.com/portal/jboo/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012384#4012384 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Performance issue on getter method of entity bean
You need to mark your methods as read-only in meta-inf/jboss.xml Also bear in mind that in general store is driven by transaction demarcation, and you control it by setting appropriate transaction attributes -- but in your simple case read-only tag should be sufficient. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012385#4012385 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: change database
Thanks for reply! I have made all as you said and deployed the recreated ear file in server's deploy directory. But when I try to log in I receive an error message: anonymous wrote : /search/form/formtemplate.xhtml @14,73 session=#{jbpmBean.jbpmContext.session}: org.hibernate.HibernateException: Unable to locate current JTA transaction. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012386#4012386 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: wsrp with https
Hi Julien, I just would like to inform you, that I have til now official support and opened a call in network.jboss.com ID is 00014082 Regards Karin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012387#4012387 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: propagation
That implies currently there isn't a simple way to end all nested conversations without keeping them around, i.e. not at the level above Java coding. Or is there? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012388#4012388 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012388 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - redeploying on jboss 4.0.4.GA
Hi all! I have an HTTP servlet, which reads the input on the doPost method and creates a SOAP Message from it, using the SAAJ API. It works correctly, but when the application (.war) is deployed again without restarting the jboss, the SOAP message creation fails with error: at org.jboss.util.xml.DOMUtils.hasChildElements(DOMUtils.java:324) at org.jboss.ws.soap.NodeImpl.(NodeImpl.java:88) at org.jboss.ws.soap.TextImpl.(TextImpl.java:38) at org.jboss.ws.soap.SOAPElementImpl.addTextNode(SOAPElementImpl.java:272) at org.jboss.ws.soap.MessageFactoryImpl.createSOAPEnvelope(MessageFactoryImpl.java:399) at org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:227) at org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:157) The code is something like this: | protected void doPost(HttpServletRequest request, HttpServletResponse response) | throws ServletException, IOException { | SOAPMessage message = MessageFactory.newInstance().createMessage(null, request.getInputStream()); | ... | } | When I restart jboss, it works correctly. This problem occours only when I use java 1.4. On java 1.5 the application works correctly even after redeploying. Please help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012389#4012389 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: AOP and Scoped Classloader
Re the JIRA story... That would be perfect. I'll have to wait until the next release and put the monitoring code into the business logic (yuk). I can't add comments into JIRA so I'll add some here... It would also be nice if we could limit a particular jboss-aop.xml to a particular classloader. Thus you could say that these bindings apply to the following classloaders and no others. That way we could scope each ear to be isolated but an outside AOP application could be applied only to certain projects which would speed up the booting time of the server. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012390#4012390 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012390 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: webdoclet classpath issue
in case anyone runs into a similar thing, the issue was that the dependency was actually on the 1.3 version of servlet-api.jar and adding that to the build path solved the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012391#4012391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: renderURL problem for Logout Page
You should instead create a link with portlet:actionURL in your JSP and then in processAction() use the signOut() method in the JBossActionResponse object. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012393#4012393 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with Seam Security
It is planned for a future release. Setting the jaasConfigName property will allow Seam to authenticate using a different jaas configuration (other than the built-in one), it won't allow the container to authenticate using Seam security. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012394#4012394 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - There is no LocalTxConnectionManager.class?
Hi everybody, I am trying to deploy an example of ear file that uses Tamino Resource Adapter configured to support LocalTransactions. That is why I need to create a file called tamino-service.xml with the following content: | ?xml version=1.0 encoding=UTF-8? | server | !-- -- | !-- New ConnectionManager setup for Tamino -- | !-- -- | mbean code=org.jboss.resource.connectionmanager.LocalTxConnectionManager | name=jboss.jca:service=LocalTxCM,name=MyTaminoLocalTxConnector | attribute name=JndiNameMyTaminoLocalTxConnector/attribute | | depends optional-attribute-name=ManagedConnectionPool | !--embedded mbean-- | mbean code=org.jboss.resource.connectionmanager.JBossManagedConnectionPool | name=jboss.jca:service=LocalTxPool,name=MyTaminoLocalTxConnector | attribute name=MinSize0/attribute | attribute name=MaxSize50/attribute | attribute name=BlockingTimeoutMillis5000/attribute | attribute name=IdleTimeoutMinutes15/attribute | !-- criteria indicates if Subject (from security domain) or app supplied | parameters (such as from getConnection(user, pw)) are used to distinguish | connections in the pool. Choices are | ByContainerAndApplication (use both), | ByContainer (use Subject), | ByApplication (use app supplied params only), | ByNothing (all connections are equivalent, usually if adapter supports | reauthentication)-- | attribute name=CriteriaByContainer/attribute | | depends optional-attribute-name=ManagedConnectionFactoryName | !--embedded mbean-- | mbean code=org.jboss.resource.connectionmanager.RARDeployment | name=jboss.jca:service=LocalTxDS,name=MyTaminoLocalTxConnector | attribute name=ManagedConnectionFactoryProperties | properties | config-property name=TaminoURL type=java.lang.Stringhttp://localhost/tamino/mydb/config-property | config-property name=UserName type=java.lang.Stringejb/config-property | config-property name=Password type=java.lang.Stringxxx/config-property | /properties | /attribute | | !--Below here are advanced properties -- | depends optional-attribute-name=OldRarDeploymentjboss.jca:service=RARDeployment,name=Tamino Resource Adapter for local transactions/depends | /mbean | /depends | /mbean | /depends | depends optional-attribute-name=CachedConnectionManagerjboss.jca:service=CachedConnectionManager/depends | depends optional-attribute-name=JaasSecurityManagerServicejboss.security:service=JaasSecurityManager/depends | depends optional-attribute-name=TransactionManagerServicejboss:service=TransactionManager/depends | | !--make the rar deploy! hack till better deployment-- | dependsjboss.jca:service=RARDeployer/depends | /mbean | /server tamino-service.xml file is stored into /server/default/deploy/. I first tried to do that with JBoss AS 4.0.5 but when I deployed and started the server I received: org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.resource.connectionmanager.Loca lTxConnectionManager; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jb oss.resource.connectionmanager.LocalTxConnectionManager) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) at org.jboss.system.ServiceController.install(ServiceController.java:226) at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at
[jboss-user] [JBoss Portal] - Re: problem in logout
In jboss-portal.sar\conf\data\default-object.xml change the portal name from default to something else and then name your own portal default. Maybe that helps. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012396#4012396 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Ready Made tasks
Ronald, It would help if you provided a link or two... I'm not sure of the answers to all of this. My initial response would be no, none of it is implemented, but if you're right that it's all in there, I must just be ignorant. The documentation on JMS-implemented nodes reads Not Yet Implemented (http://docs.jboss.org/jbpm/v3/userguide/asynchronouscontinuations.html#jmsforasychronousmessaging). -Ed View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012397#4012397 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Bean count in JBoss server
I want to check no.of bean instances created in server when my Bean is running so that I can check on my bean performance. I want to check the Bean in JBoss web console View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012399#4012399 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Can hibernate 3.2.1GA be used with the embeddable EJB contai
Can hibernate 3.2.1GA be used with any current version of the embeddable EJB container? Thanks. Adrian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012400#4012400 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - IllegalArgumentException when using Constructor expression i
I have the following JPQL-query: SELECT new se.callista.test.dto.EmployeeReportData(e.firstName, e.lastName, a.city, e.employmentPeriod.startDate) FROM Employee e JOIN e.address a ORDER BY e.lastName, e.firstName | where EmployeeReportData is a dto (not an entity). The query works fine when running it as a normal query. When I put it as a named query however, I get the following error message when trying to execute it: java.lang.IllegalArgumentException: Not an entity:class se.callista.test.dto.EmployeeReportData I can't find anything in the JPA-spec that says a named query cannot contain a constructor expression - am I missing something? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012403#4012403 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Example needed of servlet connecting to web service
ensure that your JDK is 1.5 and not 1..6 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012404#4012404 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: change database
Yes, here is where it gets tricky. I also am having that problem and am trying to get a response on how to configure either CMT ot JTA for the ear. I will add the reference posting here when If I ever get a response. One thing you can do now to continue your journey however is edit expand/lib/jbpm-configs-jar/jbpm.cfg.xml Make sure the following two are set to false. | field name=isCurrentSessionEnabledfalse //field | field name=isTransactionEnabledfalse //field | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012405#4012405 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: why my project cant determine the session is invalidated
pages.xml should help page view-id=/page-that-requires-conversation.xhtml no-conversation-view-id=/home.xhtml / View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012406#4012406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - DB Connections in JBoss Web Console
Could someone tell me how to find the number of DB connections that are being made while an application is running from the JMX/Web console Also the status of number of threads spawned. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012402#4012402 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - beginners question: how to end path of execution
Hello ! in the userguide i read this: 9.3.1. Node responsibilities 4. end paths of execution. A node can decide to end a path of execution. That means that the token is ended and the path of execution is finished. I tried a simple example which uses executioncontext.leaveNode(transitionName) which worked but than it should stop the workflow because it is a end-state node but it does not ... it returns to the leaveNode call and executes the next transition found in the xml configuration. Anyone knows how-to do end path of execution programmaticaly ? thanks a lot in advance greetings noirabys View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012407#4012407 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - NullPointerException in Multicast Detection
Has anyone seen this or know what this is? Tried checking JIRA and the forums but found nothing mentioning this. At this time, I don't know much about how this happened other than the log stack trace I got: | 2007-02-06 11:43:55,609 DEBUG [org.jboss.remoting.detection.multicast.MulticastDetector] Error receiving detection | java.lang.NullPointerException |at org.jboss.remoting.detection.AbstractDetector.isRemoteDetection(AbstractDetector.java:473) |at org.jboss.remoting.detection.AbstractDetector.detect(AbstractDetector.java:406) |at org.jboss.remoting.detection.multicast.MulticastDetector.listen(MulticastDetector.java:232) |at org.jboss.remoting.detection.multicast.MulticastDetector.access$100(MulticastDetector.java:43) |at org.jboss.remoting.detection.multicast.MulticastDetector$Listener.run(MulticastDetector.java:260) | Its logged at the DEBUG level, so can I assume this really isn't a problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012408#4012408 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Security
does the seam security support multiple authentication modes in the same application such as Digital Certificate login and Username/Password login. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012409#4012409 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: NullPointerException in Multicast Detection
Hmm.. BTW, I just noticed that (even though I'm building this code with 2.0.0.GA) that this was deployed in JBoss 4.0.5.GA which appears to ship with Remoting 1.4. I suspect this is an issue that is probably already fixed in 2.0.0.GA. But if anyone wants to confirm that, let me know :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012410#4012410 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - jboss.messaging:service=PostOffice
Hi all, I'm using JBoss 4.0.2 and y-day I installed the JBossMessaging. I changed the presistent to work with MySQL and configure any xml that needed for this to work. After I did restart to my JBossAP I get the following error: | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.messaging:service=PostOffice | State: FAILED | Reason: java.sql.SQLException: Column Index out of range, 6 5. | Is any one here know what is the problem? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012416#4012416 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5 (still)
I have found an additional problem with Seam 1.1.6(?) in CVS before you do a release... I downloaded the CVS.20070206 bundle from the Nightly builds directory. When I deployed my application using the CVS.20070206 I am still having problems with the same page, same setup described previously. Here is the stack trace I am getting: | 2007-02-07 08:49:56,313 ERROR [org.jboss.seam.servlet.SeamExceptionFilter] uncaught exception | javax.servlet.ServletException: Error calling action method of component with id _id15:_id40 | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:97) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at com.evergreen.filter.RequestDumper.doFilter(RequestDumper.java:78) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:43) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:29) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at com.evergreen.fastpass.catalina.CASSSOAuthenticatorValve.invoke(CASSSOAuthenticatorValve.java:373) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 2007-02-07 08:49:56,313 ERROR [org.jboss.seam.servlet.SeamExceptionFilter] exception root cause | javax.faces.FacesException: Error calling action method of component with id _id15:_id40 | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at
[jboss-user] [Messaging, JMS JBossMQ] - Re: Queue Receiver hangs
I can't believe it! I'm experiencing the same problem. I' m looking for a way to control if the receiver is up and to reactivate it at runtime. Anybody can help? THX Andy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012422#4012422 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Ready Made tasks
Yes. It will be really great if Ronald or someone posts some links on these features which mention whether they are implemented. Thank you. Regards, Aravind View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012426#4012426 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Global Update events/@Observe
What I did was to add somthing like this: page view-id=/list.xhtml action=#{listBean.resetList()} And in the resetList() I am reseting the list, in order to refresh the data using the @Factory which updated the list for the respective @DataModel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012427#4012427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Problem with the valve configuration
Hi All, In our production we want Sun One Web server 6.1 and JBoss App server combination. Almost all things are done. But I got one problem which i want to discuss. Basically, I have enabled Single Sign On for web server and through webserver App server got connected. The problem is if i know the ip and port on which App server running, i can able to connect directly on app server. I don't want to do that. Let only the request comes from web server (sun one- 6.1) and have the access on app server. So nobody can directly able to connect to app server. I have setup valve in the server.xml and allow only certain ip,but as this picks the client ip.(users who access it through internet obviously are not allowed with this configuration). But I want even those users also should able to connect from internet but only restriction is the request should come from web server only. I have use - className=org.apache.catalina.valves.RemoteAddrValve. I think I should have to provide different valve value than RemoteAddrValve. we have 3 machines(load balancing) for web server,so we want only 3 IP should be allowd by Tomcat. Any expert? I am sure there is someone who had done this thing. please let me know the solution. Your suggestion would be appreciated. Thanks Maulik View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012425#4012425 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: ClassCastException on invocation parameter casting
Fine, thanks! FYI: I'm using jboss 4.0.4GA in a Debian Linux box, Sun's JDK 1.4 and the latest jboss-aop deployer: 1.5.0GA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012429#4012429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - MDB's and EJB Timers
Hello, Is it possible to have Seam intercept the onMessage(...) invokations of an MDB and honor the @In, @Logger annotations? Also, same question for session beans with @Timeout methods - is it possible to have Seam do the same for methods marked @Timeout? Thanks, Brad Smith View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012432#4012432 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers
1) http://docs.jboss.com/seam/1.1.5.GA/reference/en/html/concepts.html#d0e2603 IIRC it 'just worked' for @In View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012433#4012433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Transaction Exception with Seam and EJB3
Thanks! I took your advice and researched the forums and tried handling the transaction several different ways to see if I could find the error behind the error. I see this one debug statement about 1000 times in my debugger. It starts during the JBpm deploy and seems directly related to my problem. Any help with this?? Here's where the message starts in my log... --- 2007-02-06 16:29:10,102 DEBUG [org.hibernate.hql.ast.AST] --- SQL AST --- \-[DELETE] DeleteStatement: 'delete' querySpaces (JBPM_MESSAGE) +-[FROM] FromClause: 'FROM' FromClause{level=1, fromElementCounter=1, fromElements=1, fromElementByClassAlias=[m], fromElementByTableAlias=[message0_], fromElementsByPath=[], collectionJoinFromElementsByPath=[], impliedElements=[]} | \-[FROM_FRAGMENT] FromElement: 'JBPM_MESSAGE' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=m,role=null,tableName=JBPM_MESSAGE,tableAlias=message0_,origin=null,colums={,className=org.jbpm.msg.Message}} \-[WHERE] SqlNode: 'where' \-[EQ] BinaryLogicOperatorNode: '=' +-[DOT] DotNode: 'TOKEN_' {propertyName=token,dereferenceType=ROOT_LEVEL,propertyPath=token,path=m.token,tableAlias=message0_,className=org.jbpm.msg.Message,classAlias=m} | +-[ALIAS_REF] IdentNode: 'ID_' {alias=m, className=org.jbpm.msg.Message, tableAlias=message0_} | \-[IDENT] IdentNode: 'token' {originalText=token} \-[NAMED_PARAM] ParameterNode: '?' {name=token, expectedType=org.hibernate.type.ManyToOneType(org.jbpm.graph.exe.Token)} 2007-02-06 16:29:10,102 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors 2007-02-06 16:29:10,102 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors 2007-02-06 16:29:10,102 DEBUG [org.hibernate.impl.SessionFactoryImpl] Checking 0 named SQL queries 2007-02-06 16:29:10,102 DEBUG [org.jbpm.persistence.db.DbPersistenceService] creating hibernate session 2007-02-06 16:29:10,790 DEBUG [org.hibernate.impl.SessionImpl] opened session at timestamp: 4795585946083328 2007-02-06 16:29:10,790 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2007-02-06 16:29:10,790 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2007-02-06 16:29:10,837 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,837 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,852 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2007-02-06 16:29:10,852 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection 2007-02-06 16:29:10,915 DEBUG [org.hibernate.SQL] select * from ( select processdef0_.ID_ as ID1_31_, processdef0_.NAME_ as NAME2_31_, processdef0_.VERSION_ as VERSION3_31_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN4_31_, processdef0_.STARTSTATE_ as STARTSTATE5_31_ from JBPM_PROCESSDEFINITION processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc ) where rownum = ? 2007-02-06 16:29:11,227 DEBUG [org.hibernate.loader.hql.QueryLoader] bindNamedParameters() RequestNewAccess - name [1] 2007-02-06 16:29:11,243 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:11,321 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 0, globally: 0) 2007-02-06
[jboss-user] [JBoss Seam] - Re: Transaction Exception with Seam and EJB3
Thanks! I took your advice and researched the forums and tried handling the transaction several different ways to see if I could find the error behind the error. I see this one debug statement about 1000 times in my debugger. It starts during the JBpm deploy and seems directly related to my problem. Any help with this?? Here's where the message starts in my log... --- 2007-02-06 16:29:10,102 DEBUG [org.hibernate.hql.ast.AST] --- SQL AST --- \-[DELETE] DeleteStatement: 'delete' querySpaces (JBPM_MESSAGE) +-[FROM] FromClause: 'FROM' FromClause{level=1, fromElementCounter=1, fromElements=1, fromElementByClassAlias=[m], fromElementByTableAlias=[message0_], fromElementsByPath=[], collectionJoinFromElementsByPath=[], impliedElements=[]} | \-[FROM_FRAGMENT] FromElement: 'JBPM_MESSAGE' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=m,role=null,tableName=JBPM_MESSAGE,tableAlias=message0_,origin=null,colums={,className=org.jbpm.msg.Message}} \-[WHERE] SqlNode: 'where' \-[EQ] BinaryLogicOperatorNode: '=' +-[DOT] DotNode: 'TOKEN_' {propertyName=token,dereferenceType=ROOT_LEVEL,propertyPath=token,path=m.token,tableAlias=message0_,className=org.jbpm.msg.Message,classAlias=m} | +-[ALIAS_REF] IdentNode: 'ID_' {alias=m, className=org.jbpm.msg.Message, tableAlias=message0_} | \-[IDENT] IdentNode: 'token' {originalText=token} \-[NAMED_PARAM] ParameterNode: '?' {name=token, expectedType=org.hibernate.type.ManyToOneType(org.jbpm.graph.exe.Token)} 2007-02-06 16:29:10,102 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors 2007-02-06 16:29:10,102 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors 2007-02-06 16:29:10,102 DEBUG [org.hibernate.impl.SessionFactoryImpl] Checking 0 named SQL queries 2007-02-06 16:29:10,102 DEBUG [org.jbpm.persistence.db.DbPersistenceService] creating hibernate session 2007-02-06 16:29:10,790 DEBUG [org.hibernate.impl.SessionImpl] opened session at timestamp: 4795585946083328 2007-02-06 16:29:10,790 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2007-02-06 16:29:10,790 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2007-02-06 16:29:10,837 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,837 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,852 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2007-02-06 16:29:10,852 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) 2007-02-06 16:29:10,868 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection 2007-02-06 16:29:10,915 DEBUG [org.hibernate.SQL] select * from ( select processdef0_.ID_ as ID1_31_, processdef0_.NAME_ as NAME2_31_, processdef0_.VERSION_ as VERSION3_31_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN4_31_, processdef0_.STARTSTATE_ as STARTSTATE5_31_ from JBPM_PROCESSDEFINITION processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc ) where rownum = ? 2007-02-06 16:29:11,227 DEBUG [org.hibernate.loader.hql.QueryLoader] bindNamedParameters() RequestNewAccess - name [1] 2007-02-06 16:29:11,243 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered 2007-02-06 16:29:11,321 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 0, globally: 0) 2007-02-06
[jboss-user] [Remoting] - Re: NullPointerException in Multicast Detection
I think the line in question is: | String domain = detection.getIdentity().getDomain(); | which would still be a problem in 2.x codebase. I'll open a jira issue for it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012439#4012439 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012439 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam ICEFaces
Hello Gurus, i have a small question. How much exactly are compatable ICEFaces and Seam. Second question is it a good practice to replace all JSF Backing beans with corespondent Statless and Statefull Beans. Third. If i use valueChangeListener in ICEFaces inputText to validate asynchroniusly user input is it bad to attach it to a statless bean for example. Isn't it going to be very slow because there will be remote calls on every input? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012436#4012436 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Upgrading from h3.1 to h3.2 : select count ClassCastExceptio
Hi everybody. I have an application developed under JBoss 4.0.1; in this AS there is hibernate3.1; i have used this version of hibernate for acceding to my DB; i have done a select count by using this sintax: | protected Query getQueryCount(BaseFilter filter) throws ValidateException, DaoException, IllegalParameterException { | . | . | . | | String query = select count(distinct tbasmusr.id) from TbaSmUsr tbasmusr where + tbasmusr.tbuSmUsrOus.size = 0 and tbasmusr.id != 0 ; | query = query + and tbasmusr.id != + idLogged ; | String nameUser = userFilter.getName(); | | if( !PropertyValidator.isNullable( nameUser )){ | | query = query + and ( tbasmusr.name like '% + nameUser + %' or tbasmusr.surname like '% + nameUser + %' or tbasmusr.socialName like '% + nameUser + %' ); | } | | String userType = userFilter.getUserType(); | | if( !PropertyValidator.isNullable( userType )){ | query = query + and tbasmusr.type like ' + userType+' ; | } | | return getSession().createQuery( query ); | } | In the old version of Hibernate an Integer was returned by executing this quey; in the hibernate 3.2.0 (present in the AS Jboss 4.0.4) a Long is returned.this causes a ClassCastException is this correct? Why this change? Must i recompile all my code by adapting it to this change? Thanks to all, Angelo. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012440#4012440 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: change database
I tried to copy the jbpm-enterprise.ear to the deploy directory in an original 3.2.beta1 and the error message was the same, so i think something is wrong with it. I think that is not enough, change only the hibernate.cfg.xml, i think we should change the data source and much more. It is most desirable, when we have a list, what should we to do, to change the database in jbpm-jpdl-3.2.Beta1. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012442#4012442 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012442 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Upgrading from h3.1 to h3.2 : select count ClassCastExce
http://www.hibernate.org/250.html#A42 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012446#4012446 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012446 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: IllegalArgumentException when using Constructor expressi
Found the error myself. It works fine now :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012448#4012448 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers
that's not really an answer to my question. http://docs.jboss.com/seam/1.1.1.GA/reference/en/html_single/#d0e2525 says the same thing but our experience is that @In does not get honored for the onMessage() calls by the container. So my question(s) still stand. We've actually tried this stuff. What we found is that we had to use EJB3 annotations to inject references to our session beans, and then, when we invoked methods on our session beans, Seam did successfully intercept and @Inject resources to the session beans. Seam @In (@Logger) did not work for the MDB itself; same is true for @Timeout methods in other session beans. Thanks, Brad Smith View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012450#4012450 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers
BTW - we generally do scan the docs, examples, this forum, and a bit of Googling before we post questions here. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012452#4012452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6 Alpha 2 Release
anonymous wrote : Oh, yes i saw that one, but forgot to report it on Jira/fix it. It's in there! http://jira.jboss.com/jira/browse/JBPORTAL-1240 Along with this one: http://jira.jboss.com/jira/browse/JBPORTAL-1239 For the broken security on page tabs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012453#4012453 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Global Update events/@Observe
Thanks, that is a good idea! I'm generating a lot of code and thus can not always maintain pages.xml properly in that way. I still think the feature I proposed would be a nice to have in order to propagate events... Cheers Markus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012454#4012454 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers
bsmithjj wrote : says the same thing but our experience is that @In does not get honored for the onMessage() calls by the container Sorry, just trying to help you out :( Dunno about the Timeout stuff, no experience of that. I did some work with a message driven bean for receiving emails and, as I said, @In did work for me. I've just taken a look at the code (unfortunately its in pieces at the moment) I had I seem to have used @Logger (and it was certainly writing out log messages). If you post the MDB you are trying to get working I'll check it against what I have? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012455#4012455 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user