[jboss-user] [EJB 3.0] - Re: ArrayStoreException when accessing bean from war
Please disregard my previous post - it still doesn't work! The configuration now is: one .EAR with 4 stateless session beans 2 .WAR's (jax-ws webservice servers) I just wonder, is this something that should work on JBoss or is it (not yet) supported? Thanks for any ideas! Lorenz View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123939#4123939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123939 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Internal Architecture of Seam Design and Source Code
Some sort of overview would be helpful, yes. Looking at web.xml then the logical starting points would be org.jboss.seam.servlet.SeamListener and org.jboss.seam.servlet.SeamFilter but without some sort of high-level map it's easy to get lost... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123938#4123938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Integration richfaces with seam
Thanx for your advice. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123935#4123935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123935 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Jboss mbean server (vs) JVM Platform mbean server
Oh that's nice, was helpful information. Provided a situation where the Jboss mbean server is the platform MBean server [with th flag set], will disabling the remote access flag for jvm disable the remote access to jvm for platform mbean server? Or in other sense for enabling jboss platform mbean server remote access, do i need to enable jvm remote access too? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123934#4123934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123934 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBossPortal / Alfersco Integration---Need help
Can anybody tell how to integrate Alfresco with JBOSS Portal Server. And I have successuflly Integrated Alfresco and jbossportal on JBOSS Application server, its working fine ,i can access portal and alfresco console pages on single server(JBoss server).l I want to replace default CMS in JBossPortal with Alfresco WCM. Can anybody help me how to replace CMS with AlfrescoWCM. And guide me what are the portlets are required to configure. Thanks in advance Naidu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123933#4123933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: is possible to get NamingSerivceMBean attribute?
| | 1099 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123932#4123932 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - is possible to get NamingSerivceMBean attribute?
Hi: I use Jboss 4.2.1 GA,for multiple instance to run . I change every conf/jboss-service.xml port value by follow wizard: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringTheJNDINamingServiceInConfjbossSystem.xml 1099 In Java code ,I want to get current Jboss runing instance port to initialize the context environment. how to get this NamingSevice port value? thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123931#4123931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Problem Retrieving Bean Locally
I have to apologize, I made a very stupid mistake... The reason that error message didn't come on search engines up is because... Its my own exception it ;). Turns out that the cluster I was connecting to had its IP address changed and that was causing the error -- not JBoss. I updated the IP and everything is great now. Sorry to waste your time, a mod should delete this if possible! I have to add though, JBoss 4.2.2 was a breeze to configure compared to 4.0.4... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123930#4123930 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123930 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Type Checking in Expression Language
It works for you because you don't have a proxy in that situation, I guess. And I had it as a Facelets function and then put it on the entity, it turns out isInstance(Class) is useful in other situations - because of the proxy problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123929#4123929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123929 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Integration richfaces with seam
Well, I advice you to get the JBoss tools and download Seam (which includes loads of examples of using Seam with RichFaces) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123928#4123928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123928 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBOSS-Alfresco Integration
Can anybody tell how to integrate Alfresco with JBOSS portal. I want to remove default CMS from JBOSS and put Alfresco instead of CMS. I have done some configuration file changes so that JBOSS portal and Alfresco both are running on same application server instance. But to deploy Alfresco on JBOSS, it seems configuration files in JBOSS require some Alfresco portlet instances. Is there any Alfresco portlet instance exists? Is there any other way to integrate Alfresco with JBOSS without using Alfresco portlet instance. Please reply. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123927#4123927 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123927 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Integration richfaces with seam
I developed a product using Rich Faces. But now am very much interest on seam. so is it possible to use RichFaces with seam. if yes then i will really glad if someone provide me some documentation or a sample application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123925#4123925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123925 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to invoke web-service from Bpel process
Thanks Alejandro for your response. It works :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123923#4123923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123923 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Need seam to load XXX.jar!/META-INF/pages.xml
Need seam to load and parse XXX.jar!/META-INF/pages.xml, any solutions? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123921#4123921 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123921 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Problem Retrieving Bean Locally
When does this error occur? Is it when you start JBoss or when you are doing the lookup? Can you post the entire exception stacktrace. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123920#4123920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123920 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Internal Architecture of Seam Design and Source Code
Hi, Where I can i find information about internal architecure of Seam and its source code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123915#4123915 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123915 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JBM 1.4.0.SP3 JMSX properties bug
I've run into a problem using the bridge with a provider that is sending JMSX header properties (provider->bridge->JBoss JBM). The JMSX properties are NOT getting ignored. http://viewvc.jboss.org/cgi-bin/viewvc.cgi/messaging/trunk/src/main/org/jboss/jms/server/bridge/Bridge.java?r1=2817&r2=2906&pathrev=3189 revision 2906, Thu Jul 19 11:07:43 2007 UTC introduced the following code: if (!propName.startsWith("JMSX") || propName.equals("JMSXGroupID") || propName.equals("JMSXGroupSeq")); << NOTICE SEMI-COLON! { msg.setObjectProperty(propName, entry.getValue()); } Additionally, in JBossMessage.java there is code that will throw an exception when a JMSX property is being set. This is causing a problem when using the bridge to write into another provider (JBoss JBM->bridge->provider). My question here is why is the JMSX property not ignored as the code in the bridge above intends to do? I've added code to catch this exception and ignore if to get it to work. JMSX exception thrown: 15:44:28,870 WARN [Bridge] Failed to send + acknowledge batch, closing JMS obje cts javax.jms.JMSException: Can only set JMSXGroupId, JMSXGroupSeq, JMSXDeliveryCoun t at org.jboss.jms.message.JBossMessage.checkProperty(JBossMessage.java:11 06) at org.jboss.jms.message.JBossMessage.setObjectProperty(JBossMessage.jav a:916) at org.jboss.jms.message.MessageProxy.setObjectProperty(MessageProxy.jav a:418) at com.evermind.server.jms.JMSUtils.convertProperties(JMSUtils.java:1760 ) at com.evermind.server.jms.JMSUtils.convertHeaders(JMSUtils.java:1740) at com.evermind.server.jms.EvermindSession.send(EvermindSession.java:110 8) at com.evermind.server.jms.EvermindMessageProducer.send(EvermindMessageP roducer.java:409) at com.evermind.server.jms.EvermindMessageProducer.send(EvermindMessageP roducer.java:221) at org.jboss.jms.server.bridge.Bridge.sendMessages(Bridge.java:1339) at org.jboss.jms.server.bridge.Bridge.sendBatchNonTransacted(Bridge.java :1190) at org.jboss.jms.server.bridge.Bridge.sendBatch(Bridge.java:1304) at org.jboss.jms.server.bridge.Bridge.access$15(Bridge.java:1282) at org.jboss.jms.server.bridge.Bridge$SourceListener.onMessage(Bridge.ja va:1632) at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientCon sumer.java:159) at org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(Clie ntConsumer.java:976) at org.jboss.messaging.util.JBMExecutor$TCLExecutor.run(JBMExecutor.java :78) at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExe cutor.java:89) at java.lang.Thread.run(Thread.java:595) 15:44:28,917 WARN [Bridge] Will retry after a pause of 5000 ms 15:44:33,978 INFO [Bridge] Succeeded in reconnecting to servers http://viewvc.jboss.org/cgi-bin/viewvc.cgi/messaging/trunk/src/main/org/jboss/jms/message/JBossMessage.java?view=markup&pathrev=272 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123914#4123914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123914 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Component access another component
| @Name("componentA") | public class ComponentA{ | |private String fieldX; | |public void setFieldX(String x) { | this.fieldX = x; |} | } | | @Name("ComponentB") | public class ComponentB{ | |private ComponentA a; | |@In |public void setComponentA(ComponentA a) { | this.a = a; |} | |public void method(){ | a.setFieldX(12); |} | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123912#4123912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123912 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Component access another component
"[EMAIL PROTECTED]" wrote : No. You'd need to declare a getter. Even the componentA declares a getter for its field, how can I access it from componentB's method? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123909#4123909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123909 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam 2.0.1.CR1 with Tomcat 6.0 and Postgres DB
I changed to: | and still got the same error. Where in jboss do I define the TransactionManager? is com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate the correct transaction manager for hibernate and postgres? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123908#4123908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123908 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam 2.0.1.CR1 with Tomcat 6.0 and Postgres DB
oh and you need to set the property: hibernate.transaction.flush_before_completion to true View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123907#4123907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam 2.0.1.CR1 with Tomcat 6.0 and Postgres DB
What happens if you change: | | To: | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123906#4123906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Type Checking in Expression Language
Wait a minute ChristianThen why does it work for me? | http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123904#4123904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Remoting not converting collection objects correctl
Could you please raise this in JIRA with a reproducible test case? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123903#4123903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123903 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: error while reading /WEB-INF/components.xml ??
Thanks for your reply. It seems I've solved the problem. I was converting a project from SEAM 1.2 to 2.0 and there where a few jars in my app that were giving these conflicts with the jars from SEAM 2.0. Noob mistake :). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123902#4123902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123902 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam 2.0.1.CR1 with Tomcat 6.0 and Postgres DB
I'm using hibernate so here is my hibernate.cfg.xml: | | | true | true | after_statement | org.hibernate.cache.HashtableCacheProvider | org.hibernate.transaction.JBossTransactionManagerLookup | org.hibernate.transaction.JTATransactionFactory | java:/PostgresDS | org.hibernate.cfg.AnnotationConfiguration | org.hibernate.dialect.PostgreSQLDialect | | | | | ... | and from components.xml ... | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123901#4123901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: error while reading /WEB-INF/components.xml ??
Post all stacktrace you can find, you can (almost) never have too much. Is there anything about properties resolving to null in it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123898#4123898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123898 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Type Checking in Expression Language
Ah damn it! Too many caveats. @Mykey: If you are using Facelets, which I hope you are. It'll probably be better to make a facelet function instead of tie that to your entity, which heavily violate the DRY principle. https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-function View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123896#4123896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123896 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - How to assign different header.jsp for different potals runn
Hi All, I have a requirement where I need to run different Portals in same Portal container and each Portal needs to have different header.jsp. Just wondering how can one achieve this in a right way ? Esentially it bolis down to how do I have different PageCustomizer for diferent Portals (i.e. myPortal1 will work using PageCustomizer1 and myPortal2 will work using PageCustomizer2). Thanks in advance. Rohit View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123897#4123897 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123897 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam 2.0.1.CR1 with Tomcat 6.0 and Postgres DB
Post your persistence.xml and the persistance-related stuff from components.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123895#4123895 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how to estimate / calculate the end date of a process?
The startDate indeed gets a value if the task is started. What you can do is - make sure the tasks is not auto created (see api/xsd) - create an action on task-node enter event that puts a 'trigger' on a (message) queue somewhere with a delay to create the task. afaik, most jms implementations support delayed delivery, so maybe that can be used, or maybe even jbpm timers... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123893#4123893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam 2.0.1.CR1 with Tomcat 6.0 and Postgres DB
Sorry, here is my ds configuration: | | | PostgresDS | jdbc:postgresql://localhost/beta_xxx | org.postgresql.Driver | genie | genie4.0 | | | And the stack trace: | jSEVERE: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | java.lang.ClassCastException: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate cannot be cast to javax.transaction.TransactionManager | at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:23) | at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:325) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294) | at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915) | at org.jboss.seam.persistence.HibernateSessionFactory.createSessionFactory(HibernateSessionFactory.java:165) | at org.jboss.seam.persistence.HibernateSessionFactory.startup(HibernateSessionFactory.java:79) | 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:597) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125) | at org.jboss.seam.Component.callComponentMethod(Component.java:2082) | at org.jboss.seam.Component.callCreateMethod(Component.java:2005) | at org.jboss.seam.Component.newInstance(Component.java:1976) | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) | at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95) | at org.jboss.seam.init.Initialization.init(Initialization.java:573) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) | at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626) | at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553) | at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) | at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) | at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) | at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) | at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) | at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) | at org.apache.catalina.core.StandardService.start(StandardService.java:516) | at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) | at org.apache.catalina.startup.Catalina.start(Catalina.java:566) | 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:597) | at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) | at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123892#4123892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Type Checking in Expression Language
This doesn't work with entity proxies, they are runtime-generated subclasses. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123891#4123891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Problem Retrieving Bean Locally
I've been using JBoss and retrieving beans for some time now successfully, but after taking a break from a project over summer and reinstalling JBoss on my new PC it is no longer working. If it makes a difference, I upgraded to Windows XP x64 edition and NetBeans 6.0, same JBoss version (4.2.2 GA) The specific error from JBoss is: 13:29:00,524 INFO [STDOUT] An error occured : There was a problem while talking to 216.19.36.215:22 I am attempting to access the bean locally and have tried using the -b 0.0.0.0 option, with no luck. I'm confused because the JBoss server is acknowledging the connection, but there is some sort of internal error that I am unaware of. Here is some of the code in quesion: public class ManagerClient { | | public static InitialContext INITIAL_CONTEXT = null; | | /** | *Creates the ManagerClient with the provided URL to the Application Server | * | [EMAIL PROTECTED] providerURL URL of the JBoss Application Server | [EMAIL PROTECTED] NamingException If something goes wrong with the environement naming | */ | public ManagerClient(String providerURL) throws NamingException { | | Properties env = new Properties(); | | env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | env.put(Context.PROVIDER_URL, providerURL); | | try { | ManagerClient.INITIAL_CONTEXT = new InitialContext(env); | } catch (NamingException ex) { | ex.printStackTrace(); | System.exit(1); | } | } | | /** | * Sets the default location of the JBoss Application Server | * | * @throws NamingException If something goes wrong with the environment naming | */ | public ManagerClient() throws NamingException { | this("jnp://localhost:1099"); | } | | | /** | * Creates the ManagerClient environment, then starts the meat of the program | * in the ManagerFrame. | * @param args the command line arguments | */ | public static void main(String[] args) { | | try { | new ManagerClient(); | } catch (NamingException ex) { | ex.printStackTrace(); | System.exit(1); | } | | new ManagerFrame("Manager"); | | } | } and when I retrieve in the ManagerFrame, dbm = (DataBaseManager) ManagerClient.INITIAL_CONTEXT.lookup("ResourceGate-server/DataBaseManagerBean/remote"); | ssh = (SSHInterface) ManagerClient.INITIAL_CONTEXT.lookup("ResourceGate-server/SSHBean/remote"); | secureTransfer = (SecureFileTransfer) ManagerClient.INITIAL_CONTEXT.lookup("ResourceGate-server/SecureFileTransfer/remote"); Thanks for any help you can provide -- I am trying to finish this project up for deployment this week and not being able to run it at all is frustrating :(. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123890#4123890 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Webservice client over SSL
Hello, I want to call a webservice over ssl using jbossws. I am able to do it by setting the following properties for the jvm : | -Djavax.net.ssl.keyStore=mykeystore.jks | -Djavax.net.ssl.keyStorePassword=password | | I want to avoid this kind of configuration and assign a different keystore for every different client. Do you have any clue on the way to do that ? Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123888#4123888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123888 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Type Checking in Expression Language
... which looks like the most beautiful way. I should try this as well. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123887#4123887 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123887 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: error while reading /WEB-INF/components.xml ??
Sorry but I've forgot to post the contents of components.xml. Here it is: | | http://jboss.com/products/seam/components"; | xmlns:core="http://jboss.com/products/seam/core"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xmlns:bpm="http://jboss.com/products/seam/bpm"; | xmlns:mail="http://jboss.com/products/seam/mail"; | xmlns:transaction="http://jboss.com/products/seam/transaction"; | xmlns:persistence="http://jboss.com/products/seam/persistence"; | xsi:schemaLocation= |"http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-1.2.xsd |http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd |http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd |http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.0.xsd |http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.0.xsd |http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd";> | | | | createproject.jpdl.xml | createaccount.jpdl.xml | pageflow.jpdl.xml | login.jpdl.xml | loginfailed.jpdl.xml | home.jpdl.xml | | | | | | | | | | | This xml was bigger but I've commented most of it to try and isolate the error. But I've failed. So know this is the only thing it contains. Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123886#4123886 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123886 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SEAM 2.0 remoting/gwt example problem
I solved the problem by zipping the project in an ear. In SEAM 1.2 it was in an war and it worked just fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123885#4123885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123885 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - error while reading /WEB-INF/components.xml ??
I get a very strange error complaining about an error in components.xml when I deploy my application. Here is the strack trace (not complete, only the first part): 21:47:53,327 INFO [Initialization] reading /WEB-INF/components.xml | 21:47:53,343 ERROR [[/projectmanager]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | java.lang.RuntimeException: error while reading /WEB-INF/components.xml | at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:136) | at org.jboss.seam.init.Initialization.create(Initialization.java:86) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | 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.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312) | 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.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | 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) | 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.GeneratedMethodAccessor9.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 $Proxy45.start(Unknown Source) | at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
[jboss-user] [JBoss Seam] - Re: Several actions performed by one bean - is it possible a
Hi, there isn't such restriction to have just one method with @Begin, probably there is something else wrong with your code. regards, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123883#4123883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123883 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam 2.0.1.CR1 with Tomcat 6.0 and Postgres DB
Put your code stuff in tags, it's hard to interpret. | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123882#4123882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123882 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Type Checking in Expression Language
Heheh I did it using: | http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123880#4123880 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123880 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam 2.0.1.CR1 with Tomcat 6.0 and Postgres DB
I'm having a hard time upgrading from seam 1.2.1 to seam 2.0.1.CR1. I saw that there is a new version of Embedded JBoss and decided it is now or never for the upgrade. I followed all the instructions on the wiki. I'm using a Postrgres DB, so I created a postgress-ds.xml file and copied to the deploy dir. However, I get a java.lang.ClassCastException: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate cannot be cast to javax.transaction.TransactionManager exception. I'm new to jboss configuration, so maybe I'm missing a file (maybe need to delete a file) or configuration? can somebody please point me on the right direction? Here is my ds configuration: PostgresDS jdbc:postgresql://localhost/beta_xxx org.postgresql.Driver genie genie4.0 And the stack trace: java.lang.ClassCastException: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate cannot be cast to javax.transaction.TransactionManager at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:23) at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:325) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915) at org.jboss.seam.persistence.HibernateSessionFactory.createSessionFactory(HibernateSessionFactory.java:165) at org.jboss.seam.persistence.HibernateSessionFactory.startup(HibernateSessionFactory.java:79) 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:597) at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125) at org.jboss.seam.Component.callComponentMethod(Component.java:2082) at org.jboss.seam.Component.callCreateMethod(Component.java:2005) at org.jboss.seam.Component.newInstance(Component.java:1976) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95) at org.jboss.seam.init.Initialization.init(Initialization.java:573) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123879#4123879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: what causes that
You need to declare your component in either components.xml or as an annotation. If you have an annotation already declared, use @roles. | @Entity | @Name("customer") | @Scope(ScopeType.CONVERSATION) | @Roles([EMAIL PROTECTED](name="editCustomer", scope=ScopeType.CONVERSATION)}) | public class Customer { | . | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123878#4123878 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123878 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam Remoting not converting collection objects correctly
Hi, I am currently using Seam 2.0 GA. Through the use of Seam Remoting, I find that there is a "bug" in how seam decodes Collection objects on the client side (javascript). For example, on the server side, I am doing the following: List getTestItems() {...} When the seam proxy decodes the message it cannot determine the object types inside the returned collection so it returns someting undefined. But if I define Generics then it works: List<..> getTestItems() {...} This means that I am constrained by what I can return. Is this solved in the latest release of SEAM? thanks, Paul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123876#4123876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: 2.0 GA tools bug on eclipse with jboss 4.2.2 : error add
the problem is that the classloader is still holding on the jar and thus under windows you will get such errors. we are working on getting jboss to actually undeploy the app before we start removing the files - that should avoid this windows only issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123874#4123874 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123874 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - 2.0 GA tools bug on eclipse with jboss 4.2.2 : error add/rem
I have jboss tools 2.0 GA installed ontop of callisto. I create a valide EAR project and deploy to jboss AS - it all works okay and EJB intalls/can be called. The server adapter puts exploded EAR file format into the deploy directory as required (the EAR file isnt copied - the directory structure itself is written in exploded format). When i come to remove the EAR from the server - i get an error from the action to the effect that their is no META-INF/application.xml | 16:39:06,542 ERROR [MainDeployer] Could not initialise deployment: file:/E:/jboss/jboss-4.2.2.GA/server/default/deploy/CustSiteEar.ear/ | org.jboss.deployment.DeploymentException: No META-INF/application.xml found | at org.jboss.deployment.EARDeployer.init(EARDeployer.java:146) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy9.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | | | If you look in the directory with explorer - the remove action has removed all the subdirectories including META-INF. It just leaves the .jar files top level in the EAR. | | heres the error in the eclipse log. | | | | !SUBENTRY 1 org.jboss.ide.eclipse.as.core 2 0 2008-01-27 16:39:03.918 | | !MESSAGE Unable to delete module from server. (CustSiteEar/CustSiteEAOProjectClient) | | !STACK 0 | | java.lang.Exception: Some files were not removed from the server | | at org.jboss.ide.eclipse.as.core.publishers.JstPublisher.unpublish(JstPublisher.java:172) | | at org.jboss.ide.eclipse.as.core.publishers.JstPublisher.publishModule(JstPublisher.java:105) | | at org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior.publishModule(DeployableServerBehavior.java:130) | | at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:749) | | at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:835) | | at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:669) | | at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887) | | at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874) | | at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72) | | at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) | | | | why cant it do this correctly - i can still add again and it will work - but the remove + error is somewhat annoying | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123871#4123871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how can i use *.seam and *.jsf at the same time?
thanks man :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123870#4123870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123870 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - SEAM 2.0 remoting/gwt example problem
Hi everyone, I had an application created on SEAM 1.2 which was fine, but then I needed to use GWT, so I changed to SEAM 2.0. After some hours of fight with the application to make it work on 2.0 and also integrate a simple GWT test class, I find myself having a problem which I just can't figure it out. If the web.xml of the application contains | org.jboss.seam.servlet.SeamListener | when I deploy the app I get the following error: 18:21:18,768 ERROR [[/projectmanager]] Exception starting filter Seam Filter | java.lang.ClassCastException: org.jboss.seam.servlet.SeamFilter The stack trace is a bit longer so I didn't include it all. Anyone any ideas why this thing happens? I need to make this work. Thanks a lot for your time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123866#4123866 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123866 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: what causes that
the seam version is jboss-seam-2.0.0.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123869#4123869 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123869 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - what causes that "seam component not found" ?
i try to deploy the seam dvdstore example to jboss4.2.2, i got these errors: 2008-01-28 00:31:34,093 DEBUG [org.jboss.seam.Component] seam component not found: org.jboss.seam.mail.editCustomer | 2008-01-28 00:31:34,093 DEBUG [org.jboss.seam.Component] seam component not found: org.jboss.seam.security.editCustomer | 2008-01-28 00:31:34,093 DEBUG [org.jboss.seam.Component] seam component not found: org.jboss.seam.captcha.editCustomer | 2008-01-28 00:31:34,109 FATAL [javax.enterprise.resource.webcontainer.jsf.application] javax.el.PropertyNotFoundException: /WEB-INF/incl/login.xhtml @28,67 action="#{editCustomer.startEdit}": Target Unreachable, identifier 'editCustomer' resolved to null | javax.faces.el.EvaluationException: javax.el.PropertyNotFoundException: /WEB-INF/incl/login.xhtml @28,67 action="#{editCustomer.startEdit}": Target Unreachable, identifier 'editCustomer' resolved to null | at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:84) | at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91) | at javax.faces.component.UICommand.broadcast(UICommand.java:383) | at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752) | at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | 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.LoggingFilter.doFilter(LoggingFilter.java:58) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | 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.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.el.PropertyNotFoundException: /WEB-INF/incl/login.xhtml @28,67 action="#{editCustomer.startEdit}": Target Unreachable, identifier 'editCustomer' resolved to null | at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:70) | at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77) | ... 39 more | 200
[jboss-user] [JBoss Seam] - Re: Type Checking in Expression Language
I'm not sure whether I found exactly what you meant but I solved the problem by implementing a method public boolean isInstance(String reference) into the EntityBeans. Depending on the reference it returns true or false. Thank you for your quick help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123867#4123867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123867 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object
"Interista" wrote : "nickarls" wrote : Just use @In on the entityManager... | | I tried that, but keep getting: | | 01:41:19,656 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | org.jboss.seam.RequiredException: @In attribute requires non-null value: categoryController.entityManager Putting @In on 'entityManager' isn't the whole story. You need to configure the Seam-managed persistence context in components.xml. The Seam docos have a bit on how to do that, or you can look some of the Seam examples. http://docs.jboss.com/seam/latest/reference/en/html/persistence.html#persistence.seam-managed-persistence-contexts View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123864#4123864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object
"nickarls" wrote : Just use @In on the entityManager... I tried that, but keep getting: 01:41:19,656 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception org.jboss.seam.RequiredException: @In attribute requires non-null value: categoryController.entityManager View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123863#4123863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: failed to lazily initialize a collection
I use the Seam-managed persistence context (@In private EntityManager entityManager) and conversation scope, and that cures all these things. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123861#4123861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123861 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: No pong received warning
can you give the link for that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123860#4123860 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123860 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: failed to lazily initialize a collection
Use statefull beans, stateless beans only live for one request-response cycle( they are not very usefull in this way), and use @PersistenceContext(type = PersistenceContextType.EXTENDED) on manager if you want to keep persistence context for more than one cycle, this way persistence context is bound to life cycle of statefull bean not just transaction. That way your entities will not be detached after response. Something else there is a third way, you can bound persistence context to an conversation, that can only be managed with seam, that way all statefull or stateless beans that live in side conversation share the same persistence context, but you have to inject manager | @In | private EntityManager em; | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123859#4123859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: EJBQL question
I don't think this is the right forum for EJBQL questions, but have you tried something like this? | select u from User u where size(u.communities) = 0 | Take a look at http://www.hibernate.org/hib_docs/reference/en/html/queryhql.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123858#4123858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - NPE in Param.validateConvertedValue
I've been getting null pointer exceptions with Seam 2.0.0.GA with a .page.xml file / application that used to work fine in 1.2.1.GA. The error happens when processing the restful parameters: | 2008-01-23 14:44:57,532 [http-0.0.0.0-8080-1] ERROR SeamPhaseListener - uncaught exception | java.lang.NullPointerException | at org.jboss.seam.navigation.Param.validateConvertedValue(Param.java:246) | at org.jboss.seam.navigation.Pages.convertAndValidateStringValuesInPageContext(Pages.java:743) | at org.jboss.seam.navigation.Pages.postRestore(Pages.java:393) | This is the code in Param.java that fails: | if (valueExpression!=null) | { | //TODO: note that this code is duplicated from ModelValidator!! | ELContext elContext = facesContext.getELContext(); | InvalidValue[] invalidValues; | try | { | invalidValues = Validators.instance().validate( valueExpression.toUnifiedValueExpression(), elContext, value ); | } | catch (ELException ele) | { | Throwable cause = ele.getCause(); | if (cause==null) cause = ele; | throw new ValidatorException( createMessage(cause), cause ); | } | | if ( invalidValues.length>0 ) // <== Boom! NPE | { | throw new ValidatorException( createMessage(invalidValues) ); | } | } | I took a look at the code and saw that there is an array of 'invalid values' which is expected to be of zero length if there are no errors but in this case it's null. The strange thing is that there are other places in the application where restful parameters work just fine. The only thing I can think of is that in this case, the restful parameter is being used inside a facelets template (the parameter turns the top nav bar off). Anyone see this before? I suppose I could fix it by overriding the definition of Validators with my own, or perhaps patching Param. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123857#4123857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Type Checking in Expression Language
The /examples/wiki code does this with an isInstance(String) method on the entity. Check model.WikiNode and subclasses. I don't think there is a better way. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123856#4123856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Failed to create a new SAX parser
Hi :) Have you set -Djava.endorsed.dirs=$JBOSS_HOME/lib/endorsed into run.conf ? I added this parameter to JAVA_OPTS but I still obtain the above SAX Parser exception. Thank u, Nicola View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123855#4123855 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Type Checking in Expression Language
I have to handle a list with students who are either inscribben or matriculated. To model this I used @Inheritance. Now I want to show all of them in a Table, but with different attributes - depending on the subclass. My idea was mask the attributes with the rendered attribute in the JSF. Unfortunately I don't know how to do this. I already searched the internet, but I found now solution. Can somebody here help me? The JSF: | | | Name | | | | Loeschen | | | | Prozent | | | | Perzentil | | | | Rang | | | | Durchschnitt | | | | Aequivalenz | | | | The accessed attributes (e.g. stud.mean) are from "inscribben" (that was the class I started with) ---^ The Session-Bean: | @Stateless | @Name("inscription") | public class InscriptionAction implements InscriptionFacade { | | @Logger private Log log; | @PersistenceContext EntityManager em; | @DataModel private List studentList;; | | @In(required=false) | @Out(required=false) | @DataModelSelection | private StudentInsc inscribben; | | @In(required=false) | @Out(required=false) | private Representative representative; | | @Factory("studentList") | public List getStudentList() { | studentList = (List) em.createQuery("from Student").getResultList(); | return studentList; | } | | public void setStudentList(List studentList) { | this.studentList = studentList; | } | | And the Entity Beans: | @Entity | @Inheritance(strategy = InheritanceType.SINGLE_TABLE) | public class Student implements Serializable { | | @Id @GeneratedValue | protected long id; | . | | @Entity | @Name("inscribben") | public class StudentInsc extends Student { | | @Length(max=30) private String kindergarten; | | @NotNullprivate boolean behavior; | @NotNullprivate boolean utilization; | @NotNullprivate boolean language; | @NotNullprivate boolean materials; | | @Range(min=0, max=50) private int percentage; | @Range(min=0, max=100) private int percentil; | @Range(min=0, max=6)private int rank; | @Range(min=0, max=20) private int mean; | @Length(max=15) private String equivalence; | | | @Entity | @Name("matriculated") | public class StudentMat extends Student { | | Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123854#4123854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: ajax4jsf support for JBPM
ajax4jsf is *totally independent* of jBPM, certainly for 3.1.x. Could be that your config is not correct, but that is The error you post is most likely incomplete and totally useless for us to try to determine the cause of this error. Sorry, I doubt you'll get an answer to your problem since it can be caused by so many things most of all not jBPM related... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123852#4123852 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to generate annotated Java classes from hbm.xml file
They are generated per class. Im not sure named queries are generated by the annotation support... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123851#4123851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Using existing Tomcat with JBoss AS?
Hello, I'm new to JBoss AS. I have a Tomcat server running and want to use this exsiting Tomcat server instead of the bundled one. Is that possible? And if it is, how do I configure the JBoss AS to use the old one? I appreciate any help i can get Thanks in advance Torb View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123850#4123850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123850 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to generate annotated Java classes from hbm.xml file
Thanks for the response. Meanwhile i have detected that code IS generated. Due to the error there is no refresh of the directory list inside eclipse. A simple refresh revealed the generated code. All classes are there. But due to the error a many2one dependenxy must be missing. I will investigate further and compare the genereted Code with my expectations. Some questions? Is code generated class by class? Or it is generated in turns,e.g.: first all the java code for all classes, then table annotations for all classes, then dependencys ... I am asking because i am missing named querys which are present in the hbm.xml but not in the generated code. Perhaps the error occurs when these querys are parsed. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123847#4123847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - how to use twiddle to verify deployment sucessful
After deploy a war file to jboss, I need to be able to verify the deployment result. I use jmx console to manually look at the result by looking at the StateString attribute of the war file (for example id=2028225457,war=test.war) under jboss.web.deployment. Does anybody know how to use twiddle to query this attribute? I am having trouble to find the right syntax to run twiddle to get this attribute. thanks a lot. Tuananh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123846#4123846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Several actions performed by one bean - is it possible and o
My question is if it is possible and OK to make single action bean perform edit/add/remove tasks? As I observed I cannot annotate two different methods with @Begin, thus I cannot start two different pageflows from same bean. But maybe using pages.xml to start pageflow upon entering some view would work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123845#4123845 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - failed to lazily initialize a collection
I have stateless bean (LocationBean) that provides access to data, and stateful action bean (CountryEditorBean) that has reference to stateless bean (Local interface). When I click a link on data table with list of entities that redirects me to page with edit form for that entity, I get exception that other aggregated entities cannot be fetched since session has been closed. org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: pl.labno.bernard.bidbull.locations.Region.towns, no session or session was closed So I figure that LocationBean fetches list of entities, and closes session (but why?), or detatches that entities. They exist only in some seam context. Then on editCountry.jspx there is an attempt to count number of Regions aggregated in that country entity. This causes the error, I think, since by default relations are lazy fetched. Is my interpretation correct ? I do not want to change fething policy, so what can I do to make things work ? Cutting LocationBean out is not an option for me. @Stateless | public class LocationBean implements LocationLocal { | @PersistenceContext | private EntityManager em; | public void add(Country country) throws NonUniqueObjectException { | if (em.find(Country.class, country.getId()) == null) { | em.persist(country); | } else { | throw new NonUniqueObjectException(country.getId(), Country.class.getCanonicalName()); | } | } | public void add(Region region) { | em.persist(region); | } | public void add(Town town) { | em.persist(town); | } | public void update(Country country) { | em.merge(country); | } | public void update(Region region) { | em.merge(region); | } | public void update(Town town) { | em.merge(town); | } | public void remove(Country country) { | em.remove(country); | } | public void remove(Region region) { | em.remove(region); | } | public void remove(Town town) { | em.remove(town); | } | public List getCountries() { | return em.createNamedQuery(Country.GET_COUNTRIES_QUERY).getResultList(); | } | } @Name("countryEditor") | @Scope(ScopeType.CONVERSATION) | @Stateful | public class CountryEditorBean implements CountryEditorLocal { | @In @Out | private Country country; | @EJB | private LocationLocal locationBean; | private Boolean error = false; | @Begin(pageflow = "editCountry") | public void editCountry() {} | public void save() { | locationBean.update(getCountry()); | } | public Country getCountry() { | return country; | } | public void setCountry(Country country) { | this.country = country; | } | @Remove | public void destroy() {} | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123843#4123843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Deploying a self contianed JBossMC Bean in a JAR
Some more related dev issues: - http://www.jboss.org/index.html?module=bb&op=viewtopic&t=128233&start=0 - http://www.jboss.org/index.html?module=bb&op=viewtopic&t=128560 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123842#4123842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: connection factories and JMS
I have only found references for using tx-connection-factory for outgoing (sending) messages. Could you pls be a bit more specific? tnx. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123841#4123841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Duplicate tasks.
dungnguyen, thank You SO MUCH. Same trouble - Your workaround works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123840#4123840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: ajax4jsf support for JBPM
This is the complete web.xml file | | 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/web-app_2_4.xsd";> | | | | JbpmThreadsServlet | org.jbpm.web.JbpmThreadsServlet | 1 | | | JbpmThreadsServlet | /threads | | | | | ProcessImageServlet | org.jbpm.webapp.servlet.ProcessImageServlet | | | ProcessImageServlet | /processimage | | | | | DeployServlet | org.jbpm.webapp.servlet.DeployServlet | | | DeployServlet | /deploy | | | UploadServlet | org.jbpm.webapp.servlet.UploadServlet | | | UploadServlet | /upload | | | | | org.apache.myfaces.webapp.StartupServletContextListener | | | FacesServlet | javax.faces.webapp.FacesServlet | 1 | | | FacesServlet | /faces/* | | | | javax.faces.STATE_SAVING_METHOD | server | | |org.ajax4jsf.SKIN |classic | | |Ajax4jsf Filter |ajax4jsf |org.ajax4jsf.Filter | | | ajax4jsf | Faces Servlet | REQUEST | FORWARD | INCLUDE | | | | | | LogFilter | org.jbpm.webapp.filter.LogFilter | | | LogFilter | /* | | | | JbpmContextFilter | org.jbpm.web.JbpmContextFilter | | | JbpmContextFilter | /* | | | | AuthenticationFilter | org.jbpm.webapp.filter.AuthenticationFilter | | | AuthenticationFilter | /* | | | | |facelets.LIBRARIES |/WEB-INF/tomahawk.taglib.xml | | | | | | | | | | MyFacesExtensionsFilter | org.apache.myfaces.webapp.filter.ExtensionsFilter | | maxFileSize | 20m | Set the size limit for uploaded files. | Format: 10 - 10 bytes | 10k - 10 KB | 10m - 10 MB | 1g - 1 GB | | | | | | | MyFacesExtensionsFilter | *.jsp | | | | | MyFacesExtensionsFilter | /faces/myFacesExtensionResource/* | | | | | | pls help me with proper documentation on ajax4jsf integration with jbpm.. Thanks In advance... Regards, Sathya, India View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123839#4123839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - EJBQL question
Hey all, I have some entity, let's say, User, and other entity, Community, with many-to-many relationship between them. The user can be member in one, several or none communities. So, class User has a property communities, of SET type, with all appropriate getters and setters. I want to be able to make select ( by ejbql) for all users that have empty sets of communities, or, alternatively, do have non-empty set. How can I achieve it by ejbql query? On the web side, I have some radio buttons, let's say "Has communities" and "Has no community", and, of cource, I would like to link it to this restriction of ejbql. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123838#4123838 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: ajax4jsf support for JBPM
Hi All... I added ajax4jsf-1.1.1.jar,oscache-2.3.2.jar to lib..and i made the entries in the web.xml like this.. | javax.faces.STATE_SAVING_METHOD | server | | |org.ajax4jsf.SKIN |classic | | |Ajax4jsf Filter |ajax4jsf |org.ajax4jsf.Filter | | | ajax4jsf | Faces Servlet | REQUEST | FORWARD | INCLUDE | while starting the server the following problem occured.. pls note that I am using JBPM-3.1.4,jboss-4.0.2 pls help me in this...it is urgent the error is 15:51:02,389 ERROR [StandardContext] Error filterStart | 15:51:02,389 ERROR [StandardContext] Context [/jbpm] startup failed due to previous errors | 15:51:02,405 ERROR [WebModule] Starting failed jboss.web.deployment:war=jbpm.war,id=-254946322 | org.jboss.deployment.DeploymentException: URL file:/E:/jboss-4.0.2/server/jbpm/tmp/deploy/tmp41808jbpm-exp.war/ deplo | yment failed | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:356) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:91) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357) | at org.jboss.web.WebModule.startModule(WebModule.java:68) | at org.jboss.web.WebModule.startService(WebModule.java:46) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:418) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | Let me know JBPM-3.1.4 supports Ajax4jsf tag pls I am seeking ur help Thanks in Advance.. Regards, Sathya View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123837#4123837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Running Errors
This exception with web-console is a known issue http://jira.jboss.com/jira/browse/JBAS-5050 and is fixed in 5.0 Beta 4. If you want to check whether the server is up, then use http://localhost:8080/jmx-console View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123835#4123835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Running Errors
Actually, the sever is running now with no error, but when i open the JBOSS console using this URL http://localhost:8080/web-console, the left frame in which an applet should be loaded there doesn't appear. I open the java console and I have the following message: | Java Plug-in 1.5.0_05 | Using JRE version 1.5.0_05 Java HotSpot(TM) Client VM | User home directory = C:\Documents and Settings\naghamh | | | | c: clear console window | f: finalize objects on finalization queue | g: garbage collect | h: display this help message | l: dump classloader list | m: print memory usage | o: trigger logging | p: reload proxy configuration | q: hide console | r: reload policy configuration | s: dump system and deployment properties | t: dump thread list | v: dump thread stack | x: clear classloader cache | 0-5: set trace level to | | | http://127.0.0.1:8080/web-console/Invoker | java.lang.NoClassDefFoundError: org/jboss/logging/Logger | at org.jboss.console.remote.Util.(Util.java:33) | at org.jboss.console.remote.AppletRemoteMBeanInvoker.invoke(AppletRemoteMBeanInvoker.java:64) | at org.jboss.console.navtree.ConsoleTreeModel.loadTree(ConsoleTreeModel.java:118) | at org.jboss.console.navtree.ConsoleTreeModel.(ConsoleTreeModel.java:73) | at org.jboss.console.navtree.AdminTreeBrowser.(AdminTreeBrowser.java:77) | at org.jboss.console.navtree.AppletBrowser.start(AppletBrowser.java:65) | at sun.applet.AppletPanel.run(Unknown Source) | at java.lang.Thread.run(Unknown Source) | http://127.0.0.1:8080/web-console/Invoker | java.lang.NoClassDefFoundError | at org.jboss.console.remote.AppletRemoteMBeanInvoker.invoke(AppletRemoteMBeanInvoker.java:64) | at org.jboss.console.navtree.ConsoleTreeModel.loadTree(ConsoleTreeModel.java:118) | at org.jboss.console.navtree.ConsoleTreeModel.(ConsoleTreeModel.java:73) | at org.jboss.console.navtree.AdminTreeBrowser.(AdminTreeBrowser.java:77) | at org.jboss.console.navtree.AppletBrowser.start(AppletBrowser.java:65) | at sun.applet.AppletPanel.run(Unknown Source) | at java.lang.Thread.run(Unknown Source) | Exception in thread "thread applet-org.jboss.console.navtree.AppletBrowser" java.lang.NullPointerException | at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source) | at sun.plugin.AppletViewer.showAppletException(Unknown Source) | at sun.applet.AppletPanel.run(Unknown Source) | at java.lang.Thread.run(Unknown Source) | http://127.0.0.1:8080/web-console/Invoker | java.lang.NoClassDefFoundError | at org.jboss.console.remote.AppletRemoteMBeanInvoker.invoke(AppletRemoteMBeanInvoker.java:64) | at org.jboss.console.navtree.ConsoleTreeModel.loadTree(ConsoleTreeModel.java:118) | at org.jboss.console.navtree.ConsoleTreeModel.(ConsoleTreeModel.java:73) | at org.jboss.console.navtree.AdminTreeBrowser.(AdminTreeBrowser.java:77) | at org.jboss.console.navtree.AppletBrowser.start(AppletBrowser.java:65) | at sun.applet.AppletPanel.run(Unknown Source) | at java.lang.Thread.run(Unknown Source) | Exception in thread "thread applet-org.jboss.console.navtree.AppletBrowser" java.lang.NullPointerException | at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source) | at sun.plugin.AppletViewer.showAppletException(Unknown Source) | at sun.applet.AppletPanel.run(Unknown Source) | at java.lang.Thread.run(Unknown Source) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123834#4123834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Running Errors
This is the content of hosts file: | # Copyright (c) 1993-1999 Microsoft Corp. | # | # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. | # | # This file contains the mappings of IP addresses to host names. Each | # entry should be kept on an individual line. The IP address should | # be placed in the first column followed by the corresponding host name. | # The IP address and the host name should be separated by at least one | # space. | # | # Additionally, comments (such as these) may be inserted on individual | # lines or following the machine name denoted by a '#' symbol. | # | # For example: | # | # 102.54.94.97 rhino.acme.com # source server | # 38.25.63.10 x.acme.com # x client host | | 127.0.0.1 localhost | 192.168.1.44 ged-filenet-nch-server | 192.168.5.15 legalgedn-filenet-nch-server | 192.168.8.2 finprod finprod.syriatel | 192.168.1.102 fintest fintest.syriatel | 192.168.4.95resp10 resp10 | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123833#4123833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss AS 5.0.0.Beta3
I couldn't find any reference to why this is happening, so i created the following issue: http://jira.jboss.org/jira/browse/JBAS-5177 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123832#4123832 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123832 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Value is not Valid with
Yes, that's my understanding of how Seam components are meant to be replaced/extended. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123831#4123831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Running Errors
anonymous wrote : Caused by: java.net.UnknownHostException: all: all Looks like there's something wrong with the contents of your hosts file. Post the contents of C:\WINDOWS\system32\drivers\etc\hosts (assuming windows is installed on C:\) file here. P.S: Remember to use the 'Code' button in the message editor window, to wrap the contents in a code block, while posting the contents or the logs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123829#4123829 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Running Errors
It is working now... Thanks alot for ur nice support View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123828#4123828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Running Errors
You are right, it was JVM 1.6. I change the VM to be 1.5 but still I have error when running server.. Please check the trace Thanks in advance JBoss Bootstrap Environment JBOSS_HOME: C:\jboss-5.0.0.Beta3 JAVA: C:\JBuilder2007\jre\jre\bin\java JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun. rmi.dgc.server.gcInterval=360 CLASSPATH: C:\jboss-5.0.0.Beta3\bin\run.jar === 11:36:46,377 INFO [ServerImpl] Starting JBoss (Microcontainer)... 11:36:46,377 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta3 (build: SVNTag=JBoss_5_0_0_Beta3 date=200712210026) 11:36:46,377 INFO [ServerImpl] Home Dir: C:\jboss-5.0.0.Beta3 11:36:46,377 INFO [ServerImpl] Home URL: file:/C:/jboss-5.0.0.Beta3/ 11:36:46,377 INFO [ServerImpl] Library URL: file:/C:/jboss-5.0.0.Beta3/lib/ 11:36:46,377 INFO [ServerImpl] Patch URL: null 11:36:46,377 INFO [ServerImpl] Server Name: default 11:36:46,377 INFO [ServerImpl] Server Home Dir: C:\jboss-5.0.0.Beta3\server\default 11:36:46,377 INFO [ServerImpl] Server Home URL: file:/C:/jboss-5.0.0.Beta3/server/default/ 11:36:46,377 INFO [ServerImpl] Server Data Dir: C:\jboss-5.0.0.Beta3\server\default\data 11:36:46,377 INFO [ServerImpl] Server Temp Dir: C:\jboss-5.0.0.Beta3\server\default\tmp 11:36:46,377 INFO [ServerImpl] Server Config URL: file:/C:/jboss-5.0.0.Beta3/server/default/conf/ 11:36:46,377 INFO [ServerImpl] Server Library URL: file:/C:/jboss-5.0.0.Beta3/server/default/lib/ 11:36:46,377 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml 11:36:47,189 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss-5.0.0.Beta3/server/default/conf/bootstrap-bea ns.xml 11:36:48,658 INFO [ProfileImpl] Using profile root:C:\jboss-5.0.0.Beta3\server\default 11:36:49,564 INFO [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc. 11:36:49,564 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_09-b03,Sun Microsystems Inc. 11:36:49,595 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86 11:36:49,689 INFO [JMXKernel] Legacy JMX core initialized 11:37:19,330 ERROR [AbstractKernelController] Error installing to Configured: name=jboss:service=WebService state=Instantiated mod e=Manual requiredState=Configured org.jboss.deployment.DeploymentException: Exception setting attribute BindAddress on mbean jboss:service=WebService at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:143) at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:102) at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58) at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42) at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.jav a:62) at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327) at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411) at org.jboss.system.ServiceController.doChange(ServiceController.java:659) at org.jboss.system.ServiceController.install(ServiceController.java:272) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:98) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874)
[jboss-user] [JBoss Seam] - is remoting available in seam on tomcat?
Hello I'm getting a HTTP 404 error on http://localhost/myapp/seam/resource/remoting/resource/remote.js | | also in | | http://localhost/myapp/seam/resource/remoting/interface.js?mycomponent | Since everything else seems in place (I have the org.jboss.seam.servlet.SeamResourceServlet servlet properly configured in web.xml) I wonder if the interface necessarily has to be annotated as @Local? I do not include the annotation because this application uses seam on tomcat, with no EJB. regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123826#4123826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Running Errors
Your logs show that you are using Java 1.6 anonymous wrote : 0:42:10,158 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc. | 0:42:10,158 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0-b105,Sun Microsystems Inc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123824#4123824 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123824 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Datasource name binding is behind Web deploy
Which version of JBoss and Java are you using? Where have you placed the -ds.xml and your web application? And also post the relevant logs and the relevant content from web.xml and jboss-web.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123823#4123823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123823 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Running Errors
Hi, I'm usign JDK 1.5, this is the begining trace of server: JBoss Bootstrap Environment JBOSS_HOME: C:\jboss-5.0.0.Beta3 JAVA: C:\Sun\SDK\jdk\bin\java JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=36 mi.dgc.server.gcInterval=360 CLASSPATH: C:\Sun\SDK\jdk\lib\tools.jar;C:\jboss-5.0.0.Beta3\bin\run.jar I want a version that support J2EE application 5 (all functions of EJB 1.3), and as I read JBOSS 4.2 doesn't support all EJB3 functions ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123822#4123822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to get a specific number of rows?
I haven't used PostgreSQL. The documentation for the select query http://www.postgresql.org/docs/8.1/interactive/sql-select.html shows that they have a LIMIT clause which can be used to achieve this. More details here: http://www.postgresql.org/docs/8.1/interactive/sql-select.html#SQL-LIMIT View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123821#4123821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to generate annotated Java classes from hbm.xml file
so you are probably using some specific construct in hbm.xml that the annotations generation does not support yet. If you can figure out which hbm.xml or set of hbm.xml's that is causing the issue put them in jira and we can look at what is the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123820#4123820 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123820 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Running Errors
anonymous wrote : aused by: java.lang.ClassNotFoundException: [Ljava.lang.Class; See this http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassNotFoundJava.lang.StringInJDK6 You are using 5.0 Beta version and Java 6. This version of JBoss is still in Beta stages and probably you are going to run into some other issues too. Since you mention that you are a newbie, i would recommend, you use JBoss-4.2.2 which the latest stable version with Java 1.5. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123819#4123819 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Running Errors
Hello, I'm new in JBOSS, so plz I need ur help.. After installation and setting envirnoment variables, I run the server but I have the following errors: 0:42:07,814 INFO [ServerImpl] Starting JBoss (Microcontainer)... 0:42:07,814 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta3 (build: SVNTag=JBoss_5_0_0_Beta3 date=200712210026) 0:42:07,814 INFO [ServerImpl] Home Dir: C:\jboss-5.0.0.Beta3 0:42:07,830 INFO [ServerImpl] Home URL: file:/C:/jboss-5.0.0.Beta3/ 0:42:07,830 INFO [ServerImpl] Library URL: file:/C:/jboss-5.0.0.Beta3/lib/ 0:42:07,830 INFO [ServerImpl] Patch URL: null 0:42:07,830 INFO [ServerImpl] Server Name: default 0:42:07,830 INFO [ServerImpl] Server Home Dir: C:\jboss-5.0.0.Beta3\server\default 0:42:07,830 INFO [ServerImpl] Server Home URL: file:/C:/jboss-5.0.0.Beta3/server/default/ 0:42:07,830 INFO [ServerImpl] Server Data Dir: C:\jboss-5.0.0.Beta3\server\default\data 0:42:07,830 INFO [ServerImpl] Server Temp Dir: C:\jboss-5.0.0.Beta3\server\default\tmp 0:42:07,830 INFO [ServerImpl] Server Config URL: file:/C:/jboss-5.0.0.Beta3/server/default/conf/ 0:42:07,830 INFO [ServerImpl] Server Library URL: file:/C:/jboss-5.0.0.Beta3/server/default/lib/ 0:42:07,830 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml 0:42:08,298 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss-5.0.0.Beta3/server/default/conf/bootstrap-bea s.xml 0:42:09,408 INFO [ProfileImpl] Using profile root:C:\jboss-5.0.0.Beta3\server\default 0:42:10,158 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc. 0:42:10,158 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0-b105,Sun Microsystems Inc. 0:42:10,158 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86 0:42:10,252 INFO [JMXKernel] Legacy JMX core initialized 0:42:11,830 ERROR [AbstractKernelController] Error installing to Described: name=AspectAppParsingDeployer state=PreInstall ava.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException at org.jboss.aop.util.ClassInfoMethodHashing.methodHash(ClassInfoMethodHashing.java:70) at org.jboss.aop.util.ClassInfoMethodHashing.addDeclaredMethods(ClassInfoMethodHashing.java:169) at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassInfoMethodHashing.java:182) at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassInfoMethodHashing.java:181) at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassInfoMethodHashing.java:181) at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassInfoMethodHashing.java:181) at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassInfoMethodHashing.java:181) at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassInfoMethodHashing.java:181) at org.jboss.aop.util.ClassInfoMethodHashing.getMethodMap(ClassInfoMethodHashing.java:188) at org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getMethodAnnotationDependencies(AOPDependencyBuilder.java 197) at org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getAnnotationDependencies(AOPDependencyBuilder.java:152) at org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getDependencies(AOPDependencyBuilder.java:130) at org.jboss.classadapter.plugins.BasicClassAdapter.getDependencies(BasicClassAdapter.java:80) at org.jboss.beans.info.plugins.AbstractBeanInfo.getDependencies(AbstractBeanInfo.java:211) at org.jboss.kernel.plugins.dependency.DescribeAction.installActionInternal(DescribeAction.java:53) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:135) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:46) at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.jav :62) at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:574) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:398)
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to get a specific number of rows?
Thanks man! Would you please tell me how to achieve the same thing with native query? AFAIK, PostgreSQL has a special syntax to specify how many rows to retrieve. Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123817#4123817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to get a specific number of rows?
If you are using plain Hibernate then the corresponding API is http://www.hibernate.org/hib_docs/v3/api/org/hibernate/Query.html#setMaxResults(int) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123816#4123816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to get a specific number of rows?
Use setMaxResults() API on the Query object: http://java.sun.com/javaee/5/docs/api/javax/persistence/Query.html#setMaxResults(int) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123815#4123815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: different behaviour when clicking on a button or using e
Was this issue resolved, I can't find it in the latest 2.0.1.CR2 source code? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123814#4123814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user