[jboss-user] [EJB/JBoss] - ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeExceptio
i just new in this java..so need help because when i deploy my program this error in jboss will appear. before this ok..but after i install a new version of netbeans there is a problem. PLEASE HELP ME!! 2007-06-15 13:22:42,546 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract java.util.List com.utm.iumis.hrms.facade.kegiatanluar.KegiatanLuarFacadeRemoteBusiness.getClubList() throws java.rmi.RemoteException: java.lang.NullPointerException at com.utm.iumis.hrms.facade.kegiatanluar.KegiatanLuarFacadeBean.getClubList(KegiatanLuarFacadeBean.java:147) 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.invocation.Invocation.performCall(Invocation.java:359) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) at org.jboss.ejb.Container.invoke(Container.java:954) 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.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.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169) at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) at $Proxy57.getClubList(Unknown Source) at com.utm.iumis.hrms.web.delegate.KegiatanLuarDelegate.getClubList(KegiatanLuarDelegate.java:131) at com.utm.iumis.hrms.struts.action.kegiatanluar.DaftarKegiatanLuarAction.init(DaftarKegiatanLuarAction.java:149) at com.utm.iumis.hrms.struts.action.kegiatanluar.DaftarKegiatanLuarAction.papar(DaftarKegiatanLuarAction.java:127) 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.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270) at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187) at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction.java:150) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.ht
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
Solved !! The problem is not in ui:include but in ui:repeat - http://www.ninthavenue.com.au/blog/c:foreach-vs-ui:repeat-in-facelets Working code... | | | #{a.template} | | | | [/code[ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054610#4054610 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054610 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - The relationship between jbpm BPEL and jbpm jPDL
I am not clear about the relationship between jbpm BPEL and jbpm jPDL, can someone tell me something? Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054608#4054608 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054608 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.2GA binds to IP but not webapp
anonymous wrote : is there some config that binds the web application to an IP? | ooops looks like this is user error. The web-app was deployed correctly to public IP just like the manual states! i was just testing incorrectly. ouch:-( -lp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054607#4054607 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054607 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
Hi, I tried to use ui:include but with no success. When I use | | it works. But the I use | | where #{a.template} = testtemplate I got | HTTP Status 404 - /cms/index.seam | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054606#4054606 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054606 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss seam with eclipse
There is a page on the Seam wiki View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054605#4054605 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054605 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: instances problem
The modifications for PostgreSQL are made and the driver is under /jboss/server/default/lib. JBoss created all tables and filld them with data. to make sure that it's not the DB I set the DB config back to hypersonic (original xml-files from the zip). It produced the same problem. About the stack trace: During the jboss start I receive the error below but I don't know if it related to my problem. It is the only error I get during starting jboss, deploying the projects and calling the pages with my browser. If you meant something different please tell me. I'm still not very familiar with the whole topic. christof 07:30:19,718 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database State: CONFIGURED I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS ObjectName: jboss.mq:service=InvocationLayer,type=HTTP State: CONFIGURED I Depend On: jboss.mq:service=Invoker jboss.web:service=WebServer ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: CONFIGURED I Depend On: jboss:service=TransactionManager jboss.jca:service=DataSourceBinding,name=DefaultDS ObjectName: jboss.mq:service=StateManager State: CONFIGURED I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS Depends On Me: jboss.mq:service=DestinationManager ObjectName: jboss.mq:service=DestinationManager State: CONFIGURED I Depend On: jboss.mq:service=MessageCache jboss.mq:service=PersistenceManager jboss.mq:service=StateManager jboss.mq:service=ThreadPool jboss:service=Naming Depends On Me: jboss.mq.destination:service=Topic,name=testTopic jboss.mq.destination:service=Topic,name=securedTopic jboss.mq.destination:service=Topic,name=testDurableTopic jboss.mq.destination:service=Queue,name=testQueue jboss.mq.destination:service=Queue,name=A jboss.mq.destination:service=Queue,name=B jboss.mq.destination:service=Queue,name=C jboss.mq.destination:service=Queue,name=D jboss.mq.destination:service=Queue,name=ex jboss.mq:service=SecurityManager jboss.mq.destination:service=Queue,name=DLQ ObjectName: jboss.mq:service=PersistenceManager State: CONFIGURED I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS Depends On Me: jboss.mq:service=DestinationManager ObjectName: jboss.mq.destination:service=Topic,name=testTopic State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq.destination:service=Topic,name=securedTopic State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq.destination:service=Queue,name=testQueue State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq.destination:service=Queue,name=A State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq.destination:service=Queue,name=B State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq.destination:service=Queue,name=C State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq.destination:service=Queue,name=D State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq.destination:service=Queue,name=ex State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager ObjectName: jboss.mq:service=Invoker State: CONFIGURED I Depend On: jboss.mq:service=TracingInterceptor jboss:service=Naming Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP jboss.mq:service=InvocationLayer,type=JVM jboss.mq:service=InvocationLayer,type=UIL2 ObjectName: jboss.mq:service=TracingInterceptor State: CONFIGURED I Depend On: jboss.mq:service=SecurityManager Depends On Me: jboss.mq:service=Invoker ObjectName: jboss.mq:service=SecurityManager State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager Depends On Me: jboss.mq.destination:service=Topic,name=testTopic jboss.mq.destination:service=Topic,name=securedTopic jboss.mq.destination:service=Topic,name=testDurableTopic jboss.mq.destination:service=Queue,name=testQueue jboss.mq:service=TracingInterceptor jboss.mq.destination:service=Queue,name=DLQ ObjectName: jboss.mq.destination:service=Queue,name=DLQ State: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager ObjectName: jboss.mq:service=InvocationLayer,type=JVM State: CONFIGURED I Depend On: jboss.mq:service=Invoker
[jboss-user] [EJB 3.0] - Any way to do global overrides for EJB3 defaults?
I think I just realized that I've been barking up the wrong tree for a few months with the issues I'm having with using a foreign JCA provider it appears that standardjboss.xml is for EJB 2 only, yes? And, as far as I can tell, for EJB3 I can do: Annotate my MDBs or Use ejb-jar.xml or combo annotation/ejb-jar.xml problem is, I have 200+ MDBs that I want to apply the SAME setting for each. ie: I want to set the jca inflow config they use, which rar they use, define them to default to Queues, change the DLQ to go to the same place. Is there any place I can set new 'defaults' for the activation properties? Or do I need to explicitly name each mdb in ejb-jar.xml / modify annotations I suppose I might be able to mixin the annotations using aspectj/jbossaop, not sure how I'd an item to the activationConfig array via aop, plus it would make the ability to change those defaults kind of tough for some co-workers. left no other choice, I suppose I could generate my ejb-jar.xml file by scanning the source tree, but that feels like a throw back to the xdoclet days. I'd probably change the JBoss source and recompile first I suppose. Any one have better ideas? Or is there actually a file I can create that I can put defaults in to? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054602#4054602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054602 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.2GA binds to IP but not webapp
"PeterJ" wrote : First place I would look is in /etc/hosts to make sure my host name was declare properly. thanks peter. the /etc/hosts look fine. since jboss binds ok to the ip and listens on the public IP i guess it is ok. is there some config that binds the web application to an IP? thanks -lp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054600#4054600 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054600 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @Predestroy In Stateless Session Bean
is there anybody who knows how to catch redeployment event ? Regards, Paata. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054598#4054598 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Authentication using system username and password
Hai , We are currently developing a intranet portal for a client. We want to authenticate the user of the portal using system username and password. Is there any login module available in jboss portal to meet above requirement. Please give me suggestions about this. Operating System : windows JBoss portal-2.6-CR2 thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054597#4054597 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054597 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss seam with eclipse
hi where we find the documents im using facelets seam and ejb3 and oracle 10g thaks for u r reply View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054596#4054596 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054596 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Setting Actor id in jboss seam
Hi i am using seam pageflow for the navigation in web application Can i use the same swimlane functionality that are in process-defintion of the jbpm in the seam-pageflow. Actually i need that my pageflow should be on some role basis. How would i do that ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054595#4054595 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.3.0 Alpha - pdf component causes problem
unintentionally i clicked on submit. here i go on writing: after those changes, if i try to deploy, i am getting these warnings: WARN [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null. WARN [ServiceController] Problem starting service persistence.units:ear=methcancerdb.ear,unitName=methcancerdb javax.persistence.PersistenceException: [PersistenceUnit: methcancerdb] class or package not found Could this be a bug? Or am i doing something wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054594#4054594 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054594 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam 1.3.0 Alpha - pdf component causes problem
i was trying seam 1.3.0. i created a new seam project, added a few entity classes. it has successfully deployed. After that i wanted to try pdf component. therefore i made these changes: in components.xml: added a pdf name space and this declaration in web.xml: added these lines Document Store Servlet org.jboss.seam.pdf.DocumentStoreServlet Document Store Servlet *.pdf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054593#4054593 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 MDBs & JCA Message inflow with foreing JMS provider
sorry to ressurect an old topic, but I've been beating my head against a wall to get this to work with Sonic 7.5 and jboss 4.2 Is there a means of setting the default rar file to use for inflow in ejb3? I've been changing standardjboss.xml but nothing seems to take effect. do I *have* to set it as an annotation in every MDB directly? Or can I change the default settings? worse comes to worse, I'll edit the jboss source to change the default value, but I'd really rather avoid that. I use JBoss 4.2 in the default configuraion and have removed the deploy/jms directory all together. I need to have the server stripped down as much as possible so I can't run JBossMQ along side of it. Just trying to drop sonic in in place of the JBoss MQ and not add extra config to every mdb. Any help would be appriciated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054592#4054592 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: potential bug
oops, fixed View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054591#4054591 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054591 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - potential bug
Page.java line 260 has this: | if (eventType==null) | { | Events.instance().raiseEvent(eventType); | } | I suspect it should be "!=". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054588#4054588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054588 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is it possible to access the outer instance of a Seam Co
| @Name("someClass") | public class SomeClass { | | @In SomeClass someClass; | | public void createSomething() { | someClass.sendAnEmail(); | } | | @Asynchronous | public void sendAnEmail() { | //Send an email asynchronously | } | } I *think* that should work View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054587#4054587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Integration
Hi Sebastian, Your post has been very helpful as I am in the process of evaluating different WFM solutions and had the same questions and concerns. A lot of those were clarified by your post. I still have one question maybe you can help me understand this... Suppose I have a status field in my entity E mapping to table in schema A and the workflow is describing an approval process (jBPM using schema B). So if I want to update the status field of my entity do I need to use a transaction manager so that both these operations commit to the DB atomically. Since I am using spring I am thinking I can write an aspect that would get me the state and then I could update my entity status field. Are there other ways of doing this? Is this the right way to do it? thnx in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054585#4054585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054585 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to create reusable Seam components?
Hello! Can you please tell me where I can found information about how to create reusable Seam components? And is it possible? For example, I need a 'Forum' component (just a simple forum), which I then can reuse in many pages in an application. So I first created it in Seam (as usual web app), it consists of a set of *.xhtml and *.java files (backed beans). Is there any way to form it as 'Seam component' and then reuse? I tried to found such information but failed. There is ability to form it as 'ui:composition', but the problem is that it contains not only a 'view' part but also a ?business logic? part, and the 'ui:composition' tag encapsulates the view only. Thanks! P.S. Sorry for my English. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054584#4054584 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054584 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - DurableSubscriber
Hi All, I am creating DurableSubscribers on a remote JMS topic. Here code snippet. Iam using a seesion Bean with Message Listener. Iam using Jboss and Oracle JMS public void connect(){ tcf = new STCTopicConnectionFactory(RibHost, rib_port); topicConnection = tcf.createTopicConnection(); logger.debug(" topicConnection Created "+topicConnection); //Stop the connection if topicSession = topicConnection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE); logger.debug(" TopicSession Created "+topicSession); // temporarly stop the connection for incomiing messages if(topicConnection!=null)topicConnection.stop(); topic = topicSession.createTopic(TMP_PRC_TOPIC); logger.debug("Topic Created > "+topic); try{ topicSubscriber = topicSession.createDurableSubscriber(topic, "SH_CLR_PRC_CHG"); }catch(Exception e){ System.out.println(" Exception Creating DurableSubscriber SH_CLR_PRC_CHG "+e.getMessage()); } logger.debug("Subscriber Created > "+topicSubscriber); topicSubscriber.setMessageListener(this); topicConnection.setExceptionListener(this); topicConnection.start(); } Topic being created on subscription name SH_CLR_PRC_CHG and messages are comming. But When i restart my application, 1) If no messages are there on the subscription in remote jms server, the connection is created fine 2) If there are some messages are already in the subscription, the createDurableSubscriber() throws exception saying the subsctiption name already exists. and conenction fails. How do solve this problem. Before creating topicSession.createDurableSubscriber(), is there any way i can check if the subsription name exists or any flag of createDurableSubscriber() that enforces reassigning the same subscription name Any advises please? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054583#4054583 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054583 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm-gpd 3.0.12 not working with Eclipse 3.3
Hello, just discovered this project but unfortunatly cannot use the current designer in the newest Eclipse Europa build 3.3.rc2-rc4. We need this eclipse version to develop our software. Are there any know issues beside the faulty apache-xerces plugin dependency that I removed by hand from the feature manifest. Even after the feature seems to be installed, no entry for jbpm projects appear in the "New wizards". Thanks in advance for fixing this, Phil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054582#4054582 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054582 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: LazyInitializationException when setting variable
solved View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054581#4054581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectItems and enums
Can you post the code you came up with? I tried some things based on your description but am not succeeding. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054580#4054580 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054580 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Timers from previous deployments are still persistent
Yes, I will wait for 1.3.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054579#4054579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054579 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unable to to install ajax4jsf-1.1.0.jar in jboss-4.2.0.G
Thanks for the help. I downloaded and built the booking example from C:\jboss-seam-1.3.0.ALPHA and it ran. It appears that ajax4jsf-1.1.0 depends on a number of apache commons jars, which the documentation specifically says it not needed. In fact, nowhere in the docs does it say what jars need to be in the WEB-INF\lib directory of your war file packaged with the ear. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054578#4054578 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054578 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is it possible to access the outer instance of a Seam Co
Ask Gavin what he thinks, I think that we can improve on where we are at now :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054577#4054577 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054577 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Use of JSR88 implementation (J2EE deployment api)
Hi there, I've tried to use the JSR88 implementation of jboss for deploying j2ee components, but i run in trouble while connecting to the jboss server ... I don't know, which uri I have to use to get the a deployment manager, which is able to distribute and start some components. I have used this piece of code: JarFile deploymentJar = new JarFile(new File("lib/jboss-deployment.jar")); | java.util.jar.Manifest manifestFile = deploymentJar.getManifest(); | Attributes attributes = manifestFile.getMainAttributes(); | String key = "J2EE-DeploymentFactory-Implementation-Class"; | String className = attributes.getValue(key); | // className is now org.jboss.deployment.spi.factories.DeploymentFactoryImpl | | Class deploymentFactory = Class.forName(className); | DeploymentFactory deploymentFactoryInstance = (DeploymentFactory) deploymentFactory.newInstance(); | | DeploymentFactoryManager dfm = DeploymentFactoryManager.getInstance(); | dfm.registerDeploymentFactory(deploymentFactoryInstance); | | String uri = "localhost:1099"; | String username = null; | String password = null; | DeploymentManager dm = null; | | // all works fine up to this point | // but here I don't know, what uri I have to use to get the deployment manager ... | try { | dm = dfm.getDeploymentManager(uri, username, password); | } catch (DeploymentManagerCreationException e) { | e.printStackTrace(); | } | Could somebody please tell me, what uri I have to use, to get my DeploymentManager from JBoss? Thanks a lot! Steffen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054576#4054576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is it possible to access the outer instance of a Seam Co
I was just mentioning that as an idea. Perhaps Seam could provide an invocation context in ThreadLocal so I could do something like: InvocationContext.getContext().sendAnEmail(); Just a thought. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054575#4054575 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054575 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is it possible to access the outer instance of a Seam Co
I believe it does apply interceptors, however, my bean isn't an EJB. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054574#4054574 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054574 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is it possible to access the outer instance of a Seam Co
Does it apply interceptors to getThis() - if so then the Seam interceptors will be applied and you are there... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054573#4054573 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054573 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is it possible to access the outer instance of a Seam Co
EJB provides the context.getThis() methodperhaps ther e is some kind of Seam execution context we can make available somehow? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054572#4054572 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054572 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is it possible to access the outer instance of a Seam Co
AFAIK calls to this. aren't intercepted so you can't. You need to put the async method on separate component, inject the component and call cmp.sendAnEmail() - though this does seem quite convoluted. Hmmm. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054571#4054571 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unable to to install ajax4jsf-1.1.0.jar in jboss-4.2.0.G
hint: the real cause of the problem may be on the very bottom of your stacktrace View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054570#4054570 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054570 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Is it possible to access the outer instance of a Seam Compon
I have a class with methods like so: | public class SomeClass { | public void createSomething() { | sendAnEmail(); | } | | @Asynchronous | public void sendAnEmail() { | //Send an email asynchronously | } | } | What is the recommended way to call "sendAnEmail" from createSomething so that the Asynchronous interceptor can intercept the call? Mike View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054569#4054569 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054569 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unable to to install ajax4jsf-1.1.0.jar in jboss-4.2.0.G
Are you sure you completely remove all problematic war files? In my case having a4j-1.1.1.jar is server/lib did no harm to the server. What particular error message do you have? Any stacktrace? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054567#4054567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054567 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unable to to install ajax4jsf-1.1.0.jar in jboss-4.2.0.G
Or explain your query more carefully. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054566#4054566 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054566 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unable to to install ajax4jsf-1.1.0.jar in jboss-4.2.0.G
I'm confused - are you trying to put ajax4jsf-1.1.x.jar in server/default/lib (DON'T do this) or in the WEB-INF/lib of your war project or in the WEB-INF/lib of your war inside a ear? The booking example in 1.3ALPHA demonstrates correct packaging for a Seam application using ajax4jsf running in AS 4.2.0.GA - give that a go and see if it works. Use seam-gen to set up an ajax4jsf enabled project. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054565#4054565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054565 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unable to to install ajax4jsf-1.1.0.jar in jboss-4.2.0.G
I've even tried it with ajax4jsf-1.1.1.jar and it won't work. I've tried every possible combination of web.xml files, copied directly from the documentation and the Seam book. I've tried different jar files in the WEB-INF/lib directory, all to no avail. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054564#4054564 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054564 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unable to to install ajax4jsf-1.1.0.jar in jboss-4.2.0.G
This problem has nothing to do with web.xml or with WEB-INF/lib contents. Just put the ajax4jsf-1.1.0.jar file in the server/default/lib directory, restart your sever and try to deploy any ear or war file. You can't. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054563#4054563 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054563 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Help with concurrent subprocess instances!
No, theres no way to show this on the diagram, but like you said, it is done using a fork and a join, but... no the normal fork that comes with jbpm, you need to create your own implementation with a node. I have in an application this, but I did not code it so I can't hand it to you, but let me ask the programer if theres no problem with posting it. Also you can look in google for an implementation of the fork done by "Alfresco Content Manager" programers, I believe it does what your trying to achive. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054562#4054562 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054562 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unable to to install ajax4jsf-1.1.0.jar in jboss-4.2.0.G
And pls post you web.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054561#4054561 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054561 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unable to to install ajax4jsf-1.1.0.jar in jboss-4.2.0.G
what is the content of your WEB-INF/lib folder? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054560#4054560 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054560 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Logging - ejb activity
Am developing a application that uses Stateless Session Beans, want to know if there is a way to turn on logging within Jboss to trace the activity of the Beans? Have read about log4j etc and how you can put statements into the code (The Developed Beans) to have log4j put the statements into defined files. I am thinking that Jboss must have some code that can be turned on to allow me to trace the activity of the loaded ejbs... Do not really want to add more code if jboss has done it already. Would like peoples feed back on how the handled logging/audit trail within the session beans etc... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054559#4054559 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Unable to to install ajax4jsf-1.1.0.jar in jboss-4.2.0.GA se
Put ajax4jsf-1.4.0.jar in the WEB-INF/lib directory of any war file and deploy to jboss-4.2.0.GA server. You will get the following error: 15:04:54,484 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss-4. .0.GA/server/default/tmp/deploy/tmp49172crud.ear-contents/app.war org.jboss.deployment.DeploymentException: URL file:/C:/jboss-4.2.0.GA/server/de ault/tmp/deploy/tmp49172crud.ear-contents/app-exp.war/ deployment failed. I've tried everything in the latest documentation, which says there are no dependencies on other jar files needed. Try starting the server with ajax4jsf-1.1.0.jar in the server/default/lib directory. You can't install any war files then. Anyone know how to resolve this View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054557#4054557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Process Instance end method
First of all, you need then to have a transition to the END node, which I guess you do have, anyways, like I said before your process is probably working but simply you are never going to see it on the END node. Once a task goes to the END node it simply "ENDS", and the process is finish, meaning is not longer at any state (node). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054556#4054556 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054556 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Timers from previous deployments are still persistent
tuxzilla, I'm doing exactly the same thing, and having the same problem. Take a look at your \JBOSS_HOME\server\default\data\hypersonic dir. You will find a file named localDB.log Open this file. You will see something like this: | After the first deploy: | INSERT INTO TIMERS VALUES('1','[target=jboss.j2ee:service=EJB3,ear=consultoria.ear,jar=jboss-seam.jar,name=Dispatcher]','2007-06-14 18:18:35.73200',3,NULL,'aced0005737200356f72672e6a626f73732e7365616d2e636f72652e44697370617463686572244173796e6368726f6e6f7573496e766f636174696f6e670f265d0e3c68ee0200045b000861726754797065737400125b4c6a6176612f6c616e672f436c6173733b5b0004617267737400135b4c6a6176612f6c616e672f4f626a6563743b4c000d636f6d706f6e656e744e616d657400124c6a6176612f6c616e672f537472696e673b4c000a6d6574686f644e616d6571007e00037872002b6f72672e6a626f73732e7365616d2e636f72652e44697370617463686572244173796e6368726f6e6f7573f8597006e73beecb0200024c000970726f6365737349647400104c6a6176612f6c616e672f4c6f6e673b4c00067461736b496471007e000578707070757200125b4c6a6176612e6c616e672e436c6173733bab16d7aecbcd5a99027872767200046c6f6e6700787071007e000a757200135b4c6a6176612e6c616e672e4f626a6563743b90ce589f1073296c0278727372000e6a6176612e6c6! 16e672e4c6f6e673b8be490cc8f23df0200014a000576616c7565787200106a6176612e6c616e672e4e756d62657286ac951d0b94e08b027870ea607371007e000d753074000e7370686368614f627365727665727400076f627365727665') | COMMIT | SET AUTOCOMMIT TRUE | | When you redeploy: | DELETE FROM TIMERS WHERE TIMERID='1' AND TARGETID='[target=jboss.j2ee:service=EJB3,ear=consultoria.ear,jar=jboss-seam.jar,name=Dispatcher]' | INSERT INTO TIMERS VALUES('2','[target=jboss.j2ee:service=EJB3,ear=consultoria.ear,jar=jboss-seam.jar,name=Dispatcher]','2007-06-14 18:18:35.73200',3,NULL,'aced0005737200356f72672e6a626f73732e7365616d2e636f72652e44697370617463686572244173796e6368726f6e6f7573496e766f636174696f6e670f265d0e3c68ee0200045b000861726754797065737400125b4c6a6176612f6c616e672f436c6173733b5b0004617267737400135b4c6a6176612f6c616e672f4f626a6563743b4c000d636f6d706f6e656e744e616d657400124c6a6176612f6c616e672f537472696e673b4c000a6d6574686f644e616d6571007e00037872002b6f72672e6a626f73732e7365616d2e636f72652e44697370617463686572244173796e6368726f6e6f7573f8597006e73beecb0200024c000970726f6365737349647400104c6a6176612f6c616e672f4c6f6e673b4c00067461736b496471007e000578707070757200125b4c6a6176612e6c616e672e436c6173733bab16d7aecbcd5a99027872767200046c6f6e6700787071007e000a757200135b4c6a6176612e6c616e672e4f626a6563743b90ce589f1073296c0278727372000e6a6176612e6c6! 16e672e4c6f6e673b8be490cc8f23df0200014a000576616c7565787200106a6176612e6c616e672e4e756d62657286ac951d0b94e08b027870ea607371007e000d753074000e7370686368614f627365727665727400076f627365727665') | SET AUTOCOMMIT FALSE | INSERT INTO TIMERS VALUES('3','[target=jboss.j2ee:service=EJB3,ear=consultoria.ear,jar=jboss-seam.jar,name=Dispatcher]','2007-06-14 18:20:18.23000',3,NULL,'aced0005737200356f72672e6a626f73732e7365616d2e636f72652e44697370617463686572244173796e6368726f6e6f7573496e766f636174696f6e670f265d0e3c68ee0200045b000861726754797065737400125b4c6a6176612f6c616e672f436c6173733b5b0004617267737400135b4c6a6176612f6c616e672f4f626a6563743b4c000d636f6d706f6e656e744e616d657400124c6a6176612f6c616e672f537472696e673b4c000a6d6574686f644e616d6571007e00037872002b6f72672e6a626f73732e7365616d2e636f72652e44697370617463686572244173796e6368726f6e6f7573f8597006e73beecb0200024c000970726f6365737349647400104c6a6176612f6c616e672f4c6f6e673b4c00067461736b496471007e000578707070757200125b4c6a6176612e6c616e672e436c6173733bab16d7aecbcd5a99027872767200046c6f6e6700787071007e000a757200135b4c6a6176612e6c616e672e4f626a6563743b90ce589f1073296c0278727372000e6a6176612e6c6! 16e672e4c6f6e673b8be490cc8f23df0200014a000576616c7565787200106a6176612e6c616e672e4e756d62657286ac951d0b94e08b027870ea607371007e000d753074000e7370686368614f627365727665727400076f627365727665') | COMMIT | SET AUTOCOMMIT TRUE | | When you redeploy again: | DELETE FROM TIMERS WHERE TIMERID='2' AND TARGETID='[target=jboss.j2ee:service=EJB3,ear=consultoria.ear,jar=jboss-seam.jar,name=Dispatcher]' | DELETE FROM TIMERS WHERE TIMERID='3' AND TARGETID='[target=jboss.j2ee:service=EJB3,ear=consultoria.ear,jar=jboss-seam.jar,name=Dispatcher]' | INSERT INTO TIMERS VALUES('4','[target=jboss.j2ee:service=EJB3,ear=consultoria.ear,jar=jboss-seam.jar,name=Dispatcher]','2007-06-14 18:18:35.73200',3,NULL,'aced0005737200356f72672e6a626f73732e7365616d2e636f72652e44697370617463686572244173796e6368726f6e6f7573496e766f636174696f6e670f265d0e3c68ee0200045b000861726754797065737400125b4c6a6176612f6c616e672f436c6173733b5b0004617267737400135b4c6a6176612f6c616e672f4f626a6563743b4c000d636f6d706f6e656e744e616d657400124c6a6176612f6c616e672
[jboss-user] [Security & JAAS/JBoss] - elf-signed client certs Jboss 4.0.4
He, im trying to get ss with self-signed client certs - aka mutual authentication - Web Browser Client work on jboss 4.0.4. In the wiki i found a setup information at http://wiki.jboss.org/wiki/Wiki.jsp?page=SSLSetup now my problem is when i follow the discription 3 - SSL enabled on the server with self-signed client certs - aka mutual authentication - Web Browser Client but down now how to run the build.xml file. So i've down the first steps by manuell. But at step ant cer2pkcs12 it doesnt work anymore. My question is how get the build.xml work and what is client.p8 i cant find the file, not in the zip filer either when i deploy the certificate files? THX Matthias View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054552#4054552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054552 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - cant't deploy in context root on jboss-4.2.0.GA
Hi, i have trouble getting my application running in the root context. i read the documentation, the howto s and so on, maybe i'm stupid but i cant get it working... i was trying to configure apache and tomcat with ajp ant got so far that i could access the application with [mydomain.tld/app] but no way with [mydomain.tld]. so i tried to get it running on 127.0.0.1:8080 - without success. i renamed the ROOT.war and in application.xml i defined: / | | or | | i did the same in jboss-web.xml all without success. i remember i got it working on jboss-4.0.5.GA but now on jboss-4.2.0.GA i have no clue. can anyone help please? regards and thanks, hasc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054550#4054550 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054550 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM JSF Integrartion
One way to go its what you did, modify the jbpm.war and include your JSF files in there but then you will only be changing things all the time to fit your needs. I thing the best way to do an integration is to generate your own war file (yourAplication.war) and communicate that application with the jbpm engine, remember that jbpm is not the jbpm.war, that is only a example of how you can make the jbpm work. Once you deploy your own application on the deploy folder of the server, yor have access to everything on the jbpm engine, just by using the API. You have everything there, so for example, if you have a button to save a task on your application, you only need a java class that uses the jbpm API to save the task, variables, and takes the transition you need it to take. For example(this is what I use): | public void save(Hashtable taskVariables, String transition) | { | this.jbpmContext = JbpmConfiguration.getInstance().getCurrentJbpmContext(); | this.taskMgmtSession = jbpmContext.getTaskMgmtSession(); | | try | { | TaskInstance taskInstance = taskMgmtSession.loadTaskInstance(taskInstanceId); | System.out.println("ESTA ABIERTA???: " + jbpmContext.getSession().isOpen()); | | if(taskVariables != null && taskVariables.size() > 0) | { | Iterator i = taskVariables.keySet().iterator(); | while(i.hasNext()){ | String key = (String)i.next(); | Object value = taskVariables.get(key); | taskInstance.setVariable(key, value); | } | } | taskInstance.end(transition); | | jbpmContext.save(taskInstance); | | } | } | Of course you need to import the correspondent packeges which in my case are: import org.jbpm.JbpmConfiguration; import org.jbpm.JbpmContext; import org.jbpm.db.TaskMgmtSession; Hope that helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054549#4054549 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Do file upload component support jpeg and png only?
"petemuir" wrote : in fact its because Java2D doesn't support writing to a gif, probably because of licensing issues It was my first suspicion... Good news is that it is nevertheless possible and even animated: "shakenbrain" wrote : | You'd have to update this to allow for "gif" format types, but that assumes that ImageIO supports writing GIFS. Based on "http://www.gif4j.com/java-gif4j-pro-gif-image-encode-save.htm"; you'll need an extra library. | | "petemuir" wrote : png is a superior format to gif The same said our web design pro. But he said also that older web browsers may have trouble with PNG format. Mail clients consuming HTML emails is another case. I'll ask him to post a question in according forum(s) Thank you both for your prompt and professional assistance :-) More critical is requirement to have animated images. PNG does not support this. Hopefully one of animation extensions (MNG or APNG or ANG or ... ) somtime will be widely adopted http://www.xs4all.nl/~collin/png-eng.html anonymous wrote : | * A new controversy has arissen: Unisys now wants to charge every website that uses GIFs that were made with suspect software (i.e. software that has no Unisys license for LZW compression) 5000 US Dollar. | * The PNG group has started developing an animation format to help replace animated GIFs. This format is called MNG. http://en.wikipedia.org/wiki/PNG anonymous wrote : PNG gained some additional popularity in August 1999, after Unisys terminated its royalty-free patent licenses to developers of free software and non-commercial software. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054548#4054548 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054548 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Viewing deployed EJBs
HAve you looked at the debug.seam page? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054546#4054546 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054546 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Licence Question - Commercial End Product
Hi, I am a java consultant with 10 years experience that has been asked by a software house to evaluate various workflow solutions for incorporation into a web application. I have had a look at jboss jbpm and feel it maybe a good fit with our requirements. Is it posible to deploy this application without incurring any licence infrigement within a piece of commercial software? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054544#4054544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054544 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: 1.3.0 Temporary Destination - Full security
I'd like to clearify my last post... The last post was a bit of a mix between two different issues I was having. The referencing source was more of an 'oddity' that I found looking for; 'Why I wasn't able to read from my temp destination even though I could see the message?'. I had assumed that Queue/TopicRequestor handled the connection.start as well, guess not.. The main problem still is... I don't have read permission on my temporary destination by default. Looking at the org.jboss.jms.server.container.SecurityAspect it might be missing something like(pesudo): if (dest.isTemporary()) { if(dest.getClientConnectionId != clientConnection.id) throw SecurityException } I havn't found the correct semantics yet. -aslak- View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054542#4054542 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054542 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Viewing deployed EJBs
I am having difficulty understanding why the variables in my seam pages are not being resolved and I was wondering if there was a way of viewing the list of EJBs known to seam via the @Name annotation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054540#4054540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
Ah, my mistake, I guess EL doesn't qualify as a runtime expression. | include | | | JSP | The include tag can point at any Facelet which might use the composition tag, component tag, or simply be straight XHTML/XML. It should be noted that the src path does allow relative path names, but they will always be resolved against the original Facelet requested. The include tag can be used in conjunction with multiple tags to pass EL expressions/values to the target page. | | src | true | false | A literal or EL expression that specifies the target Facelet that you would like to include into your document. | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054539#4054539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054539 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
Oh, you're trying to say it doesn't support EL expressions? It does :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054538#4054538 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054538 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
a runtime expression View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054537#4054537 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: jboss + mysql
"PeterJ" wrote : You need a *-ds.xml file that describes the MySQL data source. You can find an example one at docs/examples/jca/mysql-ds.xml. Once you edit it for your database, copy it to server/xxx/deploy. | | For more info: http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#ch7.jdbc.sect Thanks a lot for the help Peter. Ros View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054536#4054536 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054536 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Do file upload component support jpeg and png only?
+1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054535#4054535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054535 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
What's rtexp? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054534#4054534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - accessing a database in jboss
Hi, I have a small application where I access a database using ejb with jsp/servlets. The application is working ok but I have a question about the mysql-ds.xml file and ejb-jar.xml file. I have pasted the 2 files below. The thing is at the moment I have specified the name of the database in mysql-ds.xml. I would like to state this name in the ejb-jar.xml file so that I do not have to change the name of the database everytime I have to access one. Shall be thankful if somebody could advise me. Ros ejb-jar.xml http://java.sun.com/dtd/ejb-jar_2_0.dtd";> Customer Info Stateless Session Bean Application Customer Info Stateless Session Bean CustomerInfoStateless com.ejb.CustomerInfoStatelessHome com.ejb.CustomerInfoStateless com.ejb.CustomerInfoStatelessBean Stateless Container This is a reference to a JDBC database. java:/MySqlDS javax.sql.DataSource Container mysql-ds.xml MySqlDS jdbc:mysql://localhost:3306/customerdb com.mysql.jdbc.Driver root org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter mySQL View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054532#4054532 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054532 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
does not allow rtexp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054531#4054531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Do file upload component support jpeg and png only?
As png is a superior format to gif, I can't see any problem here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054530#4054530 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054530 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: request parameter + sfsb
page parameters are newer, more powerful, and separate design concerns better than @RequestParameter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054529#4054529 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Do file upload component support jpeg and png only?
>From ContentServlet.java String formatName = ""; |if ("image/png".equals(contentType)) | formatName = "png"; |else if ("image/jpeg".equals(contentType)) | formatName = "jpeg"; | |ImageIO.write(bImg, formatName, response.getOutputStream()); You'd have to update this to allow for "gif" format types, but that assumes that ImageIO supports writing GIFS. Based on "http://www.gif4j.com/java-gif4j-pro-gif-image-encode-save.htm"; you'll need an extra library. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054528#4054528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to import (include) .xhtml code
ui:include from facelets (you are using facelets, right?) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054527#4054527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Do file upload component support jpeg and png only?
Yes, seamspace doesn't support gifs. But, as shakenbrain says, this is not because s:fileUpload can't upload gifs, but just due to the design of the example (in fact its because Java2D doesn't support writing to a gif, probably because of licensing issues). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054526#4054526 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: back-buttoning after logging out
Yes I did. Were you able to solve this problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054525#4054525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: back-buttoning after logging out
Did you try the meta tags? | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054523#4054523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Store example simpler than DVD Store is needed
Dear colleagues, I have a very little Seam experience and need a template to create basic store application. DVD Store example is too complicated for the beginner. Initially I need a very basic functionality : user login, searching products by name, adding selected products to shopping cart and creating the order. Order fulfillment would be the next step. Could anyone please point to such example around the net ? Alternately, I will appreciate step-by-step guide to DVD Store creaton with comments to each page and each class. So far have not found that. Thanks a lot in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054522#4054522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: captureCurrentView
Ok, it's definitely calling returnToCapturedView() automatically after the register() method is called. Can anyone tell me why @Begin and @End aren't being honored? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054521#4054521 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054521 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - back-buttoning after logging out
I noticed that in my particular Seam application, back-buttoning is allowed after a user logouts which is concerning because if the user goes out for a bathroom break and someone uses his computer, he can see data he's not allowed to. When I try this with my bank online, it gives a "session timeout" error message if I try this, which is a reasonable security precaution. Is there any way I can achieve this kind of feature? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054518#4054518 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Do file upload component support jpeg and png only?
"shakenbrain" wrote : I guess I'm not following you. Where is this uploaded image supposed to be shown? How are you storing it? seamspace example, JBoss AS 4.0.5 GA, Seam 1.2.1 GA Images are stored in the database and shown on the start page or in the user's profile. It works for JPEG and PNG (with a workaround for IE7 mentioned earlier in this thread), but not for GIF. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054517#4054517 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to import (include) .xhtml code
Hi all, I would like to import or include the page according the bean value: But I don't know which taglib to use. Can anybody help me ? M. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054512#4054512 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054512 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: bisocket error in using jboss messaging 1.3
You are missing some step in your instalation. If you could describe how you're installing we would be able to help you. (Have you followed the installation steps at http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.3.0.GA/html/installation.html ?) BTW: This forum you have used is for the legay JBoss MQ, you should be using the JBoss Messaging user's forum at http://www.jboss.com/index.html?module=bb&op=viewforum&f=238) I will move the thread (leaving a shadow for future reference) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054508#4054508 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054508 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Search Engines and Seam
If "home.seam" worked in the welcome file list, then the server would essentially be restarting the request, since at that point you've already passed the URI parsing facility of the server. The welcome file list can't be anything that requires a request URI mapping in web.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054506#4054506 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054506 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: request parameter + sfsb
Can anybody suggest the thinking behind choosing to use a page parameter vs. @RequestParameter? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054503#4054503 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054503 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Configuring JDK5.0 compilation support in JBoss 4.2
Hi We are moving from 4.0.4 GA to JBoss 4.2. I was curious to know if we still needed to manually add these lines to web.xml to enable JDK5 compilation support. compilerSourceVM 1.5 Let me know. Thanks K View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054501#4054501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: probleme with
Have you solution ? Thanks. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054499#4054499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Search Engines and Seam
Previously I stated that search engines were not caching pages, but it would be more accurate to state that they were caching blank pages (sorry for the imprecision). It seems that robots.txt can only be used to define areas to not visit, so that won't work either. Currently I'm thinking about the following approach: | | | | | (Tell the search engine to follow the redirecting index.html page, but not to index it.) Ideally though, I would like to have JBoss load my home.seam page by default, rather than load an index.html page with a redirect. Is this something that is possible and how do you configure JBoss to do this? Thank you for everyone's help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054498#4054498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: probleme with
components.xml : | | | | #{applicationScope.PortalObjectContainer} | | | #{applicationScope.LayoutService} | | | #{applicationScope.InstanceContainer} | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054497#4054497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Newb: why don't any seam log messages appear in JBoss lo
A fresh install of both seemed to work. I'm not sure what I did to the log4j.xml file, but somehow it must've been excluding seam messages. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054496#4054496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054496 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: probleme with
DashboardManager.java : | package fr.cpage.PersonnalizePortlet.backingbean; | | import java.io.Serializable; | import java.util.ArrayList; | import java.util.Collection; | import java.util.Collections; | import java.util.Iterator; | import java.util.LinkedHashMap; | import java.util.List; | import java.util.Map; | | import javax.faces.context.FacesContext; | import javax.faces.model.SelectItem; | | import org.jboss.portal.core.admin.ui.actions.WindowComparator; | import org.jboss.portal.core.model.content.Content; | import org.jboss.portal.core.model.content.ContentType; | import org.jboss.portal.core.model.instance.Instance; | import org.jboss.portal.core.model.instance.InstanceContainer; | import org.jboss.portal.core.model.portal.DuplicatePortalObjectException; | import org.jboss.portal.core.model.portal.Page; | import org.jboss.portal.core.model.portal.Portal; | import org.jboss.portal.core.model.portal.PortalObject; | import org.jboss.portal.core.model.portal.PortalObjectContainer; | import org.jboss.portal.core.model.portal.PortalObjectId; | import org.jboss.portal.core.model.portal.Window; | import org.jboss.portal.theme.LayoutService; | import org.jboss.portal.theme.PortalLayout; | import org.jboss.portal.theme.ThemeConstants; | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.Create; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Out; | import org.jboss.seam.annotations.Scope; | | /** | * | */ | | @Name("dashboardManager") | @Scope(ScopeType.SESSION) | public class DashboardManager implements Serializable { | | private static final PortalObjectId dashboardId = PortalObjectId.parse("/dashboard", PortalObjectId.CANONICAL_FORMAT); | | | // liste des portlets disponible en SelectItem pour les afficher dans | // MaPage.xhtml | List lstPortletDispo; | | List lstPortletDispoObj; | | // Nom de la portlet sélectionnée | String selectedPortletName; | | // liste des layouts disponible en SelectItem pour les afficher dans | // MaPage.xhtml | List lstLayouts; | | List lstLayoutsObject; | | // liste des pages disponible en SelectItem pour les afficher dans | // MaPage.xhtml | List lstPages; | | // PortalObjectContainer = conteneur de tous les portails déployés sur jboss | | public PortalObjectContainer portalObjectContainer; | | | public LayoutService layoutService; | | public InstanceContainer instanceContainer; | | // portail de l'utilisateur connecté | Portal userPortal; | | // nom de l'utilisateur connecté | String userId; | | // portletInfo injecté grâce au service | @In(create = true) | PortletInfo portletInfo; | | // liste des windows dans une page | List lstWindows; | | // clé : nom de la région valeur : nom de la région + portlet dans cette | // région | Map mapRegions; | | // Nom de la région sélectionnée | String selectedRegionName; | | // Nom de la page sélectionnée | String selectedPageName; | | // Position de la portlet dans la région | int orderPortlet; | | // object de la page sélectionnée | PortalObject selectedPage; | | String windowName; | | int nbWindowName; | | String infosPortlet; | | // Constructeur | @Create | public void initialize() { | // PortalObjectContainer = conteneur de tous les portails déployés sur jboss | } | initLstPortletDispo(); | initLstLayouts(); | initUser(); | initLstPages(); | initLstRegions(); | initLstWindows(); | } | | /** |* Initialisation de la liste des portlets disponibles |*/ | public void initLstPortletDispo() { | // chargement de la liste de Portlets Définitions | this.lstPortletDispo = new ArrayList(); | this.lstPortletDispoObj = new ArrayList(); | // listes des portlets dans la collection colIntances | Collection colInstances = instanceContainer.getDefinitions(); | | // Chargement de la liste des porlets dans notre liste (pas triée) | for (Instance instance : colInstances) { // Ajout portlet par portlet dans | // la liste de SelectItem | this.lstPortletDispo.add(instance.getId()); | this.lstPortletDispoObj.add(instance); | | } | // tri par ordre alphabétique | Collections.sort(this.lstPortletDispo); | } | | /** |* Initialisation de la liste des layouts disponibles |*/ | public void initLstLayouts() { | // chargement de la liste de Layouts | this.lstLayouts = new ArrayList(); | this.lstLayoutsObject = new ArrayList(); | this.portletInfo.getPortletContext().getAttribute("LayoutService"); | // liste d
[jboss-user] [JBoss Portal] - Re: Portal 2.4.1 in AS 4.2.0. Any work arounds?
Thank you for the reply. Not only did you answer my question, but the one I was about to post :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054494#4054494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - probleme with "page.createPage()"
Hello. I'm using the jboss-portal 2.6 CR2 with Eclipse 3.2. I will want to create my own customize portlet to personalize the dashboard, like the "Dashboard configurator Portlet". And when i want to add a portlet in page, it doen't add. However, the portlet is in the database with properties "order", "region" and "contentType". Here my code : View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054493#4054493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054493 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Do file upload component support jpeg and png only?
I guess I'm not following you. Where is this uploaded image supposed to be shown? How are you storing it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054492#4054492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - captureCurrentView
Having some trouble with captureCurrentView(). The use case is: Actor is on any page within the application. Let's call it "Page A". Actor clicks the "Sign Up" link Actor is presented with the "Sign Up" page Actor enters necessary info and selects "Submit" Actor is brought to the "Sign Up Confirm" page, which displays a "Continue" button Actor selects the continue button and is brought back to Page A. I have an RegisterAction: @Name("registerAction") | @Scope(CONVERSATION) | public class RegisterAction{ | @Begin | public String begin(){ | redirect.captureCurrentView(); | return "signupPage"; | } | | public String register() { | //create records | | | //explicitly log the user in | identity.setUsername(user.getUserName()); | identity.setPassword(user.getUserPassword()); | loginAction.login(); | result = "confirm"; | } | | @Create | public void create(){ | | } | | @End | public String takeMeBack(){ | redirect.returnToCapturedView(); | return null; | } | } I have a commandLInk which points to begin() And I have a commandButton on the Confirm page, which points to takeMeBack() | I also have navigation rules in pages.xml | | | | | | | | | | The problem is, it appears that Seam is redirecting to the captured view after the register() method, when I return "confirm", rather than when the "Continue" button calls takeMeBack(). I wouldn't expect Seam to do the redirect automatically ever, but if it did, I wouldn't expect it to happen until after @End is encountered. Any clues? Am I misunderstanding how captureCurrentView works? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054490#4054490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Do file upload component support jpeg and png only?
"shakenbrain" wrote : You can upload any kind of file with the file upload component. Yes, I can upload any content and I can see binary data of the gif image in the database with contentType field set to image/gif But the problem is that web browsers (e.g. IE7, Firefox 2.x, Opera 9.x) don't show uploaded gif images. "shakenbrain" wrote : | The seamspace example, however, accepts only certain types of image files. I believe it looks at the content-type of the uploaded file and rejects it when not one of the accepted types. But if you mean accept attribute, it was intended for file filtering by web browsers and is ignored. http://htmlhelp.com/reference/html40/forms/input.html anonymous wrote : The file input type creates a field through which users can upload files from their local computer or network. The VALUE attribute specifies the name of the initial file, but it is typically ignored by browsers as a security precaution. The ACCEPT attribute gives a comma-separated list of media types accepted, allowing the browser to filter out inappropriate files. Current browsers generally ignore the ACCEPT attribute. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054489#4054489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DataModel using Set does not work
Thank you all for the answers. Can you please help me out - There still are some problems and searching on the forum seemsto be bugs, but I am not sure. Can you please confirm. Here are the problems: 1) Stateful component - Conversation scope; outjecting Set DataModel (defaulting to Conversation scope). Problem - UI is not refreshed, even though the Factory method is called on the add event. | @Stateful | @Scope(ScopeType.CONVERSATION) | @Name("requestWizardQuestions") | public class RequestWizardQuestionsAction implements RequestWizardQuestions { | ... | @DataModel | public Set requestQuestionsList; | | @DataModelSelection | @Out(required=false) | private RfqRequestQuestion selectedQuestion; | | @Factory("requestQuestionsList") | public void initQuestionsList() { | requestQuestionsList = rfqRequest.getRfqRequestQuestions()); | } | | public void addNewQuestion() { | rfqRequest.getRfqRequestQuestions().add(new RfqRequestQuestion()); | initQuestionsList(); | } | ... | } | Replacing Set with List works. Is this a bug signaled here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=106232 ? 2) Stateful component - Conversation scope; outjecting DataModel to PAGE scope. Problem - The @DataModelSelection is null (seems not to be injected) after clicking the item in UI. | @Stateful | @Scope(ScopeType.CONVERSATION) | @Name("requestWizardQuestions") | public class RequestWizardQuestionsAction implements RequestWizardQuestions { | ... | @DataModel(scope=ScopeType.PAGE) | public List requestQuestionsList; | | @DataModelSelection | @Out(required=false) | private RfqRequestQuestion selectedQuestion; | | @Factory("requestQuestionsList") | public void initQuestionsList() { | requestQuestionsList = new ArrayList(rfqRequest.getRfqRequestQuestions()); | } | | public void deleteQuestion() { | rfqRequest.getRfqRequestQuestions().remove(selectedQuestion); entityManager.remove(selectedQuestion); | } | | ... | } | deleteQuestion is called when clicking an item in the List, but selectedQuestion is null. Is this the bug posted here: http://jira.jboss.com/jira/browse/JBSEAM-308 ? Am I doing something wrong, or are just 2 bugs? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054488#4054488 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054488 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Search Engines and Seam
I've tried the above with both home.seam and home.xhtml as the target welcome page but with no success. Maybe because the server tries to access the file directly rather than letting seam intercept the file by extension? Solution attempt 2 - create a robots.txt file that directs the search engines to the correct root page for the site (home.seam). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054487#4054487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - JBoss EJB 3.0 TrailBlazer doesn't seem to work for me
Greetings, I'm starting using EJB 3 with JBoss 4.0.5GA and I deployed the EJB 3 TrailBlazer (EJBTrail.ear). I launced the browser and I went in the Message Driven Beans section. Here I pressed the "Try the message driven calculation" button, I accepted the default values in the Investment calculator windows and I pressed on the Calculate button. I got HTTP 500 saying "javax.naming.NameNotFoundException mdb not bound". This is true since I didn't deploy any queue named mdb. However, the same page is saying: If the queue does not exist, the JBoss container automatically creates it at deploy time. There is no XML configuration file needed! So I don't understand wether I have or not to explicitly deploy the queue. Okay, I deployed the queue with the following service: | | | | | jboss.mq:service=DestinationManager | | | After doing this, I got the following message in the console: [mdb] Bound to JNDI name: queue/mdb Now when I repeat the test and I click on the Calculate button, as described previously, I get the message: Please wait a while, I am checking wether the message has arrived. But the result is not displayed, meaning that the message didn't arrive. No error message is displayed in the server's console. Could someone please explain how to get running this nice tutorial ? Kind regards, Nicolas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054485#4054485 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Can't set Character encoding for submitted form data
The problem might arise from URIEncoding http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107804 will address your problem. This is only applicable when your request parameters are sent with the URL query string. One other possibility of this happening is your database's client/server character encoding. For Oracle, one way of configuring your client encoding is with setting NLS parameters accordingly. Ramazan YILDIRIM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054486#4054486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Why limiting SEAM to Web Applications?
There's certainly no reason that Seam has to be limited to web application development. We've even talked some about using it in Swing applications. However, I don't think anyone sees it as a huge priority right now. I'm sure we'd welcome contributions from anyone who wants to use Seam outside of web applications. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054484#4054484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Message Driven Bean with TIBCO EMS - Wrong Connection fa
I found the problem... After pouring through the logs and JBoss AS source code I found a place where you can select the jms provider JNDI. Changing the annotations to: | @MessageDriven( | activationConfig = { | @ActivationConfigProperty(propertyName = "providerAdapterJNDI", propertyValue = "java:/TibJMSProvider"), | @ActivationConfigProperty(propertyName = "destination", | propertyValue = "ems/queue.sample"), | @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue")} | )) | Fixes the problem. Here are the following valid AcitvationConfigProperties that JBoss understands: destination | destinationType | providerAdapterJNDI | maxSession View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054483#4054483 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - JBoss EJB 3 TrailBlazer doesn't seem to work for me
Greetings, I'm starting using EJB 3 with JBoss 4.0.5GA and I deployed the EJB 3 TrailBlazer (EJBTrail.ear). I launced the browser and I went in the Message Driven Beans section. Here I pressed the "Try the message driven calculation" button, I accepted the default values in the Investment calculator windows and I pressed on the Calculate button. I got HTTP 500 saying "javax.naming.NameNotFoundException mdb not bound". This is true since I didn't deploy any queue named mdb. However, the same page is saying: If the queue does not exist, the JBoss container automatically creates it at deploy time. There is no XML configuration file needed! So I don't understand wether I have or not to explicitly deploy the queue. Okay, I deployed the queue with the following service: jboss.mq:service=DestinationManager After doing this, I got the following message in the console: [mdb] Bound to JNDI name: queue/mdb Now when I repeat the test and I click on the Calculate button, as described previously, I get the message: Please wait a while, I am checking wether the message has arrived. But the result is not displayed, meaning that the message didn't arrive. No error message is displayed in the server's console. Could someone please explain how to get running this nice tutorial ? Kind regards, Nicolas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054482#4054482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Visual Web Pack - Seam
Is it possible to combine Seam with Netbeans Visual Web Pack? Now Seam 1.3 use Suns JSF RI. Also is it possible to use Seam as back end technology and develop user interfaces with VWP? Roman View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054481#4054481 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.3.0 ALPHA released
Remove the conversation-is-long-running parameter from core:manager in components.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054480#4054480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: How could I create a new Region programmatically?
I think I found the solution, perhaps it is gonna be usefull for someone. The code below could be used as an example: | //getting the cache's eviction RegionManager | RegionManager regionMgr = cache.getEvictionRegionManager(); | | //Creating your own EvictionConfiguration | FIFOConfiguration config = new FIFOConfiguration(); | ((FIFOConfiguration) config).setMaxNodes(10); | | //New instance of an EvictionPolicy | FIFOEviction eviction = new FIFOPolicy(); | //Configure eviction policy in the cache instance | eviction.configure(cache); | //finally, create the region | regionMgr.createRegion("/foo/com", eviction, config); | | What I was missing was the eviction configuration in the cache instance (eviction.configure(cache);) so I got a NullPointerException when the Timer threads did periodic node clean up by running the eviction policy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054479#4054479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user