[jboss-user] [EJB/JBoss] - Minimize the CPU Utilization on Database Server that is (96

2008-01-23 Thread Scorpio1
Hi, I have deployed J2EE application on JBoss(jboss-4.0.3SP1)server with JDK(j2sdk1.4.0). Now we wants to minimize the Resource Utilization (CPU Utilization ) on Database Server that is very high ( Around 96 %). Hoping someone could help me . Thanks in advance --Scorpio1 View the original

[jboss-user] [JBoss Seam] - Re: modify entity after persist from same method

2008-01-23 Thread nickarls
Please show the code (especially the entities since the exception seems to originate from hibernate validator) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122895#4122895 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [JBoss Seam] - Re: Validation messages are inconsistent

2008-01-23 Thread nickarls
This is probably because the required=true means that it hits JSF validation first and therefore the message displayed (and the key you want to change) is the JSF one. Probably the "javax.faces.component.UIInput.REQUIRED" but do look it up somewhere. View the original post : http://www.jboss

[jboss-user] [JBossWS] - reg: return types

2008-01-23 Thread extasy
I want to have javabean as a return type and parameter type of my web service method instead of primitive types. Can any one tell me how that could be acheived and what are the things that I need to do for that? Babu View the original post : http://www.jboss.com/index.html?module=bb&op=view

[jboss-user] [JBoss Seam] - Re: Seam Exceptions during load testing

2008-01-23 Thread gayatri.ramamurthi
we are using 1.2.1GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122891#4122891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122891 ___ jboss-user mailing list jboss-use

[jboss-user] [JBoss Messaging] - JBossMessaging 1.4.1.Beta1 Released

2008-01-23 Thread [EMAIL PROTECTED]
We just released 1.4.1.Beta1. This is release was done basically to deliver a functionality required by JBoss 5. (SecurityMetadataStore as a pluggable interface). Because of this new functionality, this release will require a change on a config file (messaging-service.xml). This is the task li

[jboss-user] [Security & JAAS/JBoss] - Re: JBoss Federated SSO: Does it support?

2008-01-23 Thread [EMAIL PROTECTED]
Arjun- Here is the detailed documentation for the JBoss Federated SSO project http://labs.jboss.com/wiki/Jboo As per your questions: anonymous wrote : | Q1) Is JBoss SX a pre requisite for JBoss SSO?? | JBoss SX is not a requirement for JBoss SSO. It supports both JAAS based authent

[jboss-user] [JBoss/Spring Integration] - Re: JBoss 4.2 Spring Deployer + Spring 2.08

2008-01-23 Thread devnulled0
Thanks for the quick reply. I've spent the day looking at other classloader issues and am finally back to this issue, and I think I'd like to try and build this against a current version of Spring. I checked-out the project from Sourceforge from trunk, and when I run the build.sh script under

[jboss-user] [JBoss/Spring Integration] - Re: JBoss 4.2 Spring Deployer + Spring 2.08

2008-01-23 Thread devnulled0
Oh, and FWIW, the current Spring version for JBoss seems to be Spring 2.0 M3. Thanks for the help and creating this deployer-- if I can manage to get it updated to a current version it will be super helpful and I can pass back any patches needed, etc. View the original post : http://www.jboss

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Unexpected Unicode interpretation for HTTPServletRequest on

2008-01-23 Thread Nat_Tul
After several try of HttpServletRequest's getParameter(String) method. When dealing with UTF-8 encoded URL containing code point between 0x0E01(encoded as %E0%B8%81) and 0x0E1F(encoded as %E0%B8%9F) inclusive. The outcome of getParameter(String) will always be 0xE0 0xB8 0x3F, which is not a valid

[jboss-user] [Security & JAAS/JBoss] - JBoss Federated SSO: Does it support?

2008-01-23 Thread ArjunDhar
Hi, I'm in the process of evaluating certain OpenSource Solutions. I've looked at CAS, JOSSO and OpenSSO. Also our owd solution but then the security audit on that would be more stringent and hence consume more time, apart from development. For better or for worse my client has bought support

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Found non-jar deployer error

2008-01-23 Thread Smartsid81
Well the jar file sid.jar is not a web module. It contains few beans and its supporting classes to interact with the database. Therefore I do not think that sid.jar has to be put under WEB-INF/lib. Can somebody please help me out for the error still persists and I am stuck in my project. Regar

[jboss-user] [JBoss jBPM] - Re: exception encountered in jbpm bpel examples

2008-01-23 Thread shefagarwal
hey thanks for the solution... I tried the same and its working fine now... Thanks again :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122878#4122878 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122878 ___

[jboss-user] [EJB 3.0] - Re: Problem during marshalling/unmarshalling

2008-01-23 Thread ocsamuel
I also get this error...how to resolve it? Caused by: java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is: java.io.OptionalDataException View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122877#4122877

[jboss-user] [JBoss Seam] - Re: how to download a file via Seam& JSF,

2008-01-23 Thread squ1rr3l
Ok, I have my code working now. There were a couple of things that didn't work: 1) Initially I tried using the | JasperExportManager.exportReportToPdfStream(jasperPrint, outputStream); | for passing the outputStream from the Response object to the JasperExportManager. AFAIK, that's what

[jboss-user] [EJB 3.0] - Detect client disconnection

2008-01-23 Thread cogauthier
Hi, I have a jsp page that call stateless session bean (ejb3). The stateless session execute processes during 45 seconds and return result to de jsp page. If a client called the jsp and close internet browser after 15 seconds. The stateless session bean and the jsp page continu to run during 45

[jboss-user] [JBoss Seam] - Re: Seam with RichFaces

2008-01-23 Thread damianharvey
There's nothing wrong with that approach. To call another bean from inside a bean you can either: a) inject the bean using @In; or b) create it inline using Component.getInstance("mybean") Cheers, Damian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122873#

[jboss-user] [JBoss Seam] - Re: Seam Topic Subscription only works with JBoss Libraries?

2008-01-23 Thread [EMAIL PROTECTED]
Yes, sorry. I should have remembered there was something extra messy you needed besides XML. We had to make changes to those classes to add support for the new JBoss Messaging project instead of the current JBossMQ support that is there now. Shane - is there really no way to push all this c

[jboss-user] [EJB/JBoss] - Re: 2 JBoss servers pointing to 1 database

2008-01-23 Thread waynebaylor
i haven't had any problem with multiple instances pointing to the same oracle install. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122871#4122871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122871 ___

[jboss-user] [JBoss Seam] - Re: Seam Topic Subscription only works with JBoss Libraries?

2008-01-23 Thread samdoyle
Thanks Shane, I'll take a look. S.D. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122870#4122870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122870 ___ jboss-user mailin

[jboss-user] [JBoss Seam] - Re: how to download a file via Seam& JSF,

2008-01-23 Thread squ1rr3l
Well I'm not sure why this isn't working for Jasper output, then. My code is very similar (although there is more involved, of course). I was actually getting the context before using injection, which worked better. I'm also using a session EJB - I assume your test code is not. In any case,

[jboss-user] [JBoss Seam] - Re: Servlets in long running conversations

2008-01-23 Thread andrey.chorniy
I have some news. it is start working for me, but to achieve that I have to add cookie parameter JSESSIONID to identify the session in which that conversation was originally created. ContextFilter and the underlying code uses the HTTP-Session to restore Conversation-Entries. If I make request

[jboss-user] [JBoss Seam] - Re: authenticator.authenticate called several times

2008-01-23 Thread terryb
I have removed some code for clarity. also this will change further as I use other Identity events. | MyAuthenticator.java | | | package au.edu.tisc.session; | | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Logger; | import org.

[jboss-user] [JBossWS] - Re: Dispatch WS-Security Bug

2008-01-23 Thread cavani
http://jira.jboss.org/jira/browse/JBWS-1966 Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122865#4122865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122865 ___

[jboss-user] [JBossWS] - Re: Dispatch WS-Security Bug

2008-01-23 Thread cavani
Further exploration and minimal code change seems to fix this issue: First, changing direction (pivotation) from out- to in-bound. | (...) | resMsg = getRemotingConnection().invoke(reqMsg, epInfo, false); | | msgContext = MessageContextJAXWS.processPivot(msgConte

[jboss-user] [EJB/JBoss] - Re: Is passivation enabled twice?

2008-01-23 Thread javidjamae
So is this a bug? Any insight? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122862#4122862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122862 ___ jboss-user mailing list

[jboss-user] Disable caching in Jboss.

2008-01-23 Thread Eglia Koncurat
This is the situation, I have a directory outside of JBOSS_HOME which contents are updated on a regular basis. The application looks into this directory to show search results. When I update this directory, my application doesn't see the changes up until when I bounce Jboss. What settings can I set

[jboss-user] [JBossWS] - Accessing USERNAME_PROPERTY from Web Service class

2008-01-23 Thread mjhammel
In my client I do this to authenticate with BASIC authentication: /* Setup to authenticate with the server. */ | bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, subscriberID); | bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, pw

[jboss-user] [JBoss Seam] - Re: @Logger is null

2008-01-23 Thread svadu
No idea, it works fine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122859#4122859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122859 ___ jboss-user mailing list jboss-us

[jboss-user] [JBoss Seam] - Validation messages are inconsistent

2008-01-23 Thread ristretto
Can anyone explain why I can control the message for @Pattern, but the message for @NotNull is ignored. Explanation: If I annotate a field on an @Entity with these annotations | @NotNull(message="field is null") | @Pattern("^\W$",message="field not valid") | and then reference the en

[jboss-user] [JBoss Seam] - modify entity after persist from same method

2008-01-23 Thread jsutherland
Just wondering if it is possible to change a newly persisted entity instance (from EntityHome) in the same action method. I can't seem to find any information about this anywhere.It is certainly hibernate related.. My action method injects 3 types of EntityHome objects My problem is th

[jboss-user] [JNDI/Naming/Network] - Error Accessing java:comp/env from SAR

2008-01-23 Thread vikas_sm
Hello All, I have an Mbean which tries to bind an object to "java:comp/env/jbi/ClientFactory" name. The binding fails as env is not available under java: Namespace. How can I make env available under java: namespace? In other words i want to bind the given name from SAR. Any help will be

[jboss-user] [JBoss Seam] - Seam with RichFaces

2008-01-23 Thread tulip
I have a very basic question. We have a bunch of session and entity beans. On the presentation tier, we need to use RichFaces component such as tree etc. Now the session bean methods returns a list of entity objects. For the front end, I need to take this list and construct a richFaces tree and

[jboss-user] [JBoss jBPM] - Re: Cannot build JBPM source from CVS

2008-01-23 Thread kukeltje
1: could be a slip of the keyboard. I'm not sure. 2: linux, no not needed. only the java files of eclipse are needed. Regarding the error. [java] /home/agaton/projects/jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.build/genericTargets.xml:63: | Unable to find plug-in: org.jbpm.gd.jpdl_0.0.0.

[jboss-user] [JBoss Seam] - Re: FacesContext is null in Identity.initCredentialsFromCook

2008-01-23 Thread [EMAIL PROTECTED]
What does FacesContext.getCurrentInstance() return when it's an a method invoked by a JSF action? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122846#4122846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122846

[jboss-user] [JBoss Messaging] - Re: Issues moving from postgresql to oracle

2008-01-23 Thread rbreault
They were database connection issues When I copied the ds files I must have done something wrong after I used scp to move the examples over it worked. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122845#4122845 Reply to the post : http://www.jboss.com/inde

[jboss-user] [JBoss Seam] - Re: roles redirecting methods

2008-01-23 Thread [EMAIL PROTECTED]
Ok, I think I finally understand what you're saying. Unfortunately no, we won't be implementing anything like this, from what I can see it will complicate the security model tremendously without any substantial benefit. Your example use case of filtering orders by role can easily be achieved w

[jboss-user] [JBoss Seam] - Re: how to download a file via Seam& JSF,

2008-01-23 Thread dustismo
The code I posted works fine for me.. Here is a working example. Component: | @Name("testController") | @Scope(ScopeType.PAGE) | public class TestController { | public void hello() { | try { | FacesContext context = FacesContext.getCurrentInstance

[jboss-user] [JBoss Seam] - Re: Seam Topic Subscription only works with JBoss Libraries?

2008-01-23 Thread [EMAIL PROTECTED]
Set the connectionProvider property for the subscriptionRegistry component to the class name of the JMSConnectionProvider implementation you want to use. Look at JBossConnectionProvider for an example implementation. All of these classes are in the org.jboss.seam.remoting.messaging package. V

[jboss-user] [JBoss Seam] - Re: seam remoting in seam app = loose of principal

2008-01-23 Thread [EMAIL PROTECTED]
We currently don't support any kind of integration with container security, I'm actually surprised that it works with regular seam action calls (by 'regular' I assume you mean a JSF call). How is your container security configured? View the original post : http://www.jboss.com/index.html?modul

[jboss-user] [JBoss Seam] - Re: problem with multiple seam component jars in a WAR

2008-01-23 Thread srini.ragu
in case you want relative path try this.. file:my-application.war!/WEB-INF/lib/myapp1.jar otherwise the best/cleaner option is to bundle your application as ear, with the entity jars directly inside the ear myapp.ear ---entity.jar ---mywebapp.war --WEB-INF -lib on that case you wi

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Help! JBoss 4.0.5, Log4J, and PojoCache

2008-01-23 Thread joe_shabadoo
I'm currently deploying multiple web applications (WAR's) to a JBoss 4.0.5 AS. Each web application contains the necessary Cache & PojoCache resources, and it works as expected until I attempt to share cached data between them.For example in web application A I'm able to attach and find obj

[jboss-user] [JBoss Seam] - Re: Why control IDs in validation messages?

2008-01-23 Thread ristretto
I want thank the posters of this thread so much for this topic. I am learning JSF, Seam and Facelets all at the same time. (I have been coding Java since version 1.0.2, but slipped a bit behind the curve as of late.) I didn't see the messages.properties connection in the Seam documentation I

[jboss-user] [JBoss Seam] - Re: Select item from table and convertEntity

2008-01-23 Thread brachie
Ok, thanks for your help! It works like I want it now :-) But can anyone explain to me what happens behind the scene when passing the entity-object (pers in my example) directly as method parameter? Well, it works, but how? Alexander View the original post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss Seam] - Re: Using rich:datascroller With Seam and Hibernate Paginati

2008-01-23 Thread brachie
Hi, have a look here: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112998 Regards, Alexander View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122827#4122827 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4

[jboss-user] [JBoss Seam] - Re: iText (PDF) support in Seam

2008-01-23 Thread elponderador
Excuse my ignorance, but I don't appear to be able to add JIRA issues or simply do not know how. Maybe it relies on my contributors agreement being approved. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122823#4122823 Reply to the post : http://www.jboss.c

[jboss-user] [JBoss Seam] - Re: Value is not Valid with

2008-01-23 Thread franck93
The equals method is being called many times. Here's what happens : The object passed to the equals method as a parameter is always null. The object this (on which the method is invoked) is the one that was selected from the dropdown list. What does that mean? View the original post : http://

[jboss-user] [JBoss Seam] - Re: Ending default scope SFSB's needed?

2008-01-23 Thread nickarls
Well, at least that's I'll believe until someone corrects me... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122820#4122820 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122820 ___

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Why unable to get client certificate serial number?

2008-01-23 Thread waterhead77br
Hi, I'm having the same issue. How did you solve it? Can't figure out how to setup Apache mod_jk + ajp13 + client cert chain. Looking in the mod_jk.log in the debug mode. I have the following log: The interesting thing is that the mod_jk doesn't send the whole certificate, it seems

[jboss-user] [JBoss Seam] - Re: Ending default scope SFSB's needed?

2008-01-23 Thread Oberiko
Really? That's very useful then. I've been smacking my head trying to figure out how to get what I needed (ideally something similar to the Page scope since I'm trying to avoid the session scope, but that's not allowed for stateful beans) until I just tried the default and it worked. Thank yo

[jboss-user] [JBoss Seam] - Re: Value is not Valid with

2008-01-23 Thread nickarls
Tried putting debug code in hashCode and equals to see that they are called and returning expected results? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122817#4122817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41

[jboss-user] [JBoss Seam] - Re: iText (PDF) support in Seam

2008-01-23 Thread [EMAIL PROTECTED]
Please open a JIRA issue for the changes. I have no problem including this type of functionality. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122816#4122816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41

[jboss-user] [JBoss Seam] - Re: how to download a file via Seam& JSF,

2008-01-23 Thread nickarls
Is FacesContext.getCurrentInstance().getResponseStream() useable? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122815#4122815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122815 _

[jboss-user] [JBoss Seam] - inline image email attachment

2008-01-23 Thread sandy_brydon
i'm am resurrecting my old post http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100391#4100391 which i got little traction (probably because i just hung it off another chain). I am having trouble with how an inline attachment is supposed to work since it doesn't see

[jboss-user] [JBoss Seam] - Re: Ending default scope SFSB's needed?

2008-01-23 Thread nickarls
Then you are in a temporary conversation and you're done with the bean when you are done with the conversation, which is about when the request ends. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122814#4122814 Reply to the post : http://www.jboss.com/index

[jboss-user] [JBoss Seam] - Re: Ending default scope SFSB's needed?

2008-01-23 Thread Oberiko
Yeah, but I'm not explictly calling @Start or @End on any of my methods. How does Seam determine when I'm finished with this session bean? | package org.domain.myProject.session; | | import static javax.persistence.PersistenceContextType.EXTENDED; | | import java.util.List; | |

[jboss-user] [JBoss Seam] - Re: how to download a file via Seam& JSF,

2008-01-23 Thread nickarls
Hmm, using a ServletOutputStream os shouldn't make a difference, should it? One one think that it's the same code called... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122811#4122811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting

[jboss-user] [JBoss Seam] - Seam/Portlet Architecture and Deployment

2008-01-23 Thread stephanos
Hi guys, I am planning to use Seam within a portlet (for the JBoss Portal to be more specific). Basically I am just trying to figure how to construct the architecture for that. Should I put all the business logic and persistence stuff into the portlet or should (can?) I seperate that stuff int

[jboss-user] [JBoss Seam] - Re: Pageflow recurence

2008-01-23 Thread blabno
BTW. If I annotate countryCreator.init method as @Begin then I get : java.lang.IllegalStateException: begin method invoked from a long-running conversation, try using @Begin(join=true) on method: init This does not give me the clue that I must supply pageflow name : @Begin(pageflow="addCountry")

[jboss-user] [JBoss Seam] - Re: Ending default scope SFSB's needed?

2008-01-23 Thread nickarls
Seam should take care of the recycling when the conversation ends. Of course, if there are and special cleanups to be made in order to release special resources, you can use a @Destroy method View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122806#4122806 Repl

[jboss-user] [JBoss Seam] - Pageflow recurence

2008-01-23 Thread blabno
I have following pages : 1)/locations/browseLocations.jspx 2)/locations/addCountry.jspx 3)/locations/complete.jspx I want to add country to DB. So I place button on browseLocations.jspx : Now the page flow should start. But when there is a problem during countryCreator.addCountry method invocatio

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - How to terminate a running servlet from JMX?

2008-01-23 Thread ramboid
How can stop, undeploy, start, etc one servlet that runs in a context? I can stop, start, undeploy, deploy, etc all the servlets of a context via the JMX concole by using the MainDeployer MBean operations. I would like to carry out these operations in just one servlet of the context. View the

[jboss-user] [JBoss Seam] - Re: how to download a file via Seam& JSF,

2008-01-23 Thread squ1rr3l
Thanks for the reply. Is that code working for you? Because that's exactly what I tried, but I get the | Servlet response already use stream, Writer not possible | error when I do that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122803#4122803

[jboss-user] [JBoss jBPM] - Scaling BPEL processes

2008-01-23 Thread meghanai_99
Hello, We have been using JBPM-BPEL for a while now and have developed number of BPEL processes. As we move forward we expect a lot more getting deployed to single instance of JBoss server. Currently each BPEL process has corresponding 'war' file. When we go beyond certain number of war files

[jboss-user] [JBoss Seam] - Ending default scope SFSB's needed?

2008-01-23 Thread Oberiko
Hello. If I have a stateful session bean in the default (i.e. undeclared) conversation scope, do I need (or is it good practice) to end it somehow? Or can I just let Seam take care of it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122801#4122801 Reply

[jboss-user] [JBoss Seam] - Re: Displaying dataTable row numbers with uiComponent, what

2008-01-23 Thread Oberiko
Hmm... I was hoping to avoid binding and creating additional components if possible. It's not a highly needed feature, and I think the solution on that thread outweighes the benefits. Still, nothing about the uiComponent? That looked like the nice and simple solution I was looking for. View

[jboss-user] [JBoss Seam] - Using rich:datascroller With Seam and Hibernate Pagination

2008-01-23 Thread neilac333
I prefer to handle all my pagination on the server with Hibernate, but I also want to use the component. My Seam component "knows" the following information: 1) The total number of page results 2) The current page number of results 3) The desired number of results per page 4) The search results

[jboss-user] [Beginners Corner] - Re: NotContextException when I deploy ejb3 and ejb2 in the s

2008-01-23 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : somebody knows why the NamingServer class can get an instance Of org.jnp.interfaces.MarshalledValuePair instead an instance of class Reference, when i pass the jndiname of my session bean ("MySessionBeanName/remote"). That's is the problem, because this class is not

[jboss-user] [Beginners Corner] - Re: NotContextException when I deploy ejb3 and ejb2 in the s

2008-01-23 Thread [EMAIL PROTECTED]
somebody knows why the NamingServer class can get an instance Of org.jnp.interfaces.MarshalledValuePair instead when i pass the jndiname of my session bean ("MySessionBeanName/remote"). That's is the problem, because this class is not an instance of Reference and in the lookup method of NamingSe

[jboss-user] [JBoss Seam] - Re: Displaying dataTable row numbers with uiComponent, what

2008-01-23 Thread ristretto
Check out this post http://www.jboss.org/index.html?module=bb&op=viewtopic&t=105780 Last post in that thread. Using binding as described worked for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122796#4122796 Reply to the post : http://www.jboss.com/i

[jboss-user] [JBoss Seam] - Re: getInstance causing a ClassCastException

2008-01-23 Thread jrwsampson
Thanks - works like a champ. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122794#4122794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122794 ___ jboss-user mailing list jb

[jboss-user] [JBossWS] - Dispatch WS-Security Bug

2008-01-23 Thread cavani
I was trying to use WS-Security with JAX-WS Dispatch from version 2.0.2 but the response message returned still encrypted (it works with generated client). After some debug and code reading, I think that I figured it out. On DispatchImpl, the code is: | (...) msgContext.put(MessageConte

[jboss-user] [JBoss Seam] - Re: How to do a redirect to something *not* a viewId?

2008-01-23 Thread [EMAIL PROTECTED]
I think there is already a JIRA feature request for that, search. And if there isn't please open one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122790#4122790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122790

[jboss-user] [JBoss Seam] - Re: Seam Topic Subscription only works with JBoss Libraries?

2008-01-23 Thread samdoyle
Ah thanks Norman, I assume this is where this entry comes into play? | | topic/chatroomTopic | | The only thing I have set in my components.xml is the jndi-pattern | | Thanks, S.D. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122791

[jboss-user] [JBoss Seam] - Re: FAILED CONFIGURATION: @BeforeClass init

2008-01-23 Thread vikramchhetryy
seam-2.0.1.CR1 jboss-4.2.2.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122787#4122787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122787 ___ jboss-user mailing list

[jboss-user] [Security & JAAS/JBoss] - SOLVED: Re: NullPointerException @ DatabaseServerLoginModule

2008-01-23 Thread jahebe
So it would seem that you need to enable | | in jboss-web.deployer/server.xml! Even though there's only one web-app in the EAR... weird. Anyway - now it's OK, thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122785#4122785 Reply to the post :

[jboss-user] [JBossWS] - Some explanation on SubscriptionManager endpoint and Subscri

2008-01-23 Thread asouza_2000
Hi, guys I'm recently implementing some notifications using ws-eventing with jbossws-2.0.1-SP2. I've got some doubts and maybe any of you guys could help me out. I don't understand why I need to declare a subscription manager endpoint. If JBoss already has a Subscription Manager MBean, and if

[jboss-user] [JBoss jBPM] - Cannot build JBPM source from CVS

2008-01-23 Thread clandestino_bgd
Hi all, problem is in the subject. My environment is: Ubuntu 7.04 JDK Sun 1.5.0 ANT 1.7.0 I have followed instructions from jbpm.3/build/readme file. All dependencies are downloaded in my user.home/jbpm/repository folder. I have checked out clean copy. In my local build.properties, I override on

[jboss-user] [JBoss Seam] - How to do a redirect to something *not* a viewId?

2008-01-23 Thread Toby451
We are applying the URLRewriteFilter to get nice and SEO-friendly URLs. At some places we would like to be able to do a redirect to the nice URL such as "/foo-bar" instead of the viewID... To be specific we want that almost all of the time since we don't want that the user is able to escape the

[jboss-user] [JBoss Seam] - Re: NonUniqueObjectException and EntityManager

2008-01-23 Thread blabno
Abrakadabra ! I have stateful CountryCreatorBean, that has a reference to stateless LocationBean. When CountryCreatorBean.addCountry() is called then in the body of that method LocationBean.addCountry(country) is called. Country variable is injected into CountryCreatorBean by the SEAM, by the w

[jboss-user] [JBoss Messaging] - Re: How Do I Run JBoss Messaging TestSuite in Q1 2008

2008-01-23 Thread cmagidcmagid
Thank you so much for your reply. I am following the directions at url: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingBuildInstructions. BTW I added the workaround for je-3.2.44.jar. I get up to the step 3 where I execute: ./build.sh report and get the error I reported.From ste

[jboss-user] [JBoss Seam] - Re: s:decorate and javaScript update ?

2008-01-23 Thread enda
I know that it is not a javaScript variable that is more than obvious ;D. I was trying to find a way for client side validation as trinidad offers. I read in JIRA that Gavin agreed with client side validation in Seam, so I am curious how to ;D View the original post : http://www.jboss.com/in

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Force rescan for .war deployment.

2008-01-23 Thread dmfarb
Thanks, that seems to work, although why it doesn't work any longer to just drop the .war in the deploy directory is a question for another day. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122772#4122772 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Force rescan for .war deployment.

2008-01-23 Thread dmfarb
Dropping a .ear in the directory works fine... Well, its all magic anyway. Must be the phase of the moon or something View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122773#4122773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to start the JBoss Server on Mac OS X.

2008-01-23 Thread chrisrjcox
Thank you PeterJ and itsme. With your help I have managed to start and test my JBoss Installation! After running the chmod a+x *.sh command (from the bin directory) I ran the following: ./run.sh -c jbpm (I'm using the JBoss jBPM installation) And it works. Thank you so much, I'm not sure why

[jboss-user] [JCA/JBoss] - Re: ManagedConnectionFactory.setLogger

2008-01-23 Thread vickyk
"iit" wrote : If I cannot disable it then it's a bug in JBoss because once a logger has been set I don't see anything going against JCA specs here , this can be as the feature request . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122774#4122774 Reply to

[jboss-user] [JCA/JBoss] - Re: Destroying connection that could not be successfully mat

2008-01-23 Thread vickyk
"daphnaw" wrote : | What did you mean by "these connections are already matched " ? Where are they matched? Could this be the problem? They are matched before the free connection is taken from the subpool . // Determine the pool key for this request | boolean separateNoTx = fa

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: HotDeploy from Eclipse work folder

2008-01-23 Thread PeterJ
No, you cannot define two different deployment scanners. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122768#4122768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122768 __

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: HotDeploy from Eclipse work folder

2008-01-23 Thread frank1russo
Sorry. I meant two different DeploymentScanners... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122767#4122767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122767 ___ jbos

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: HotDeploy from Eclipse work folder

2008-01-23 Thread frank1russo
Is it possible to define to different DeploymentScanner mbeans? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122766#4122766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122766 ___

[jboss-user] [JBoss Seam] - Re: Pageflow hides stacktrace

2008-01-23 Thread Kruno
If I understood you correctly this thing can not be solved. It is very inconvenient thing for slowing those especially nasty bugs that can not be reproduced easily, Would it make any difference if I post request on JIRA for JBPM. Anyway thank you for your trouble. Regards Kruno. View the origin

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to start the JBoss Server on Mac OS X.

2008-01-23 Thread PeterJ
You have to first change the permissions on run.sh to make it executable. Try this (from the bin directory): chmod a+x *.sh Then try running it again: ./run.sh By the way, su is the 'switch user' command used to switch to any user. In your case, you asked to switch to the user whose name is

[jboss-user] [Messaging, JMS & JBossMQ] - connection factories and JMS

2008-01-23 Thread sagimann
Hi, I've starting using JMS over JBoss not long ago, and I've been reading the docs over and over. Something is still not clear to me: when I send messages, I can configure a and reference it in my code/jboss.xml, so that messages I send go through that connection factory... BUT: where do I sp

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Force rescan for .war deployment.

2008-01-23 Thread PeterJ
You can manually deploy an application (including a war file), by invoking the deploy method on the jboss.system:service=MainDeployer mbean. You can do this through the JMX Console or twiddle. (There are two deploy() methods, you can use either one but the one that takes a String is probably a

[jboss-user] [Beginners Corner] - Re: JBoss starts but no access

2008-01-23 Thread PeterJ
Another thought. Get the listdlls utility from sysinternals (http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ListDlls.mspx). Start JBossAS, open a second command prompt, enter: listdlls java and post the output. This will provide some information on the winsock dll being us

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: HotDeploy from Eclipse work folder

2008-01-23 Thread PeterJ
You could set up additional deploy directories by adding to the URLs attribute in the last mbean in server/xxx/data/jboss-service.xml. (See the comments in that file for instructions) The only difficulty is that either the archive file or the directory must end with .war or else the hot deploye

[jboss-user] [JBoss Seam] - Re: programmatic starting a list of conversations

2008-01-23 Thread tschnoelzer
One can start multiple "long" running conversations in seam using the API. But I have to start simple "short" conversations that are managed in the workspace manager / switcher. Here i miss the API to do this... :-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to start the JBoss Server on Mac OS X.

2008-01-23 Thread chrisrjcox
Hi, Thanks for the fast reply :) I have just tried the below command in terminal from within the bin directory. host46:bin Chris$ ./run.sh -bash: ./run.sh: Permission denied host46:bin Chris$ su ./run.sh Password: su: Sorry Then tried the below from within the server directory. host46:server

[jboss-user] [JBoss Seam] - @Logger is null

2008-01-23 Thread kasim
Not sure why this is happening. I upgraded our app from Seam 1.2 to Seam 2.0. Went through the seam2migration document, adjusting items as needed. Now for some reason @Logger does not inject anything, so the log is null and hence throwing lots of NPE exceptions. Any ideas as to why it could

[jboss-user] [JBoss AOP] - JBoss 4.2.2.GA + JDK 1.6.0_03

2008-01-23 Thread apinto
Hi there! I'm having some problems with the standard AOP distribution that comes with JBoss 4.2.2.GA running on JDK 1.6.0_03: there are no interceptions. I can see the jboss-aop.xml deployment, but when the methods to intercept are invoked, nothing happens. Can anyone help me please? Thanks a l

  1   2   3   >