[jboss-user] [Management, JMX/JBoss] - Add new attribute in jboss-service.xml. Plz help
Hello, I am already having a schedulable instance of MBean running on my JBoss. The jboss-service.xml is as follows: true :name=OrderPlacer perform( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME ) NOW 30 -1 dd/MM/ HH:mm Now I want to add a new attribute in the above. Can anyone please let me know how shall I go about it. I want a new attribute in xml above and use its value specified in my implementation class. Can anyone help me in this ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959445#3959445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - How to retrieve client IP address?
I am currently using JBoss 4.0.4 GA Patch 1, where Axis Web Services is replaced by JBoss Web Services now. Previously i can use Axis's MessageContext class to retrieve client remote IP address, but not anymore in JBoss Web Services. Is anyone know the way to get the client remote IP address when they invoke the Web Services? Thanks in advance. Regards, StephenLim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959443#3959443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959443 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Could not start JBoss 4.0.4
Hello, No other extra configuration is needed. Makesure no other JBoss instance is running, while starting the server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959440#3959440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem
Please tell me how to turn on log for that kind of informations. It's enought log for ContainerBase? This is the only one that I add to the standard log4j At this moment, in my log related to SSO i found only: | ... | 2006-07-19 16:08:17,140 DEBUG [org.jboss.web.tomcat.tc5.sso.TreeCacheSSOClusterManager] Successfully integrated with cache service jboss.cache:service=TomcatClusteringCache | ... | 2006-07-19 16:35:17,578 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Process request for '/now/Main.jsp' | 2006-07-19 16:35:17,578 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Checking for cached principal for 5FA6BEF297272CD734130D4DAC707A4B | 2006-07-19 16:35:17,578 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Found cached principal 'user2' with auth type 'FORM' | 2006-07-19 16:35:17,578 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Associate sso id 5FA6BEF297272CD734130D4DAC707A4B with session SessionBasedClusteredSession[id: g+2eoqxmkoLfW7IYqRpxWQ**.node1 lastAccessedTime: 1153319717328 version: 3 lastOutdated: 0] | 2006-07-19 16:35:17,578 DEBUG [org.jboss.web.tomcat.tc5.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: g+2eoqxmkoLfW7IYqRpxWQ**.node1 jvmRoute: node1 | 2006-07-19 16:35:17,578 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] check to see if needs to store and replicate session with id g+2eoqxmkoLfW7IYqRpxWQ**.node1 | 2006-07-19 16:35:17,578 DEBUG [org.jboss.web.tomcat.tc5.session.ClusteredSession] processSessionRepl(): session is dirty. Will increment version from: 3 and replicate. | 2006-07-19 16:35:17,703 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Process request for '/now/ABSMenuIndex.jsp' | 2006-07-19 16:35:17,703 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Checking for cached principal for 5FA6BEF297272CD734130D4DAC707A4B | 2006-07-19 16:35:17,703 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Found cached principal 'user2' with auth type 'FORM' | 2006-07-19 16:35:17,703 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Associate sso id 5FA6BEF297272CD734130D4DAC707A4B with session SessionBasedClusteredSession[id: g+2eoqxmkoLfW7IYqRpxWQ**.node1 lastAccessedTime: 1153319717578 version: 4 lastOutdated: 0] | 2006-07-19 16:35:17,703 DEBUG [org.jboss.web.tomcat.tc5.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: g+2eoqxmkoLfW7IYqRpxWQ**.node1 jvmRoute: node1 | 2006-07-19 16:35:17,703 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] check to see if needs to store and replicate session with id g+2eoqxmkoLfW7IYqRpxWQ**.node1 | 2006-07-19 16:35:17,703 DEBUG [org.jboss.web.tomcat.tc5.session.ClusteredSession] processSessionRepl(): session is dirty. Will increment version from: 4 and replicate. | 200 | . | I hope this is useful Thanks Roberto View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959439#3959439 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959439 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Could not start JBoss 4.0.4
Hi, I am dam sure that the port 8080 is not in use. Also I tried to override the port to 8090 etc.. but it gives me the same error. Is there any change to be made in the configuration files before starting JBoss4.0.4 server? Anand View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959438#3959438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Could not start JBoss 4.0.4
Hello, Check that port is already used by any other process. If so, stop that process and restart the server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959437#3959437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - How to start JBoss 4.0.4 ?
Hi, I downloaded JBoss4.0.4 as jboss-4.0.4.GA.zip file. I extracted it on c:\ Now I want to start JBoss, hence I set JAVA_HOME env and run the run.bat file from C:\jboss-4.0.4.GA\bin When I run the run.bat file, it gives me lots of errors. Mainly gives me 2 errors 1) comp not found 2) Port 8080 is already in use I could start JBoss3.0.8 vesion but JBoss4.0.4 is giving me errors. Can somebody tell me how to start JBoss4.0.4? regards, Anand View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959435#3959435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Maven Archetype for Seam?
If an archetype means writing the pom, then it is planned (unfortunately i won't have the time before next week). It will take me much more that 10 minutes to define all the dependencies (and creating the pom files for them) without forgetting any, trust me ;) But if you can do it in 10 min i will be happy to include it to our Maven repository.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959433#3959433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Configuration to remove key Server from HTTP header
Ya.. I removed that from the header. I want to remove the Server also. I put a Valve in the request/reponse processing pipeline and tried to change value of the key Server. but wat i got is the key Server got added twice in the header. HTTP/1.1 200 OK | Server: Apache-Coyote/1.1 | Set-Cookie: JSESSIONID=BAEB56FBC19BEE1B1C5FECBBBEBA5C80; Path=/; Secure | | Stored cookie 192.168.3.156 443 / nonpermanent 1 Thu Jan 1 05:29:59 1970 | JSESSIONID BAEB56FBC19BEE1B1C5FECBBBEBA5C80 | Server: My Server | Content-Type: text/html | Content-Length: 0 | Date: Thu, 20 Jul 2006 08:25:34 GMT | Connection: keep-alive ...and my Source code is import javax.servlet.http.HttpServletResponse; | import java.io.IOException; | import javax.servlet.ServletException; | import org.apache.catalina.connector.Request; | import org.apache.catalina.connector.Response; | import org.apache.commons.logging.Log; | import org.apache.catalina.valves.ValveBase; | | public class KnHttpRequestFilterValve extends ValveBase { | | private static final String info = KnHttpRequestFilterValve.class.getName() + "/1.0"; | | public String getInfo() { | return info; | } | | public void invoke(Request request, Response response) | throws IOException, ServletException { | | Log log = container.getLogger(); | // process request | log.debug("Processing Request..."); | processRequest(request, response); | | // call next valve | getNext().invoke(request, response); | | // process response | log.debug("Processing Responses..."); | processResponse(request, response); | } | | private void processRequest(Request request, Response response) | throws IOException, ServletException { | } | | private void processResponse(Request request, Response response) | throws IOException, ServletException { | | if (response instanceof HttpServletResponse) { | ((HttpServletResponse)response).setHeader("Server", "My Server"); | } | } | } | ... and the valve configuration is | | |... |... I feel like the key Server is put in the last stage of response processing pipeline. Any idea to remove this ?? Thanks, Jiji View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959432#3959432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Strange java.lang.ClassCastException: org.jboss.axis.Message
Hi all, i searched the whole forum, but i was not able to find a problem like this. Maybe anybody can help me finding a solution. I want to use a webservice to get some information from a iis server. I am using jboss 4.0.2. If i write a main method and just let my source run, everything works fine. If i trie to do the same with jboss, i will get a class cast exception. The error is the following: My "local - console" class is: org.apache.axis.Message if i start the server, it uses: org.jboss.axis.Message and tries to set the message @ the apache.axis.MessageContext, which ends with a class cast exception. If i replace jboss-saaj.jar and jboss-jarprc.jar with saaj.jar and jarpc.jar from apache.org it all works fine. But i do not know what happends to the rest of my jboss installation, if i just replace those two jar files... but just let some code show u what i mean: in a console / eclipse (right click, run as java application) | Service service = new Service(); | Call call = (Call) service.createCall(); | call.setPassword(password); | call.setUsername(userName); | call.setTargetEndpointAddress(new java.net.URL(endPointUrl)); System.out.println(call.getMessageContext()); // org.apache.axis.MessageContext System.out.println(msg.getClass().getName());// org.apache.axis.Message | call.getMessageContext().setMessage(msg); | call.invoke(); | at my application server it looks like that: | Service service = new Service(); | Call call = (Call) service.createCall(); | call.setPassword(password); | call.setUsername(userName); | call.setTargetEndpointAddress(new java.net.URL(endPointUrl)); System.out.println(call.getMessageContext());//org.apache.axis.MessageContext System.out.println(msg.getClass().getName());//org.jboss.axis.Message | call.getMessageContext().setMessage(msg); // <-- classCastException | call.invoke(); | You see the differents ? It ones uses jboss and the othertime apache. Why is that so? I copied saaj.jar and jarpc.jar to my lib folder. any idea or hints for me ? Thx ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959431#3959431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Could not start JBoss 4.0.4
Hi, I downloaded JBoss4.0.4 as jboss-4.0.4.GA.zip file. I extracted it on c:\ Now I want to start JBoss, hence I set JAVA_HOME env and run the run.bat file from C:\jboss-4.0.4.GA\bin When I run the run.bat file, it gives me lots of errors. Mainly gives me 2 errors 1) comp not found 2) Port 8080 is already in use I could start JBoss3.0.8 vesion but JBoss4.0.4 is giving me errors. Can somebody tell me how to start JBoss4.0.4? regards, Anand View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959430#3959430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Windows Explorer automatically pops up displaying C:\Pro
"PeterJ" wrote : In Explorer, under Tools | Folder Options, in the View tab, is 'Restore previous folder windows at logon' checked? No, it's not checked. "PeterJ" wrote : ...that you are seeing an Explorer window opening at the JBoss home directory. You are right, this is precisely the problem. "PeterJ" wrote : It would help to have a more thorough description of the window in question (i.e., window title text, text within window, buttons displayed, etc.). explorer window title: C:\Program View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959428#3959428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to stop unknown user from seeing a page
This looks right to me. Right before groups.xhtml is rendered the page action is triggered, the result of the page action sends you back to groups.xhtml and triggers the page action, which sends you back... Try having your page action return "login" if you need a login and null if not. I think that'll work better. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959427#3959427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Logging Configuration
http://www.jboss.org/wiki/Wiki.jsp?page=Logging View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959426#3959426 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Inject EL Results
Hello, okok, perhaps my yesterday's post was a little bit confusing. I'll give it another try with totally other words. In Facelets, you can use the ui:include tag to embed components, and you can use ui:param to pass arguments to that components. Inside the included component, the arguments are accessible via EL without any problem, but they are not injectable to seam components. So I suppose that there is some kind of local variable storage in Facelets, which is not accessible from Seam. I can imagine several solutions for this: - I am perfectly wrong and there is just a mistake I made somewhere - Modify Seam so that it can access to that local variable storage - Add a custom tag which allows to store an EL result in a context variable (so that I can copy them over to something which is visible for Seam) - Add something else so that I can inject the result of an EL expression What do you think? Regards, Marcus. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959425#3959425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Logging Configuration
JBOSS_HOME/server/[server-name]/conf Look at the log4j.xml file that is already present and configure as required. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959424#3959424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Begin and @End
"[EMAIL PROTECTED]" wrote : If you really _have_ to have transparent lazy fetching of data off of the user, combined with caching of that data then create a session-scoped managed persistence context. | | There are a couple of ways to do this, but the easiest is to use Seam 1.1 CVS build and throw the following in components.xml: | | | | java:/myEntityManagerFactory | | | | | | Hello, i want to use the approache mentionend above but i have some questions regarding this. | | 1) | What does "myEntityManagerFactory" means in this context, is that the value of the "jboss.entity.manager.factory.jndi.name" property described in my persistence.xml ? | | | | java:/myEntityManagerFactory | | | | 2) how can i use this(java side)? | | Should i use | | @PersistenceContext | private EntityManager em; | | or (adepting your example nr1) | | @In(create=true) | private EntityManager userDatabase; | | | Thank u very much, | | Holger View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959423#3959423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: I have come to the conclusion that Page Actions do not w
Well - if you give us some ideas (i.e. 'working' code) that illustrates your concerns we may be able to help out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959422#3959422 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portal Forums Release For Portal 2.4
To make it easier for people to download and test both the portal and the forums, can someone provide a forums release with each portal 2.4 release. http://labs.jboss.com/portal/jbossportal/download/index.html I built and deployed the latest forums from CVS but it did not work with the 2.4 CR2 release. It will be a few days before I have time to dig into the details. Danny http://www.soamodeling.org View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959421#3959421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re:
I am using jboss-messaging-1.0.1.CR3. Does it include the refactoring you have mentioned? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959420#3959420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Stateless search to stateful conversation
Hi, I've tried this. When the page action is executed, the request parameter is not present yet. A simple example: ViewDocument: | @Local | public interface ViewDocument { | void selectDocument(); | void destroy(); | } | ViewDocumentAction: | @Stateful | @Name("viewDocumentAction") | @Scope(ScopeType.CONVERSATION) | public class ViewDocumentAction implements ViewDocument { | | @RequestParameter | private Integer documentId; | | @Begin | public void selectDocument() { | System.out.println("documentId [" + documentId + "]"); | if (documentId == null) { | throw new IllegalStateException("DocumentId is null"); | } | } | | @Remove @Destroy @End | public void destroy() { | | } | | } | Invoked from: | | | | | pages.xml | | | | 06:26:49,735 INFO [STDOUT] documentId [null] 06:26:49,735 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception javax.faces.el.EvaluationException: Exception while invoking expression #{viewDocumentAction.selectDocument} Caused by: javax.ejb.EJBException: java.lang.IllegalStateException: DocumentId is null at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.ja va:69) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959419#3959419 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: InvokerLocator binding?
If you use 0.0.0.0 as the bind address, the server invoker will bind to it (meaning 0.0.0.0 will show as the address for specified port in use via netstat). However, which pysical network interface that is used is "random" in that a network interface that is local will be choosen from the PCB table. http://www.cs.rutgers.edu/~pxk/rutgers/notes/pdf/02r-sockets.pdf explains this in detail. Using 0.0.0.0 is the same inside or outside or jbossas (i.e. remoting stand alone). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959418#3959418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Any luck with JSF 1.2_01(jsf-1.2_01-b04-FCS) RI?
I have an application that works just fine with JSF 1.2 RI. However, updating to the new release, jsf-1.2_01-b04-FCS, caused problems with some pages. The pages are rendered but with no data. JBoss console does not show any error messages so I am not sure what the problem is. Please let me know if you want me to post any code excerpts or specific entries from JBoss log file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959417#3959417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Jboss Cache and Hibernate Secondary Caching
Hence the reason I javadoc'ed most of this terminology :) http://fisheye.jboss.com/viewrep/Hibernate/trunk/Hibernate3/src/org/hibernate/cache/CacheConcurrencyStrategy.java?r=9247 >From our understanding, the problem with using JBoss Cache in conjunction with >either a read-write or non-strict-read-write concurrency strategy is the need >to interact with the cache during afterCompletion callbacks especially in the >case of using JTA. Thus the supported concurrency strategies for use with >JBossCache are read-only or transactional. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959416#3959416 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - broken column mapping exception on @OneToOne mapping
Hi all, I got an exception on my entity mappings. The codes are as follows:table test ( | id | name | ) | | table deleted_test ( | test_id | person_id | deleted_date | ) | | @Embeddable | class PK { | int test_id; | int person_id; | ... | } | | @Entity | @Table(name="deleted_test") | class DeletedTest { | PK pk; | Test test; | Person person; | ... | @EmbeddedId | public PK getPk(){ | return pk; | } | ...setPk... | | @OneToOne(cascade=CascadeType.ALL,fetch=FetchType.EAGER) | @JoinColumn(name="Test_ID", nullable = false, insertable = false, updatable = false) | public Test getTest() { | return test; | } | public void setTest(Test Test) { | this.test = test; | } | | @ManyToOne | @JoinColumn(name="PERSON_ID", nullable=false, insertable = false, updatable = false) | public Person getPerson() { | return person; | } | | public void setPerson(Person person) { | this.person = person; | } | ... | } When I run it on JBoss4.0.4GA and EJB3 RC8, I always got the following exceptions: org.hibernate.MappingException: broken column mapping for: test.id of: DeletedTest | at org.hibernate.persister.entity.AbstractPropertyMapping.initPropertyPaths(AbstractPropertyMapping.java:122) | at org.hibernate.persister.entity.AbstractPropertyMapping.initIdentifierPropertyPaths(AbstractPropertyMapping.java:176) | at org.hibernate.persister.entity.AbstractPropertyMapping.initPropertyPaths(AbstractPropertyMapping.java:160) | at org.hibernate.persister.entity.AbstractEntityPersister.initOrdinaryPropertyPaths(AbstractEntityPersister.java:1628) | at org.hibernate.persister.entity.AbstractEntityPersister.initPropertyPaths(AbstractEntityPersister.java:1656) | at org.hibernate.persister.entity.AbstractEntityPersister.postConstruct(AbstractEntityPersister.java:2699) | at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:386) | at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55) | at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:223) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1213) | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760) | at org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:350) | at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:119) | at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264) | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | 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) | However,if I changed the test mapping to ManyToOne from OneToOne, no exceptions occured. I want to know the OneToOne mapping here is wrong or not. I appreciate any directions. Thank you in advance. GUS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959415#3959415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - How engine extract s Generic Type on runtime
Hi, I'm wondering how EJB engine extracts on runtime Class information from List, as I know such info is erased on runtime (Generics rules Java 5), in given example how to get SomeClass.class ?! @OneToMany(mappedBy = ?someField?) | public List someClasses; | Or I'm wrong and this is possible (How?)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959414#3959414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - HASingleton Services on 4.0.4 not working
Hi, I have a number of schedulable services which need to run as HA Singletons. I have added the following line to their service descriptors: jboss.ha:service=HASingletonDeployer,type=Barrier When I fire up jboss they are created but never scheduled at all. Removing the above attribute and they run as expected. The following are the service descriptors: | | | | | | jboss.ha:service=HASingletonDeployer,type=Barrier | true | com.transtoll.modules.eventmanager.schedulables.jboss.FrequencyEventSchedulable | NOW | -1 | 6 | eventmanager:service=initialisation | | | | jboss.ha:service=HASingletonDeployer,type=Barrier | true | com.transtoll.modules.eventmanager.schedulables.jboss.MetricEventSchedulable | NOW | -1 | 6 | eventmanager:service=initialisation | | | | jboss.ha:service=HASingletonDeployer,type=Barrier | true | com.transtoll.modules.eventmanager.schedulables.jboss.DurationEventSchedulable | NOW | -1 | 6 | eventmanager:service=initialisation | | | | jboss.ha:service=HASingletonDeployer,type=Barrier | true | com.transtoll.modules.eventmanager.schedulables.jboss.MetricPersistenceSchedulable | NOW | -1 | 6 | eventmanager:service=initialisation | | Any thoughts as to what I'm doing wrong? Cheers Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959413#3959413 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959413 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:link & class
Hi, is there any way to alter the s:link output to include a custom "class" attribute? Or if that doesn't work, to use a custom id attribute, if I add the id attribute seam always prepends it... Thanks joe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959412#3959412 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Begin and @End
Thanks, sorry, of course Out won't be used... Joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959411#3959411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @EJB injection gives null
thanks for reply. if you mean package of the classes then my classes have not changed package. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959409#3959409 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - InvokerLocator binding?
It seems like when I create an invoker locator using "localhost", only clients on the same machine can connect to it. When I bind using hostname, only clients connecting using hostname can connect to it and if a local client uses "localhost" n the InvokerLocator URI, it fails to bind. If suppose I am running jboss on a machine with multiple IP address and I want to invoker proxy to bind to all the network interfaces. Should I be able to use the jboss server default binding value of "0.0.0.0" to bind to all interfaces? Will this work with a jboss remoting server running outside of jboss? Appreciate your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959408#3959408 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!!
opps ..how do i post a xml ..wanted to post the spring xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959407#3959407 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!!
This is the actual configuration I am using for spring weblogic weblogic weblogic.management.remote View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959406#3959406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!!
Spring is exporting the PojoCache(TreeCacheAop) to the Weblogic MBean Server , All the JMX opertations like registration of mbeans are handled by spring, The PojoCache is also running on the weblogic server itself and not stand alone. Did I answer your question ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959405#3959405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Transaction is not active
Hey Sumonwai, Did you get any luck resolving the issue. I am running into a similar error, and I am out of ideas. My log says: 2006-07-19 17:13:13,703 ERROR [JMS SessionPool Worker-4] Could not create a session: javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=SERVER1/114429, BranchQual=, localId=114429] javax.jms.JMSException: Could not create a session: javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=SERVER1/114429, BranchQual=, localId=114429] at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:392) at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133) at MyAppEJBUtils.MyAppEJBUtils.sendMessage(MyAppEJBUtils.java:190) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959404#3959404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to configure a session bean managing entity beans wi
Don't use the session-scoped user for updating admin data. Load a different User instance into the conversation scope. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959403#3959403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to configure a session bean managing entity beans wi
title truncated: should have ended: [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959402#3959402 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Singleton Failover
There are totally 3 singletons. Make it simple, may be we use 1 singleton to illustrate the scenario. What I mean the "long" time for launching it in 2nd case is that the singleton almost needs 2 - 3 minutes for being completion of running its constructor and "startSingleton" method defined in jboss-service.xml, then finally the new cluster view is built. You can see the following log in 2nd node once I quit the master node using "Ctrl-C": : : : 10:02:17,628 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 10:02:18,030 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009 10:02:18,143 INFO [JkMain] Jk running ID=0 time=0/249 config=null 10:03:20,704 INFO [STDOUT] calling singleton constructor 10:05:21,489 INFO [STDOUT] starting singleton... 10:07:21,572 INFO [ServiceModule] Registration is not done -> stop 10:07:21,641 INFO [EmmgClusterPartition] New cluster view (id: 2, delta: -1) : [192.168.10.231:1099] 10:07:21,642 INFO [EmmgClusterPartition:ReplicantManager] Dead members: 1 Since there are 3 singletons in my case, so the total time for "completing" their activation is about 10 minutes. It's really a big problem for us!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959401#3959401 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - how to configure a session bean managing entity beans with @
I would like to have a web page where a user can manage "groups" that he or she belongs to. There are entity beans for users and groups, which have a @ManyToMany relationship (where I've set the user as the owning side). The MessageManagerBean class in the examples seemed very similar to what I need, so I started with that and made a "groupManager" stateful session bean; the user is injected from having logged in and the @DataModel is a list of the groups that the user belongs to. The user entity bean has a collection of groups and the group entity bean has a collection of users, with appropriate EJB3 annotations. When I try to bring up the group management page that references the group manager bean, I get: | org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.orgmob.member.User.groups, no session or session was closed | I looked at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85894&start=0, which seems to suggest using eager fetching for this, but since there's a many-to-many relationship, I'd have the risk of pulling the entire user and group tables into memory, wouldn't I? What's the right approach for this? Thanks in advance and apologies if I've missed previously posted discussion or documentation or am misunderstanding eager fetching. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959400#3959400 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ejb deployment in jboss4
The output of jar -tf day05_signon.jar is META-INF/ META-INF/MANIFEST.MF day05/ day05/InvalidLoginException.class day05/SignOn.class day05/SignOnEJB.class day05/SignOnHome.class META-INF/ejb-jar.xml META-INF/jboss.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959399#3959399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - I have come to the conclusion that Page Actions do not work
anyone else with the same experience...and how did you work around this to get the behavior that page actions are supposed to give. Eric Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959398#3959398 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Sean and Hibernate validation
thanks :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959397#3959397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Sean and Hibernate validation
Thanks for the reply, I appreciate all the hard work. BTW, your javaone presentation was extremely entertaining. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959396#3959396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to stop unknown user from seeing a page
Hmmm, I just tried this. How does one do it correctly? A simple implementation of that falls into an infinite loop between the browser and Seam/Faces: There's a "login.xhtml" page associated with a "login" action and a "groups.xhtml" page associated with a "groups" action. After a successful login, the application should take you to the groups page. The very first time the groups page is invoked, it detects that the user is not logged in and correctly redirects to the login page. However, after the successful login, it seems that the page action and the faces navigation just bounce back and forth with the browser. pages.xml: | | | | faces-config.xml snippet: | | login | /login.xhtml | | | | groups | /groups.xhtml | | | snippet of the group manager bean: | @Stateful | @Name("groupManager") | @Scope(SESSION) | @LoggedIn | public class GroupManagerBean implements GroupManager, Serializable { | ... | public String forceLogin() { | String forcedAction; | if ( LoggedInInterceptor.isLoggedIn() ) { | forcedAction = "groups"; | } | else { | forcedAction = "login"; | facesMessages.add("#{messages.infoLoginRequired}"); | } | System.out.println("GroupManagerBean.forceLogin() returning "+forcedAction); | return forcedAction; | } | ... | } | LoggedInInterceptor.java snippet | @Around({BijectionInterceptor.class, ValidationInterceptor.class, |ConversationInterceptor.class, BusinessProcessInterceptor.class}) | @Within(RemoveInterceptor.class) | public class LoggedInInterceptor { | | ... | | public static boolean isLoggedIn() { | boolean isLoggedInNow = Contexts.getSessionContext().get("loggedIn")!=null; | System.out.println("LoggedInInterceptor.isLoggedIn() returning "+isLoggedInNow); | return isLoggedInNow; | } | | } | console output: | 17:59:44,976 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning false | 18:00:07,210 INFO [STDOUT] LoginAction.login() returning groups | 18:00:07,226 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,226 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,226 INFO [STDOUT] GroupManagerBean.forceLogin() returning groups | 18:00:07,242 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,242 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,242 INFO [STDOUT] GroupManagerBean.forceLogin() returning groups | 18:00:07,257 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,257 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,257 INFO [STDOUT] GroupManagerBean.forceLogin() returning groups | 18:00:07,273 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,288 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,288 INFO [STDOUT] GroupManagerBean.forceLogin() returning groups | 18:00:07,304 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,304 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,304 INFO [STDOUT] GroupManagerBean.forceLogin() returning groups | . | . | . | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959395#3959395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959395 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem starting converstaion and setting state from HTT
dumming down the question...i really need to do this when the pages loads and without the user doing anything public void load() { packages = em.createQuery("from PackageEntity").getResultList(); } then display the result of the query in a dataTable. Thanks. Eric Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959394#3959394 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: CGLIB ERROR: ClassCastExcepion in my Bean
Sorry... wrong room View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959393#3959393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!!
Seems to me you are trying to serialize the whole cache instance somehow? PojoCache itself has corresponding MBean that you should be able to view it from jconsole though so why do via Spring? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959392#3959392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959392 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool
Galvin I have following files for Event sessions. EventEditor.java EventEditorBean.java EventFinder.java EventFinderBean.java EventSelector.java View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959391#3959391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Jboss Cache and Hibernate Secondary Caching
The definition is actually from Hibernate's perspective. I remember Steve has explained to me briefly but it doesn't click now. I will ask him if he can comment on this since many people would be interested. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959389#3959389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Is Map allowed as @CollectionOfElements?
Is it possible to have a @CollectionOfElements which is a Map? Using JBoss 4.0.4.GA: @CollectionOfElements | @JoinColumn(name="blahId") | @MapKey(name="foo") | Map things; | | (Thing is @Embeddable) Gives me: org.hibernate.AnnotationException: Associated class not found: com.kink.heart.entity.Thing | at org.hibernate.cfg.annotations.MapBinder.bindKeyFromAssociationTable(MapBinder.java:95) | at org.hibernate.cfg.annotations.MapBinder.access$000(MapBinder.java:55) | at org.hibernate.cfg.annotations.MapBinder$1.secondPass(MapBinder.java:78) | at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:35) | ... If I change the collection type to Set, everything works. Is Map not supported? Will it be in the future? Thanks, Jeff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959387#3959387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problem starting converstaion and setting state from HTTP GE
I have a simple page using the standard login form using j_security_check. JBoss is configured to authenticate against an LDAP server. Once authenticated the is rendered and it simply does this... When index.jsf is rendered I need some data retrieved from the database so I can display it immeditately. That's where I have a problem. I can't get the data loaded from the database and displayed in my page. I've tried all recommendations in Section 3.3 of the SEAM documentation. Nothing works. I'm sure I'm doing something wrong. Any ideas. Here's the code... | @Stateful | @Name("package") | public class PackageAction implements Package { | | @DataModel | private List packages = null; | | @PersistenceContext(unitName="DC") | private EntityManager em; | | | public PackageAction() {} | | @Begin(join=true) @Create | public void load() { | packages = em.createQuery("from PackageEntity").getResultList(); | } | | @Destroy @Remove | public void destroy() {} | } | I even added a pages.xml file like so... | | | | and that doesn't work either. Here's the web page... | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | http://java.sun.com/jsf/html"; | xmlns:f="http://java.sun.com/jsf/core"; | xmlns:c="http://java.sun.com/jstl/core"; | xmlns:ui="http://java.sun.com/jsf/facelets";> | | | | | | | | | | | | | | | | | | | | | | | | | | ... | | | | | | Thanks. Eric Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959386#3959386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas,
Sorry if I'm being unclear, but I also understand how unclear things can be in a technical world! (As an aside, I've been doing Java for 9 years solid now, so I'm fairly experienced, but just need help with this particular engine) "My question would then be: What is your definition of trivial? I've created some processes that others would call difficult/non-trival but I think the're trivial." Think of it as: 1. The example "Hello world" type project offered by the tutorial developers. 2. Add timers, forks, joins, and say... at least 10 total nodes. 3. Add experience troubleshooting and using in a production environment under at least a minimum load of say... 3-4 users. 4. A "nice to have" feature of a developer would be using jBPM without having used it inside JBoss, but that's not required. (I'm working on getting them to JBoss, and this project should help, but for now, we have to use another container - which you shouldn't have to worry about too much -- I can tie them together.) The rest of any questions and convo could be handled in a 5-10 minute phone convo, so if anyone would like me to contact them about this engagement, like I said above, convince me in the first 3-6 sentences of your email that you've got some of the above, and I'll respond to you and we'll get on the phone and quickly figure out if were a potential match or not. I won't waste your time. Email me here: [EMAIL PROTECTED] dot com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959385#3959385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!!
Hi, Thanks for your reply, Here is what I get on the weblogic server. I was getting errors on the jconsole side also which are not coming now after I started it with the following set up, Let me know what more information I need to provide. I am using spring to export the pojo cache as mbean to weblogic mbean server. jconsole -J-classpath -JC:\bea91\weblogic91\server\lib\wljmxclient. jar;C:\bea91\jdk150_04\lib\jconsole.jar;C:\jboss-cache\JBossCache-1.3.0.SP2\lib-50\jboss-ca che-jdk50.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959384#3959384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Weblogic 91 and POJO Cache
oops , never got notified about your reply any way jboss-minimal.jar is the one which did the trick Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959383#3959383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Maven Archetype for Seam?
My pain points also were (and continue to be) configuring the application. Archetypes, of course, would eliminate that frustration completely by giving us an analog to the 'rails' script. Amen. Personally, I'd like to see a minimal CRUD app with various archetypes for different configurations under both Tomcat and JBoss. btw, Gavin, creating a Maven archetype takes no more than 10 mins, even if you know nothing about Maven. See http://maven.apache.org/guides/mini/guide-creating-archetypes.html for details. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959382#3959382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool
Is EventFinder a session bean? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959381#3959381 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: The wiki is misleading...
Whoops... i meant to include a link to the wiki article, not the jira. http://trailblazer.demo.jboss.com/EJB3Trail/background/install/index.html Also, I should add (for anyone else stumbling through here) that there seems to be a guide on how to add ejb3 to a default config: http://docs.jboss.com/ejb3/app-server/tutorial/installing.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959380#3959380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Please explain the Portal URL - /portal/portal
I did 2 things. 1) Changed deploy\jboss-portal.sar\portal-server.war\WEB-INF\jboss-web.xml file to change the value of the from /portal to / 2) Removed the deploy\jbossweb-tomcat55.sar\ROOT.war directory. Now #2 really shouldn't affect my config because I'm running apache in front of JBoss and forwarding the /portal/* URLs to JBoss so Apache handles all other request. The problem is that I need the context root, which is the first /portal to configure apache. It's the second /portal that is causing problems, that's the new part and isn't consitently used. The links inside the UserPortlet don't have this second /portal but the page urls do. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959379#3959379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool
I am getting following error. Can you please tell me what should I update in my file to get it resolved? 18:27:08,046 ERROR [[/seamapp]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener java.lang.IllegalArgumentException: You must specify org.jboss.seam.core.init.jn diPattern or use @JndiName: eventFinder at org.jboss.seam.Component.getJndiName(Component.java:251) at org.jboss.seam.Component.(Component.java:175) at org.jboss.seam.Component.(Component.java:151) at org.jboss.seam.Component.(Component.java:146) at org.jboss.seam.Component.(Component.java:141) at org.jboss.seam.init.Initialization.addComponent(Initialization.java:2 90) at org.jboss.seam.init.Initialization.addComponents(Initialization.java: 252) at org.jboss.seam.init.Initialization.init(Initialization.java:109) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.j ava:32) at org.apache.catalina.core.StandardContext.listenerStart(StandardContex t.java:3729) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 187) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73 9) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) 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:585) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java: 503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1 64) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:51 16) 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:585) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java: 503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1 64) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatD eployer.java:297) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer. java:103) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.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(ServiceControl ler.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.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 $Proxy39.start(Unknown Source) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:46 6) at sun.reflect.NativeMethodAccessorI
[jboss-user] [JBoss Seam] - Re: @Begin and @End
anonymous wrote : is it ok to still keep the user in every (I need it in almost every bean) around via @In @Out User user I don't quite understand. With this mechanism you never need @Out. You can do @In(create=true) User user as much as you like. anonymous wrote : Is there a way to "profile"/"monitor" a seam application to see directly what is in memory and how the transactions are handled? That would be useful for me to understand the whole scenario... There is the Seam debug page, but that does not tell you anything about transactions... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959377#3959377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Themes/Layouts
Hi all I don't have a technical problem however I am looking to use the portal for a possible business venture and I am having differculty in finding web designers/developers to do the themes/layouts. Can anyone suggest a company or person that can create good looking themes/layouts? I'm looking for more of a designer than a developer as the development side of things is taken care of and it's just the presentation that I want to work on. If people can respond with company websites or links to sites they have worked on if offering personal services then it would be greatly appreciated. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959376#3959376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959376 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: getting testNG to work with cvs jboss-seam export as pro
01:09:05,156 INFO [LocalTxDataSource] Bound datasource to JNDI name 'java:/DefaultDS' java.lang.RuntimeException: java.util.zip.ZipException: Das System kann den angegebenen Pfad nicht finden at org.jboss.util.file.JarArchiveBrowser.(JarArchiveBrowser.java:55) the exception is localized. it does mean "Path could not be found" I debugged the path it's the output/classes path in my workspace which does contains the classfiles and so on. But no .jar files. --- thanks dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959375#3959375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Unable to persist preferences.
I downloaded jboss-portal-2.4 from CVS, built and deployed it, and then deployed my modified weather portlet, and now the log shows the proper data: [url]newZip=92691 RssXml=http://xml.weather.yahoo.com/forecastrss?p=92691[/url] So you are correct, Roy, it is fixed in CR2. Thanks for the help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959374#3959374 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - getting testNG to work with cvs jboss-seam export as project
Hi, I wonder how to get it work. I added examples/dvdstore/resource to my sourcefolder build seam and dvdstore. and tried a few tests in examples/dvdstore/src/test but without success. Can somebody give me a hint/ or verify how to create a project using CVS checkout of jboss-seam with eclipse testNG working? I'm stuck. regards, Dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959373#3959373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - How do I lock an Entity bean?
Hi I am running EJB3 with JBoss 4.0.4 and I am trying to lock an Entity bean while I am accessing/updating it. However, I don't seem to be able to lock the bean. My system consists of: A JMS queue; a MDB listening to the queue and an Entity bean for persistence. The client places an update for an instance of the entity bean on the JMS queue. A MDB removes the data; checks that the relevant instance of the entity bean is available; performs some processing on the data and persists the data in the entity bean. The client may send multiple updates for the same instance of the entity bean but the processing must occur in isolation. So the MDB needs to lock the Entity while it is processing and release it when it has persisted the data. I have tried various combinations of the following but multiple MDB instances manage to access the same Entity instance: 1. Annotate MDB.onMessage() with @TransactionAttribute(TransactionAttributeType.REQUIRED). 2. Set the type of the EntityManagers @PersistentContext to PersistenceContextType.TRANSACTION. 3. Adding @ActivationConfigProperty(propertyName = "Transacted", propertyValue = "true"), @ActivationConfigProperty(propertyName = "Xa", propertyValue = "true") to the MDB's activation config. 4. Calling EntityManager.lock(Entity, LockModeType.READ). Can anyone tell me how to pessimistically lock the Entity instance? What have I missed? Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959372#3959372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Begin and @End
Hi Gavin, thanks for your help. Just one last question, is it ok to still keep the user in every (I need it in almost every bean) around via @In @Out User user - I will always then have an @End around the "last"-logic steps... Is there a way to "profile"/"monitor" a seam application to see directly what is in memory and how the transactions are handled? That would be useful for me to understand the whole scenario... THANK YOU SOOO MUCH GAVIN Seam is great Joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959371#3959371 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Unable to persist preferences.
I didn't say that the weather portlet was not working. I can see the local weather with it just fine. But the reason that it works is that the processAction methods sets "newZip" in the response parameters and then redirects to the view. The view then uses the "newZip" parameter, and not the value from the preferences. If there is no "newZip" parameter, then the weather in Miami shows, which is what is set in portlet.xml. I have been digging through the code and have come to the conclusion that this problem is all related to a configuration setting. That is, if the portlet is configured to treat preferences as read-only, it will ignore all changes. Code in PortletPreferencesImpl.sotre(): if (prefs.isReadOnly() == false) | { |PropertyChange[] changes = (PropertyChange[])updates.values().toArray(new PropertyChange[updates.size()]); |prefs.update(changes); | } But I have not yet found where the "isReadOnly()" value of "prefs" originates. Seems that every class is getting it from somewhere else. Someone someplace must be setting the original value, but I haven't tracked it down yet. This is not to be confused with the user not having write privileges on the preferences, in which case an exception gets thrown when the PortletPreferences.setvalue() method is called (such as when you are not logged into the portal). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959369#3959369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems integrating jbpm console with another applicati
I think I had this same problem when I tried to store references to jBPM objects. Due to the way Hibernate works I guess (I don't know much about HIbernate), you cannot store references to jBPM objects and try to use them later. When you obtain one of these objects, you can only use it in the same context in which it was obtained (i.e. in the same method call). I believe that's how it goes. I'm sure others can provide more detail. Are you storing references and trying to use them later? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959368#3959368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss has a plugin for IPlanet??
I'm not sure how up-to-date it is, but the nsapi-redirect.dll plugin to iPlanet/SunONE is meant to communicate with Tomcat (and thus JBoss) using the same AJP 1.3 protocol used by mod_jk. Here's a link to some old docs from the Tomcat site: http://tomcat.apache.org/connectors-doc-archive/jk2/jk/neshowto.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959367#3959367 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Where is the destination url stored?
Never mind. I wrote some code to dump all the request attributes and headers and found it: javax.servlet.forward.request_uri javax.servlet.forward.context_path javax.servlet.forward.servlet.path I now see the problem. My site is secured on roles that correspond to directories. If the user just bookmarks my login.jsp or login.html page, I would have to have a way to know what their role is even if I could alter these request attributes. The real solution will be to dump them to an intermediate page that makes them click on a link appropriate from their role. Then the container should have no problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959365#3959365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JBoss has a plugin for IPlanet??
Am trying to migrate an application deployed on a cluster application(weblogic) server to which the calls are routed from IPlanet web server. Does JBoss have the IPlanet plugin?? Was contemplating if it would be possible to replicate the current architecture,after replacing Weblogic with JBoss as the application server. ie would it be possible to have an IPlanet webserver,that would have some static content deployed on it,and route the calls from IPlanet to JBoss application server cluster underneath? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959363#3959363 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - problems integrating jbpm console with another application
Hi, i've been integrating an application with the jbpm console; and i've jumped the step of login and home pages until to the task.jsp, for the users from my application go directly to task.jsp. i've used code from UserBean.java for the login(): | UserBean userBean = new UserBean(); | userBean.setUserName("edison acosta"); | session.setAttribute("userBean",userBean); | | userBean.login(); | and code from HomeBean.java for to load an task instance(selectTaskInstance()) if exists the process, or to load a process(startProcessInstance) if is the first time that the user starts the process. also i use code from a script that produces home.jsp | | | | | | | | | | function clear_linkDummyForm() { | | var f = document.forms['linkDummyForm']; | f.elements['linkDummyForm:_link_hidden_'].value=''; | f.elements['taskInstanceId'].value=''; | f.elements['processDefinitionId'].value=''; | f.target=''; | | document.forms['linkDummyForm'].elements['linkDummyForm:_link_hidden_'].value='_id14_0:_id17'; | document.forms['linkDummyForm'].elements['processDefinitionId'].value='1'; | | if(document.forms['linkDummyForm'].onsubmit){ | document.forms['linkDummyForm'].onsubmit(); | } | document.forms['linkDummyForm'].submit(); | return false; | } | clear_linkDummyForm(); | | | | my problem is when i try to submitt the "Save and Close" button, then throws an exception: | 16:33:13,502 ERROR [LazyInitializationException] could not initialize proxy - the owning Session was closed | org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed | at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:56) | at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:98) | at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:133) | at org.jbpm.taskmgmt.exe.TaskInstance$$EnhancerByCGLIB$$6582bdd4.setVariable() | at org.jbpm.webapp.bean.TaskBean.save(TaskBean.java:159) | at org.jbpm.webapp.bean.TaskBean.saveAndClose(TaskBean.java:180) | 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.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:271) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:94) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) |
[jboss-user] [JBoss Portal] - Re: Please explain the Portal URL - /portal/portal
Which steps did you follow to change the context? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959361#3959361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JBOSSRULES: migration from drools 2.X to drools 3.X
Hi all, I have been using drools 2.x (before it becomes part of jboss) for about 1 year and I'm trying now to migrate my scripts to jbossrules 3.0.1. I have made the necessary rewriting (XML => plain DRL). Unfortunatly my rules don't compile any more. I'm wondering if there are a few regression issues : - a function call within another function is illegal - reduced conditional expression is illegal in the consequence part (RHS) : LV = (C)?V1:V2 I know there are work-around for these issues (helper class in the first case and if/else in the second) but I don't understand why valid java constructions don't compile anymore. The problem occurs for sure with the janino compiler and maybe with the eclipse compiler. Thank you for your answers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959360#3959360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959360 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Unable to persist preferences.
This is working in CVS Head, so I'm thinking its probably fixed in CR2. I have modified the zip in the weatherportlet when logged in, and now it shows the weather in ATL... after login. I have modified the newsportlet as well (http://finance.yahoo.com/rss/headline?s=MCD) and it shows me mcdonalds news when logged in. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959359#3959359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959359 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Able to suspend a token that has ended
H d*mn heat overhere. I should have JUST READ THE THREAD. AGAIN sorry guys View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959358#3959358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB 3.0 RC8 Preview - FD Missing Client Files
Can someone at JBoss please address this thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84310&postdays=0&postorder=asc&start=10 The EJB3 RC8 download is missing all of the client zip files (and perhaps more), and nothing has been done in over a month (not even a comment)! Is RC9 coming soon, or can we get a valid RC8 somewhere on sourceforge? Thanks! David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959357#3959357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to stop unknown user from seeing a page
Use a page action. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959356#3959356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Any help for url mapping?
I've gotten spoiled with the django (Python) method of mapping controllers to url's based on regular expressions. I'm looking for something similar for a coming webapp (on jboss 4) and I'm waffling between a filter and a custom webwork Action Mapper (Class to map request to "action bean") I'm not so concerned about mapping actions back to URL's. Again django taught me to add a getAbsoluteUrl method to each "content" object. Any pointers? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959355#3959355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Able to suspend a token that has ended
This is hapenning in jbpm 3.1.1 and the same code is in 3.1.2 also Here is the flow: ProcessInstance.resume() -> rootToken.resume() -> Token.resume() -> resumeTaskInstances() -> TaskMgmtInstance.resume() -> TaskInstance.resume() and this is the final method which sets these two flags: isSuspended = false; isOpen = true; Which actually opens the task. Since resume of Token class is called recursively, it applies to all the tasks. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959353#3959353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam + Facelets + JBoss Portal = IllegalStateException
Got it working (mostly). I had to make a couple changes: 1: Use FaceletPortletViewHandler instead of FaceletViewHandler. 2: Comment out org.apache.myfaces.webapp.StartupServletContextListener in web.xml. This causes an error when I deploy the app: 2006-07-19 14:37:04,734 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-hibernate]] Servlet /seam-hibernate threw load() exception | java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions! | If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml. | A typical config looks like this; | | org.apache.myfaces.webapp.StartupServletContextListener | | but it seems to work anyway... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959352#3959352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem
Is there any logging from the 1st server showing the SSO being established and the cookie being issued? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959349#3959349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam + Facelets + JBoss Portal = IllegalStateException
I'm trying to build a portlet for JBoss Portal 2.4.0-CR2 that uses Seam 1.0.0 and Facelets 1.1.5. I started with the "portal" example from Seam, which works fine, and tried to plug in a facelet. I made the following changes to the example app: Added the following to web.xml: | Seam Redirect Filter | org.jboss.seam.servlet.SeamRedirectFilter | | | Seam Redirect Filter | *.seam | | | Seam Exception Filter | org.jboss.seam.servlet.SeamExceptionFilter | | | Seam Exception Filter | *.seam | | | org.jboss.seam.core.manager.conversationTimeout | 12 | | | org.jboss.seam.core.init.jndiPattern | toolkit-1.0-SNAPSHOT/#{ejbName}/local | | | org.jboss.seam.core.init.debug | true | | | Seam Remoting | org.jboss.seam.remoting.SeamRemotingServlet | | | Seam Remoting | /seam/remoting/* | | | | | org.apache.myfaces.webapp.StartupServletContextListener | | | javax.faces.STATE_SAVING_METHOD | client | | | facelets.DEVELOPMENT | true | | | facelets.LIBRARIES | /WEB-INF/tomahawk.taglib.xml | | | com.sun.faces.validateXml | true | | | com.sun.faces.verifyObjects | true | | | javax.faces.DEFAULT_SUFFIX | .xhtml | | | Faces Servlet | javax.faces.webapp.FacesServlet | 1 | | | Faces Servlet | *.seam | | | Added the following to faces-config.xml: | com.sun.facelets.FaceletViewHandler | Modified index.html to go to myPage.seam instead of home.jsf, and added myPage.xhtml. The app deploys fine, but when I try to load the page, I get the following exception: 2006-07-19 12:18:28,059 ERROR [org.apache.myfaces.lifecycle.PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) afterPhase | java.lang.IllegalStateException: No active session context | at org.jboss.seam.Seam.isSessionInvalid(Seam.java:156) | at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:225) | at org.jboss.seam.jsf.SeamPortletPhaseListener.afterPhase(SeamPortletPhaseListener.java:87) | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePortletPhaseListener.afterPhase(SeamExtendedManagedPersistencePortletPhaseListener.java:53) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:322) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:297) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:379) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265) | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167) | at javax.portlet.GenericPortlet.render(GenericPortlet.java:407) | at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519) | at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440) | at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:138) | at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java) | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) | at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50) | at org.jboss.po
[jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!!
You're going to need to provide more details; e.g. a stack trace. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959347#3959347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - PojoCache Weblogic 91 and JConsole issue!!
Hi , I am using Pojo cache on weblogic 9.1 server with a clustered domain. When I try to check the operations through JConsole (Sun) it throws a classcast exception on the server . Kindly throw some light on this behavior. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959346#3959346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Quartz Job scheduling
I'm still trying to figure out the way 4.0.4GA (EJB3 deployment) is using Quartz, but I was running into problems too. The problem that I think most people will have is that JBoss uses the same instance name that the default config from the Quartz distribution uses. Depending on how the service is deployed, sometimes our Quartz was used and persisted in our MySQL database but if the JBoss instance was used the jobs were created in the RAMJobStore and lost if we restarted JBoss! So far the solution for me was to change our quartz-service.xml config instanceName value from the default of DefaultQuartzScheduler to something else. org.quartz.scheduler.instanceName = DefaultQuartzScheduler Also, since JBoss already includes the quartz-all-1.5.2.jar file in the lib directory, you don't need to put that in the deploy directory anymore and the following line (or similar) can be removed from the quartz-service.xml file: This seems to be working for us so far, but I only just got it going so it hasn't been tested too much. If someone has a better way to create a persistance job store using Quartz in JBoss, please let me know! -Pat View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959345#3959345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - MDB deployment problem "Unable to create activation spec ra=
Hi, im using JBOSS 4.0.4GA server version. I tried to make some basic MDB bean. This is my code for MDB: | package beans; | | import javax.ejb.ActivationConfigProperty; | import javax.ejb.MessageDriven; | import javax.ejb.TransactionManagement; | import javax.ejb.TransactionManagementType; | import javax.jms.Message; | import javax.jms.MessageListener; | | @MessageDriven(activationConfig= { | @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Topic"), | @ActivationConfigProperty(propertyName="destination", propertyValue="topic/testTopic"), | @ActivationConfigProperty(propertyName="acknowledgeMode", propertyValue="AUTO_ACKNOWLEDGE"), | }) | @TransactionManagement(value=TransactionManagementType.BEAN) | public class TestBean implements MessageListener { | | public void onMessage(Message arg0) { | System.out.println( arg0.toString() ); | } | | } | this is content of my bean.jar file | META-INF/ | META-INF/MANIFEST.MF | META-INF/ejb-jar.xml | beans/ | beans/TestBean.class | this is my ejb-jar.xml | | http://java.sun.com/xml/ns/j2ee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee | http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";> | | | MDB | beans.TestBean | Container | | | | after deploying beans.jar to JBOSS i get following error | 22:57:51,077 WARN [ServiceController] Problem starting service jboss.j2ee:jar=Beans.jar,name=MDB,service=EJB3 | org.jboss.deployment.DeploymentException: Unable to create activation spec ra=jboss.jca:service=RARDeployment,name='null' messaging-type=javax.jms.MessageListener properties={acknowledgeMode=ActivationConfigProperty(acknowledgeMode=AUTO_ACKNOWLEDGE), destinationType=ActivationConfigProperty(destinationType=javax.jms.Topic)}; - nested throwable: (javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='null' is not registered.) | at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:310) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:195) | at org.jboss.ejb3.mdb.MDB.startProxies(MDB.java:279) | at org.jboss.ejb3.mdb.MDB.start(MDB.java:218) | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | 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: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.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | 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 $Proxy50.start(Unknown Source) | at org.jboss.ejb3.JmxKernelAbstr
[jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does
Thanks (I already switched fully to 3.2), now waiting for the exadel or myeclipse jsf editors. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959342#3959342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959342 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Two JBoss instances - one JMS table set
Did you manage to find a solution to this? I have the same setup as you: - 2 servers being load balanced, but hitting one database where the JMS tables reside. - if one server crashes, the other is still available. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959341#3959341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does
No, it is as I said... GPD 3.0.10 was build against some release candidate of the so-called Eclipse Callisto release (which is SDK 3.2, WTP 1.5) and GPD 3.0.11 was build against the final release of Callisto. If either of these works with Eclipse 3.1.x you are very lucky... Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959340#3959340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does
So can we state that eclipse 3.2 is required for at least 3.0.11 and if 3.0.10 works you with 3.1.x you are lucky. otherwise upgrade? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959338#3959338 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does
Eclipse compatibility is a real pain. We simply have not the resources to keep the plug-in backward compatible across Eclipse versions... If it works, we are lucky, but in this case (as it is an upgrade from Eclipse 3.1.x /WTP 1.0 to Eclipse 3.2 /WTP 1.5) there are so much changes that this is highly unlikely. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959337#3959337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Able to suspend a token that has ended
if there is/was a jira issue for it, please re-open it or add the info to it. If not, please create one. A patch added would be even better and to make it complete, a testcase is best ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959336#3959336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to stop unknown user from seeing a page
oh, and it would certainly be cool to be able to put something in faces messages about having redirected from the original URL... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959335#3959335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959335 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Able to suspend a token that has ended
If things appear again, reopening old threads is (imo) no problem) Where in the source did you find this? Then I'll have a look. Please include version of jBPM as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959334#3959334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does
sorry, I indeed mis re-read the blog. Shame on me try searching on google for the rc2 thing. Maybe it is 'know' in other eclipse projects View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959332#3959332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Unable to persist preferences.
I am trying to update the portlet preferences within my code, but the preferences are not being persisted. I have based my code on what I found in the WeatherPortlet. I even added debugging to the WeatherPortlet to see how it was doing things. Here is the code: public void processAction(ActionRequest request, ActionResponse response) throws PortletException { |String newZip = request.getParameter("newzip"); |log.debug("newZip=" + newZip); |if(null != newZip) { | PortletPreferences prefs = request.getPreferences(); | try { | prefs.setValue("RssXml", RSS_URL_PREFIX + newZip); | prefs.store(); | String xxx = prefs.getValue("RssXml", null); | log.debug("RssXml=" + xxx); | } catch(Exception e) { | e.printStackTrace(); | } |} |response.setRenderParameter("newzip", RSS_URL_PREFIX + newZip); |response.setPortletMode(PortletMode.VIEW); | } And here is what shows up on the log file (sans leading junk): newZip=92691 | RssXml=http://xml.weather.yahoo.com/forecastrss?p=33145 The 33145 zip is what is configured in portal.xml. So immediately after setting the preference and storing it, it disappears and reverts back to the original setting. Should I open a JIRA issue? Using: JBoss 4.0.4-GA, JBoss Portal 2.4.0-CR1, JDK 5.0 Standard disclaimer: I searched through the forum, JIRA, and even did a general google and could not find anything on this topic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959329#3959329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959329 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Jboss Cache and Hibernate Secondary Caching
Brilliant, thanks Brian! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959331#3959331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Changing default InvokerLocator port (ejb3-deployer)
I also have this same problem. Is there any updates about how to get around this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959330#3959330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959330 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - how to stop unknown user from seeing a page
What's the right way to stop a page from ever being created if a condition isn't met? (Is there a way?) In the booking example, there's the @LoggedIn interceptor, but that seems to me to just stop the submission of a page if the user isn't logged in, but not the initial creation (e.g. http://seam.demo.jboss.com/password.seam ). I imagine it should just be a matter of specifying another class for @Around, but I'm still on the learning path for Seam... I did try creating an attribute on a bean annotated with @LoggedIn and getting some text to display using that attribute, but to no avail, it just took the text without triggering the interceptor. Thanks in advance. As always, apologies if I've missed something already posted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959328#3959328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user