[jboss-user] [JBoss jBPM] - JPDL v3.2 XML schema online
Hi, I can find the JPDL v3.1 (and v3.0) XML schema publicly available at http://docs.jboss.org/jbpm/xsd/jpdl-3.1.xsd, but I can't find the XSD for v3.2 available. It is bundled with the source code of course, but it would be easier to integrate if it was available online as in previous versions. Thank you, Ophir Radnitz View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111428#4111428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Why I can't start JBOSS 4.2.2GA?
I am sorry to Jaikiran and thank you. I caught the crux of the problem for i couldn't start the server. There is a Equipment named 'nul' in dos ,but it was wrong in my windows system,maybe it was sabotaged.When I deploymented PostgreSQL 8.2,the wrong messages same to them in Jboss4.2 Finially,I judged the crux was at the windows system.I changed one windows system,Jboss and PostgreSQL were ok. The probleme wasted me a lot of time.So sad. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111429#4111429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Why I can't start JBOSS 4.2.2GA?
That's why i change 'nul' to 'null' i can start the server.Actually,I change 'nul' to another symbol,I can start Jboss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111430#4111430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: My WS doesn't send any attachment... why?
Ok, I understood that the main problem is that I'm trying to send back to the client, with a server-response, the attachment. Instead, this code: SOAPMessageContext msgContext = (SOAPMessageContext)context.getMessageContext(); gives back the request message, not the response one. Does anyone know how to access the response message? Or what should I do to attach something to the response message, in general? I searched everywhere but I found nothing about it! Thanks very much for your help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111438#4111438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Application URL
Thanks Damien, injection is also possible: | @In | private FacesContext facesContext; | Best regards mki View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111439#4111439 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111439 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Difference between Jboss Application Server and Jboss Me
It's a matter of choice, really, you don't *have to* upgrade. You can stick with JBossMQ if that works well for you. JBossMQ is our legacy implementation, well debugged and tested. It's phased out however beginning with JBoss 5. JBoss Messaging provides better performance/characteristics in clusterred environments and more. But as I said, for simple usage, JBossMQ will be more than ok. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111440#4111440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - error with seam setup
could somebody help me to find out what is the problem with my operation? my jdk version is the brandnew 6.03. output form cmd windows: Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft Corp. D:\Java\jboss-seam2>java Usage: java [-options] class [args...] (to execute a class) or java -jar [-options] jarfile [args...] (to execute a jar file) where options include: -hotspot to select the "hotspot" VM If present, the option to select the VM must be first. The default VM is -hotspot. -cp -classpath set search path for application classes and resources -D= set a system property -verbose[:class|gc|jni] enable verbose output -version print product version and exit -showversion print product version and continue -? -help print this help message -Xprint help on non-standard options D:\Java\jboss-seam2>seam setup java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported ma jor.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.tools.ant.launch.Locator.getToolsJar(Locator.java:355) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:232) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) D:\Java\jboss-seam2> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111441#4111441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBoss - Hibernate Error?
Hi there, I am new to BPEL and JBoss. When I deployed an example I didn't get an error message. But when I tried to call the server from the Browser, I got the message that the processes page cannot be opened. Could this message indicate a hibernate error? Do I have to change any hibernate settings? If yes, what and where do I have to make changes? Thanks in advance, Laura View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111442#4111442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111442 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Invoke a method of the class of the intercepted method
Hi, I've written an aspect that intercept a method (for example called a()) of a class (for example called Test). In Test I've defined this: public abstract GoogleTalkBotSbbUsageParameter getDefaultSbbUsageParameterSet(); When I intercept the method b() I want launch this: | getDefaultSbbUsageParameterSet().sampleResponseTime(System.currentTimeMillis()-start); | from my aspect. I try to take the class Test of the method intercepted in this way: | Class classe = ((MethodInvocation)metodo).getClass(); | But if I print the method and the filed of the object classe I don't find public abstract GoogleTalkBotSbbUsageParameter getDefaultSbbUsageParameterSet(); How can I resolve this problem? Thanks, bye bye. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111444#4111444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Can I run jboss SEAM 2 example on tomcat 6 on jdk 1.6
Seam needs JBoss AS 4.0.5 or AS 4.2 series View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111445#4111445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: why seam conversational component created for serval tim
post the component. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111446#4111446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111446 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Communication between Business and Presentation Layer
You should be able to communicate with remote EJB3s on the business layer in the standard EJB3 way. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111448#4111448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Asynchronous method triggered multiple times.
No, this is a feature of EJB3 timer - read a book or the spec! Quartz or the Java SE timer are non-persistent by default. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111447#4111447 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111447 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How do I reload a Data Model on a SessionBean everytime
That doesn't outject the datamodel into event scope. You would need an event scoped manager component which does the outjection. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111449#4111449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: conversation per view-id [natural convesation scope]
"koenhandekyn" wrote : i'm developping an app part of which is plain editing of instances in a database. | | i have recently discovered natural conversation scope, that cleary should get into the documentation soon !!! This isn't an official feature until 2.0.1, and documented in 2.0.1 :) anonymous wrote : 2. is there a shortcut possible not te repeat myselves? No, and I can't see a neat way of doing this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111450#4111450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: using static modifier with Seam logger
The interceptor isn't instantiated as a seam component when used, but it is installed as a component. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111451#4111451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Why won`t fix JBCACHE-622?
Thanks genman, but my app and the cache are both fully started. In fact, using Node directly instead of TreeCache works. The problem this way is that interceptors dont get called, which may prevent getting evicted nodes. what I want to know is if this jira is a bug, and why it wont be fixed, or if its a feature, which i dont get. thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111452#4111452 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBpm-error in startup
I am getting the same error. The link http://localhost:8080/jbpm-console/ is working fine, but what to do with it?? Please help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111453#4111453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NameNotFound Injecting EJB to EJB
Wouldnt I loose seam management when using @EJB? References are there for glassfish, it requires them, doesnt it? I got it finally working by adding this as first declaration in ejb-jar.xml: | | | AddHouseAction | ee.soov.add.AddHouseAction | | soov/DomainFacadeBean/local | Session | ee.soov.dao.DomainFacade | DomainFacadeBean | | | | If possible please create chapter Seam on Glassfish and add this kind of information there. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111455#4111455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBpm-error in startup
sorry, but I totally do not get your post your get a 404 on the /jbpm url but /jbpm-console is working??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111456#4111456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: [i]Introduction[/i] not working in my project but workin
I skipped to say that I also implemented in both mixin files the method defined in the interface IEjemploIntro.java. Following I show how I did it (just for completeness): public void metodoNuevoUno(java.lang.String parametro) | { | String a = "metodonuevoUno con el param: " + parametro; | System.out.println("-ADENTRO-> " + a); | } In my example it never gets used anyway. Ely View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111457#4111457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - partial refresh for portlets (server-side implications)
Hi, I have been reading about the Partial Refresh support in the JBoss forum. I had a very nasty problem with the WebSphere Portal in that whatever kind of AJAX you use with JSF components, all other portlets on the page are re-rendered again. It looks like for that Portal, the only way to have "real" ajax , and avoid the server-side overhead, is to point the XMLHttpRequests to an external servlet that will serve them. But IMO that's really a hack and not a clean solution at all, because it breaks the whole idea of a "Portal". I have seen that JBoss has the feature "partial refresh". Here is my question: If i have my own JSF AJAX framework (with custom render-response phase listener for instance) , and I do a XMLHttpRequest to the portal, will it automatically render() all of the other portlets on the page ? If yes, is there any configuration parameter that I can use to avoid that and to render only the portlet that caused the Action Request ? Will the "partial refresh" property work fine , even though I am not using the ajax4jsf portal support? Thanks very much for your feedback. Regards, Angel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111461#4111461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JPDL v3.2 XML schema online
I initially assumed you tried replacing the 1 with a 2 but quickly came to the conclusion you didn't since it works for me ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111460#4111460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Occasional error
Ryoung, your fix will not work AFICT. Look at the comment I've added to this issue: http://jira.jboss.org/jira/browse/JBSEAM-2086#action_12391226 Greets. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111462#4111462 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JPDL v3.2 XML schema online
I actually did and it didn't work. Probably my bad still 'cause it works now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111464#4111464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: partial refresh for portlets (server-side implications)
Partial refresh does not use ajax4jsf. Actually it's purpose is to have a refresh of a unique window at a time, that portlet does not have to use any AJAX technology. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111466#4111466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Weird behaviour of JbossWS with DII
i have this endpoint, which reflects a Session bean implementation | package bps.ejb; | | import javax.jws.WebService; | | @WebService(targetNamespace = "http://bps.ejb";, | name = "BpsFrontendEndpointInterface") | | public interface BpsFrontendEndpointInterface { | public String hello(); | public String hello2(String foo, String bar, String pippo); | public void insertProcess(int queue, int prio, String data, int ptype, | String callbackMode,String callback,String callbackParm, String returnAddress); | public void reactivateProcess(int pid); | public void holdProcess(int pid); | public void deleteProcess(int pid); | public String testEntity(); | } | where's the weird part? well, if i change both in the endpoind and in the slsb the method "hello2()" to return a String[], when i invoke it with a configured DII client (copied straight off the examples), i get a "org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://jaxb.dev.java.net/array}stringArray";. Ok. BUT it happens too even for method String hello(), which by the way worked before (eg. when hello2 was String instead of String[]) and same for insertProcess() and others. So actually adding a String[] method to this endpoind (and to the implementation) cause DII to fail for every other methods. Can someone explain me this point? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111468#4111468 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111468 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam iText - Page X of Y
Hello, Using Seam (2.0.GA), is there a way of creating: Page X of Y such as Page 23 of 42? I didn't see anything in the docs. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111467#4111467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NameNotFound Injecting EJB to EJB
"mirko27" wrote : | Wouldnt I loose seam management when using @EJB? | Yes, you would loose Seam managed transactions. "mirko27" wrote : | References are there for glassfish, it requires them, doesnt it? | Okay, I'm using JBoss AS - I don't have to declare ejb-references :-) Looks like Glassfish needs the ejb-references. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111469#4111469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam iText - Table in Footer
This does not seem to work (it prints the table as a header): Why Seam? Why Seam? Version 1.0 Omitting the like this does work (it prints it as a footer): Why Seam? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111471#4111471 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to handle configurable properties.
Thanks for the reply. I have a few more questions. 1. By "touch" do you mean open the file, make a change, and save it? 2. Is there an easy way to adjust the properites file if it is in a "zipped" ear file? 3. When I make a change to the applications.xml file does it redeploy the entire .ear? If so, is the application redeployment transmarent to end users, or is the applicaiton unavailable while the redeployment is in progress? 4. Would you recomment options 1,2, or 3? Or is using the ejb-jar.xml file the best option? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111472#4111472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - CascadeType.Remove and asynchronous method
Hi, I have a entity that is in relation with some other entities with cascade type 'remove'. When I call an action from website to remove (entityManager.remove(userQuery);) an specific entity all other entities are also removed as expected. But if the same is called inside an asynchronous method only the first entity is removed(userQuery in this case). Here the quartz scheduled class @Name("processor") | @AutoCreate | public class ReportProcessor { | | @In | EntityManager entityManager; | | @Logger Log log; | | @Asynchronous | @Transactional | public QuartzTriggerHandle scheduleDeleteReport(@Expiration Date when, UserQuery userQuery) | { | userQuery = entityManager.merge(userQuery); | | log.info("[#0] Processing userQuery #1", System.currentTimeMillis(), userQuery.getId()); | | if (userQuery.getActive()) { | entityManager.remove(userQuery); | } | | return null; | } | } UserQuery for example is joined with @OneToMany(mappedBy="userQuery", cascade=CascadeType.REMOVE) Is there a solution get this working or what's the cause only the first entity is removed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111475#4111475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - jboss 3.2.3 read-ahead, loadgroups and eager-load-group
Hi all, I am trying to get read-ahead working for my installation. First with on-find and later with on-load. I have read and read the documentation on this, put the loadgroups-statements on different places in the jbosscmp-jdbc descriptor, but JBOSS keeps complaining about a NullPointerException in getLoadGroupMask. My questions: 1. Does that mean that the eager-load-group basic is unknown? 2. If so, where should the loadgroups-statement be put so that in can be read? Putting a basic between and gives the message that eager-load-group basic is unknown. 3. Do you have any example complete jbosscmp-jdbc file which I could investigate? Any tip would be highly appreciated, part of the jbosscmp-jdbc is pasted below: I have tryed to paste part of the jbosscmp-jdbc.xml jar below. Unfortunately in the preview it seems to leave out some statements. Therefore I put comments in. ===start=== BoekingejbStemTutorEJB stemtutor_table relation_key relation_key update_userid update_userid basic stemkey tutorkey findByCouncilnr java.lang.String organisationnr={0} tutorkey findByStemKey java.lang.String java.lang.String organisationnr={0} and stem={1} tutorkey on-find 150 basic end View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111481#4111481 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Having problems with quality of distributions
Is anyone else having as much trouble getting very simple JBoss Seam things to work? I'm using JBoss 4.2.2.GA and jboss-seam-2.0.0.GA. I finally got my first simple seam setup/new-project/explode to actually run! I then try: seam new-entity, enter Person, take defaults. It creates things! It says type seam restart, and go to http://localhost:8080/step_2/seam.personList and I do. I get javax.el.ELException: /personList.xhtml @21,67 rendered="#{empty personList.resultList}": Error reading 'resultList' on type com.shoulderscorp.step2.PersonList_$$_javassist_0 Now why, if I follow the example instructions should it fail? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111483#4111483 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - how to invoke action, then display resource
Hi, I want to show a page with an excel file after clicking some button. But don't know how to redirect to show the file, I tried using pages.xml as any other page but didn't worked: | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111484#4111484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - form submission and s:button
I have a problem here and any help is appreciated. I have a form in which I used a few s:buttons to get to the actions. Now, the form has user data which needs submission. Can I use javascript (onclick) in s:button to programatically submit the form? Thanks, M View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111486#4111486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Question about SEAM booking example
Hi, In the SEAM documentation, it said anonymous wrote : The booking application uses JSF, EJB 3.0 and Seam, together with Facelets for the view. There is also a port | of this application to JSF, Facelets, Seam, JavaBeans and Hibernate3. | Can you please tell me where can I find the port of the example which uses 'JavaBeans and hibernate3? I can only find 'booking' and 'groovy-booking'. More over, can you please tell me what do I need to configure the database (e.g. mysql) to run the example? Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111488#4111488 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111488 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Persitence problem
When the server starts also thrown an exception:: | 2007-12-10 00:19:50,312 DEBUG [org.hibernate.util.JDBCExceptionReporter] could not execute query [select job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, job0_.DUEDATE_ as DUEDATE4_26_, job0_.PROCESSINSTANCE_ as PROCESSI5_26_, job0_.TOKEN_ as TOKEN6_26_, job0_.TASKINSTANCE_ as TASKINST7_26_, job0_.ISSUSPENDED_ as ISSUSPEN8_26_, job0_.ISEXCLUSIVE_ as ISEXCLUS9_26_, job0_.LOCKOWNER_ as LOCKOWNER10_26_, job0_.LOCKTIME_ as LOCKTIME11_26_, job0_.EXCEPTION_ as EXCEPTION12_26_, job0_.RETRIES_ as RETRIES13_26_, job0_.NAME_ as NAME14_26_, job0_.REPEAT_ as REPEAT15_26_, job0_.TRANSITIONNAME_ as TRANSIT16_26_, job0_.ACTION_ as ACTION17_26_, job0_.GRAPHELEMENTTYPE_ as GRAPHEL18_26_, job0_.GRAPHELEMENT_ as GRAPHEL19_26_, job0_.NODE_ as NODE20_26_, job0_.CLASS_ as CLASS2_26_ from JBPM_JOB job0_ where (job0_.LOCKOWNER_ is null or job0_.LOCKOWNER_=?) and job0_.RETRIES_>0 and job0_.DUEDATE_<=? and job0_.ISSUSPENDED_<>1 order by job0_.DUEDATE_ asc] | com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, job0_.DUEDATE_ as DUEDAT' at line 1 | at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1027) | at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957) | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3376) | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3308) | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1837) | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1961) | at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2543) | at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1737) | at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1888) | at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:236) | at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186) | at org.hibernate.loader.Loader.getResultSet(Loader.java:1669) | at org.hibernate.loader.Loader.doQuery(Loader.java:662) | at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) | at org.hibernate.loader.Loader.doList(Loader.java:2145) | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029) | at org.hibernate.loader.Loader.list(Loader.java:2024) | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:392) | at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:333) | at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172) | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114) | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) | at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:756) | at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:40) | at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:114) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111489#4111489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - jboss products integration?
hi, we're currently configuring a new server and we want to be able to use the following: - j2ee (servlets, ejbs) - hibernate - php (for the view part) the server is running with windows xp os (its just a development server). we want to use the JBoss AS 4.2.2 and after a few days of reading, downloading, installing and configurating i came up with the following questions: (1) do we need to have the JBoss Web as well? is it enough to use the JBoss Native 2.0.1 ? (in order to run php scripts) (2) what will be the best way to use the jboss as a windows service: the java wrapper or the service.bat which comes with the jboss native? (3) is it possible to use java objects from with in the php scripts? i know that the php/java bridge works good, but i never tested it in this kind of environment before.. is there another (better?) way to do so? thanks a lot, nitzan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111490#4111490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - missing conversation entry error
Hello I'm having problems with a nested conversation, which after termination cannot restore the parent conversation only in 1 out of 3 similar (it seems so) cases. Its a case of edition of item A which has a collection of items B, when edition of item A starts I begin a conversation, inside that page every edition of items B is done inside a nested conversation. It works fine except in case of deletion of item B, which throws IllegalStateException: missing conversation entry. Here is the relevant code this is the extract from master page (company which holds a collection of employees): | | | | | | | | | | this is the extract from detail page (employee data): | | | | | | | | Name: | | | | | | | | | | | | | | | | the pages.xml: | | | | | | | | | | | | | | | | | finally, the EditorEmployee.java | @Scope(ScopeType.CONVERSATION) | @Name("editorEmployee") | @Restrict("#{identity.loggedIn and s:hasRole('Administrator')}") | public class EditorEmployeeAction { | @In("#{editorSede.sede}") | Company company ; | | @Begin(nested=true, flushMode=FlushModeType.MANUAL) | public void select(Employee selectedEmployee) { | log.info("selectEmployee, beginning conversation.id=#0",Conversation.instance().getId()) ; | employee = entityManager.merge(selectedEmployee); | } | | @Begin(nested=true, flushMode=FlushModeType.MANUAL) | public void crear() { | log.info("newEmployee, beginning conversation.id=#0",Conversation.instance().getId()) ; | employee = new Employee(company, "") ; | } | | @End | public void delete() { | company.getEmployees().remove(employee) ; | entityManager.remove(employee) ; | entityManager.flush() ; | log.info("deleted employee #0, conversation.id: #1",employee,Conversation.instance().getId()) ; | facesMessages.add("Employee deleted successfully.") ; | } | | public void save() { | boolean valid = validateEmployee(employee) ; | ok = false ; | if(valid) { | //agregate to collection only if new employee | if(employee.getId()==null) | company.getEmployees().add(employee) ; | | entityManager.persist(employee); | facesMessages.add("Employee data saved ok"); | ok = true; | entityManager.flush() ; | | log.info("finishing nested conversation #0",Conversation.instance().getId()); | //conversation ended programmatically because in case validation fails the page is redisplayed | //and conversation must continue until canceled or data ok. | Conversation.instance().end() ; | } | } | | @End | public void cancel() { | log.info("editing employee canceled.") ; | } | Must part of this code works ok: creation or modification of employee, also if cancel action invoked. But something goes wrong with invocation of editorEmployee.delete(), the object is deleted correctly but the next view is not displayed, here is the complete stack trace: | GRAVE: uncaught exception | java.lang.IllegalStateException: missing conversation entry | at org.jboss.seam.core.Conversation.flush(Conversation.java:124) | at org.jboss.seam.core.Manager.flushConversationMetadata(Manager.java:882) | at org.jboss.seam.faces.FacesManager.prepareBackswitch(FacesManager.java:278) | at org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:470) | at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:146) | at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) | at org
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss 4.2.2 doesn't work with the latest version of JSF RI :
As indicated at http://jira.jboss.org/jira/browse/JBAS-5063: JBossAS 4.2.2 doesn't work with the latest version of JSF RI :-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111497#4111497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Security - add a permission to Identity
I'm currently working on some extensions to the security API, one of these will be ACL security which will allow you to assign instance-based permissions to users. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111498#4111498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - actionHandler creates mutiple tokens , then to same Join (He
hi, I am creating a work flow Like: Node1(MyActionHandler) -->Task 1--->Node2--> Task2--->Join ---> node 3 -->Task 1--->Node2--> Task2--->Join -->Task 1--->Node2--> Task2--->Join there is a actionhandler named "MyActionHandler" in Node1, MyActionHandler create 3 tokens for Task 1, which means 3 Task1 or 3 sub Tokens but if one of those 3 tokens finished Task2, join won't wait other 2 tokens, join just go straight to node3. how to make join waiting for all 3 tokens(go to nodes until 3 tokens finish Task2)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111499#4111499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: actionHandler creates mutiple tokens , then to same Join
Node1(MyActionHandler) -->Task 1--->Node2--> Task2--->Join ---> node 3 -->Task 1--->Node2--> Task2---> -->Task 1--->Node2--> Task2---> this is work flow View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111501#4111501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to start JBoss in Windows XP Pro automatically at lo
Start JBoss as a service. Use JBoss Native, as mentioned at http://wiki.jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111503#4111503 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111503 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Configuring Jboss + Apache HTTPD + tomcat
Hello, after 2 days of trying multiple things I finally have decided to seek for expert advice from you guys. Here is my scenerio, I have Apache2, jboss4.2.2, and tomcat 5 all running on the same linux server and I need to have them work all together which they were to a certain extent. We recently installed a php application to our apache server and that is when things started to get a but much for me. The problem is that I need to have diferent directories respond to different applications. For example www.mydomain.com/mail goes to the stand alone tomcat www.mydomain.com/customapp goes to my php application www.mydomain.com goes to my Jboss server www.mydomain.com/jbossapp goes to my jboss server Let me show you my configuration files first. This is my modjk configuration file for apache === LoadModule jk_module /usr/lib/apache2/mod_jk.so JkWorkersFile /etc/apache2/conf.d/workers.properties #JkShmFile /var/log/apache2/mod_jk.shm JkLogFile /var/log/apache2/mod_jk.log JkLogLevel debug JkLogStampFormat "[%a %b %d %H:%M:%S %Y]" JkLogLevel debug JkMount /* jboss JkMount /mail/* tomcat This is my workers.properties file == worker.list=tomcat,jboss worker.jboss.port=8009 worker.jboss.host=localhost worker.jboss.type=ajp13 worker.jboss.lbfactor=1 worker.tomcat.port=8008 worker.tomcat.host=localhost worker.tomcat.type=ajp13 worker.tomcat.lbfactor=1 And this is the configuration for the PHP application == Alias /customapp /home/apps/apache/www/customapp Options -Indexes -FollowSymLinks +ExecCGI AllowOverride None Order allow,deny Allow from all php_value session.save_handler user php_value max_execution_time 300 AddDefaultCharset ISO-8859-1 php_value register_globals 1 Order deny,allow Deny from all The problem with Jboss is that if I set JkMount /* jboss in my configurations it will respond for the path that my php application should be responding. And the response is one of those generic Jboss errors directory not found. I know I am mounting Jboss to respond to anything when I set it like that. But first, if I set something like JkMount /jmx-console/* jboss I get an error message from the apache server and in my modjk log I get this error message [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (500)]: Attempting to map URI '/jmx-console' [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (618)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (500)]: Attempting to map URI '/jmx-console' [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (618)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (500)]: Attempting to map URI '/error/HTTP_NOT_FOUND.html.var' [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (618)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_t::map_uri_to_worker when I had only the jboss server and the tomcat server running simultaniously I had no problem mounting jboss as JkMount /* but now that I need the php application I can't mount it like that. -First, why when I set JkMount /jmx-console/* jboss it does not work? Only when I set it as JkMount /* jboss I can access the jmx console Once I get the issue above resolved, -How do I get my application to be the root application for my domain? Like I mentioned before I was accomplishing this by setting JkMount /* but I can't do that any more Sorry I know it is a lot to digest, but I am pulling my hair out trying to make this work Any help is greatly appreciated! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111504#4111504 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111504 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu
Hi Pete, As this may be true, I'm still having troubles with UseJBossWebLoader=false and JSF, eg when using RichFaces' Tree and adviseNodeOpened, throwing this exception: | 06:11:09,568 ERROR [STDERR] Dec 10, 2007 6:11:09 AM com.sun.facelets.FaceletViewHandler handleRenderException | SEVERE: Error Rendering View[/app/tumbolia/pages/home.xhtml] | javax.faces.el.MethodNotFoundException: /app/tumbolia/panels/main/space/showSpace.xhtml @197,65 adviseNodeOpened="#{fileSystemManager.adviseFileSystemTreeNodeOpened}": Method not found: FileSystemManagerImpl:3j011-viq6zi-fa0jfyhc-1-fa0jr7br-1c.adviseFileSystemTreeNodeOpened(org.richfaces.component.UITree) | at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:71) | at org.richfaces.renderkit.TreeRendererBase$DataVisitorWithLastElement$1.adviseNodeOpened(TreeRendererBase.java:312) | at org.richfaces.renderkit.TreeRendererBase$DataVisitorWithLastElement.processAdvisors(TreeRendererBase.java:329) | at org.richfaces.renderkit.TreeRendererBase$DataVisitorWithLastElement.process(TreeRendererBase.java:241) | at org.richfaces.model.AbstractTreeDataModel.processElement(AbstractTreeDataModel.java:132) | at org.richfaces.model.StackingTreeModel.doWalk(StackingTreeModel.java:280) | at org.richfaces.model.StackingTreeModel$Visitor1.process(StackingTreeModel.java:393) | at org.richfaces.model.StackingTreeModel$ShiftingDataVisitor.process(StackingTreeModel.java:428) | at org.richfaces.model.StackingTreeModel$1.process(StackingTreeModel.java:318) | at org.richfaces.model.SequenceDataModel.walk(SequenceDataModel.java:59) | at org.richfaces.model.StackingTreeModel.doWalk(StackingTreeModel.java:302) | at org.richfaces.model.StackingTreeModel.walk(StackingTreeModel.java:365) | at org.richfaces.component.UITree.walk(UITree.java:323) | at org.richfaces.renderkit.TreeRendererBase.writeContent(TreeRendererBase.java:682) | at org.richfaces.renderkit.TreeRendererBase.encodeChildren(TreeRendererBase.java:625) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886) | at javax.faces.render.Renderer.encodeChildren(Renderer.java:137) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812) | at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:271) | at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:276) | at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:276) | at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:242) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592) | at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108) | at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4js
[jboss-user] [JBoss jBPM] - is it possible that joinContext in joinhandler find all toke
hi, is it possible that joinContext In joinHandler find all tokens in workflow? i mean even the tokens belong to other join thx a lot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111507#4111507 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Not able to access web service via IP
Are you able to ping the JBoss server using this IP from your remote machine? Also, does telnet xxx.xxx.xxx.xxx 1099 where xxx.xxx.xxx.xxx is the IP of your JBoss server, work from the remote machine? And what is the exact command that you use to start JBoss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111508#4111508 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111508 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Why I can't start JBOSS 4.2.2GA?
"jackhexy" wrote : | I caught the crux of the problem for i couldn't start the server. | There is a Equipment named 'nul' in dos ,but it was wrong in my windows system,maybe it was sabotaged.When I deploymented PostgreSQL 8.2,the wrong messages same to them in Jboss4.2 | Finially,I judged the crux was at the windows system.I changed one windows system,Jboss and PostgreSQL were ok. | jackhexy, Thank you, for coming back and posting the actual cause of the problem. That will help others, if they too run into similar issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111510#4111510 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111510 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - how to serialize inputstream
Hello How to serialize inputstream .I need to pass it to remote ejb methods Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111512#4111512 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111512 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Recommendation: Filter, Servlet or tag
Hello, I have a field read from db that contains some HTML and I have to display this field. The HTML contans things like : ". ...". All images are in a db table with 3 fields: id - e.g. ./MyImages/img1.jpg mimetype data (blob) I see 3 ways to implement this: - create a Filter that find all such img tags in the page and recognize the images starting with ./MyImages. The filter stores the images in the GraphicImageStore and replace the URL with the seam url to retrive the image from store. - make a servlet mapped to "MyImages". Servlet will access the dao to retrieve the data from db. - create a tag similar to seamtext that receive a text and make all the necesarry steps (parse, store imgs in ImageStore, replace the IMG tags with calls to the img store). Any other View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111513#4111513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111513 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Finding next task after join?
Hi, I am trying to programatically find the next tasks to display to the user as buttons while he is busy on any particular task. I get this right with normal transitions to tasks and forks but do not know how to do this when the transition is to a join. I would then need to find out whether the join is only waiting for the current task in which case I will display the task after the join to the user otherwise I need to display the tasks that the join is still waiting for to the user. Is this possible? Basically the idea is to generate the transitions as buttons on the form for the user and start the next task for the user and display the web page for that task. Currently I am doing the following to get the next task when a fork is involved. | List leavingTransisitons = taskInstance.getAvailableTransitions(); | if (leavingTransisitons.size()!=1) { | throw new IllegalStateException("Task may only have one leaving transition!"); | } | Transition leavingTransition = leavingTransisitons.get(0); | log.info("leavingTransition = #0 ", leavingTransition.getName()); | | Node node = leavingTransition.getTo(); | if (node.getName().startsWith("fork")) { | log.info("leavingTransistion.getTo() = #0 ", node.getName()); | List forkLeavingTrans = node.getLeavingTransitions(); | for (Transition forkTransition : forkLeavingTrans) { | log.info("forkTransition #0 ", forkTransition.getName()); | transitionTasks.add(new TransitionTask(leavingTransition.getName(),forkTransition.getTo().getName(),forkTransition.getTo().getName())); | } | } else if (node.getName().startsWith("join")) { | log.info("leavingTransistion.getTo() = #0 ", node.getName()); | } | I know that the hardcoding of task names as 'join' or 'fork' is ugly but with the javassist I do not know how else to tell the type of the nodes. Any help pointers appreciated. I am using jbpm-3.2.2 with seam-2.0.0.GA Cheers Pieter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111514#4111514 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with my jbpm database
A quick update: I no longer seem to have dropped connections after creating the datasource in tomcat, and setting the maxIdle parameter. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111515#4111515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - non-JRMP server at remote end point
Hi, I am doing RMIS. In that i have 2 applications deployed on 2 jboss servers on different machines. These applications should connect and make calls to each other thru RMIS . I have done all the necessary steps for Secure RMI But the exception i am getting is java.rmi.ConnectIOException : non-JRMP server at remote end point If i deploy the same applications on one server it works fine . Please help me in this matter. Ur help will be appriciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111520#4111520 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - non-JRMP server at remote end point
Hi, I am doing RMIS. In that i have 2 applications deployed on 2 jboss servers on different machines. These applications should connect and make calls to each other thru RMIS . I have done all the necessary steps for Secure RMI But the exception i am getting is java.rmi.ConnectIOException : non-JRMP server at remote end point If i deploy the same applications on one server it works fine . Please help me in this matter. Ur help will be appriciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111522#4111522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - non-JRMP server at remote end point
Hi, I am doing RMIS. In that i have 2 applications deployed on 2 jboss servers on different machines. These applications should connect and make calls to each other thru RMIS . I have done all the necessary steps for Secure RMI But the exception i am getting is java.rmi.ConnectIOException : non-JRMP server at remote end point If i deploy the same applications on one server it works fine . Please help me in this matter. Ur help will be appriciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111519#4111519 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111519 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - bets practics of an ejb app initialization
Hi ALL! I'm fairly weak with EJB, so I need your guidelines. I have application which has several EJBs. One of them is message driven bean (MDB). The application use some library which has to be initialized. At the moment I put library's initialization code in a method ejbCreate() of the MDB. This is not convenient because library requires quite long time for initialization and this initialization occurs only when first message for MDB arrives. So question is how to initialize library for MDB at server's startup. I saw that for example WebSphera has ability to mark bean as initialized at application's startup time. Is this possible in JBoss, or may be JBoss has other way to achieve that aim? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111523#4111523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam iText - Table in Footer
this is a restriction of the implementation. You could do something with facet="header", but at the moment imho pdf generation through tags is not very mature yet. Although iText is quite fast, its roots are ancient and it shows. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111524#4111524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111524 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Outject doesn't work
I have an UserListBean, a userList.xhtml page and a userView.xhtml page,and when I try to outject the DataModelSelection,from the list page to the view page,but it doesn't work: UserListBean.java @Stateful | @Scope(SEESION) | @Name("userList") | public class UserListBean implememts UserList { | @DataModel | private List users; | | @DataModelSelection | @Out (required = false) | private User user; | | @Factory | public void getUsers () { | ... | } | } userList.xhtml | | User Name | #{usr.username} | | ... | | View | | | userView.xhtml | | User Name: | #{user.username} | | ... | everything seems ok,but when I click "View" from the list page to view page,the view page doesn't get the "user",I chek the log,it says that the component user is not found.means it didn't outject correctly... I know may be this kind of problem has been discussed in the forum before,but I just can not find it... I suppose that when I select the user from the list page,the DataModelSelection does inject to "userList",but it didn't outject... when will the outject will be processed?at the very begin when the component create? in many scenario,the variable is null when the component is created,but I want to outject that variable when it gets a value any comments will be greatful View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111526#4111526 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Invoking methods annotated with @PreDestroy
Hello Can anyone please tell me whether the @PreDestroy annotation is supported in the JBoss 4.0.4.GA? I am closing a database connection in a method annotated with the @PreDestroy in a Stateless Session Bean. After closing the connection i have a logger statement. But that statement is never written in the log file of jboss. I wanted to know when the method annotated with PreDestroy would be called? Or is it not supported in this version of JBoss? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111525#4111525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user