[jboss-user] [JBoss Tools (users)] - WTP2.0.1, JBossAS-Tools-1.0.0.beta4 not publishing correctly
When I publish an EAR project from my workspace into JBoss 4.2.1 it does not publish correctly. I have tried both the WTP supplied 4.2 driver and the JBossAS-Tools supplied 4.2 driver. My JBoss runtime is at /opt/jboss-4.2.1.GA this directory tree is writable by my userid, also exists is $HOME/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2 which is also being published too as well as. After a successful publish operation (successful from looking at the GUI, but unsuccessful from looking at the JBoss log) the following things happen: The JBoss runtime home (/opt/jboss-4.2.1.GA/data/opt/jboss-4.2.1.GA/server/default/deploy/) ends up with an exploded EAR directory (this is the name of my project with the .ear extension but its a directory not a file), inside this directory is all the other subdirectories that make up the tree, but the only file in there is that of a Utility JAR. There was no META-INF/application.xml and there is no EJB implementation JAR. In the workspace server plugin temporary area for this server instance ($HOME/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2) I find an EAR file (which internally has my META-INF/application.xml, my Utility JAR and my EJB JAR). It also has a directory (same name as EAR but without the .ear extension) this has all 3 files I'd expect to see in an exploded EAR tree. When looking at the launch configuration for JBoss I can't see where the workspace deployment location is specified in the configuration, so I can only presume that what JBoss sees is only the file copied into the runtime home. Unlike Tomcat which can have a read-only runtime home but a read-write instance tree allowing for the sharing of the container by multiple instances in server tooling. What copies the files during deployment into the JBoss runtime tree ? Is there anyone who is actually using the server tools successfully in this way ? If so what versions of things to you have installed ? I'm using: Eclipse 3.3.1, WTP 2.0.1, JBoss 4.2.1, JBossAS-Tools-1.0.0.beta4 Thanks, Darryl View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092394#4092394 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Setting the default propagation for s:link
http://jira.jboss.com/jira/browse/JBSEAM-2062 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092396#4092396 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: how to deploy the jar files in jboss
just put ur jar into deply directory. or put it into lib directory View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092397#4092397 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: WTP2.0.1, JBossAS-Tools-1.0.0.beta4 not publishing corre
We don't use any temporary publishing location; so that must be something the WTP supplied 4.2 driver uses. What kind of project are you publishing ? For me the projects that is created with Seam project wizard works just like it should here. Maybe you haven't specified the right dependencies between projects and j2ee module artifacts in WTP ? With respect to where we deploy then currently it just goes to the default location inside jboss (which depends on your JBoss configuration choice) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092399#4092399 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Configure JBoss to connect to multi database on multi machin
Hi all! anonymous wrote : I have three machine (A, B, C). | I have installed JBoss server on machine A. | On B, I have installed MySQL. On C, I have installed Oracle. How I can configure JBoss server to when JBoss start, it can simultaneous connect to both of my database (MySQL and Oracle). I also try follow: On A, I create two hsqldb-ds.xml and oracledb-ds.xml (inside \server\default\deploy) but not effect ! anonymous wrote : And when install JBoss, I choosen Local on the DataSource Configuration part. Have some ideas about this problem ? Guide to me or show me some documents to solve my problem. Thanks. Catania. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092400#4092400 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: RSS feed not validating on In Relation To
Fixed what I could fix. Only produces one warning now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092401#4092401 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - [B1-CR2] What happened to Ajax4JSF ?
I'm trying to upgrade but i cant find ajax4jsf in lib/ What Happened to it ? How should i change my Web.xml ? is there any migration guide for CR2 ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092403#4092403 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Difference in an @Asynchronous method
I'm seeing a weird situation that I really don't understand. I don't think it's really a Seam issue, but maybe someone can help me understand what's going on. I have an XFire based web service client that lives in my EJB project. I call that web service code from my authenticator class and it works like a charm. Now I have an asynchronous method using quartz (@Asynchornous) and when that method tries to call the same web service with the same arguments I get the following error: | Caused by: javax.xml.bind.JAXBException: com.x.webservices.securityclient doesnt contain ObjectFactory.class or jaxb.index | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:119) | 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 javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:132) | at javax.xml.bind.ContextFinder.find(ContextFinder.java:286) | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372) | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337) | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244) | at org.codehaus.xfire.jaxb2.JaxbType.getJAXBContext(JaxbType.java:306) | at org.codehaus.xfire.jaxb2.JaxbType.writeObject(JaxbType.java:230) | I tried chaging the async method to stateless from stateful as well as making the dispatcher method a JavaBean instead of a SFSB, but I get the same result. I also tried adding the jaxb.index file it mentioned and the same thing. The ObjectFactory class is there, and I can instantiate it manually, so I know it's in the classpath. Any help is greatly appreciated. Thanks, Jose View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092404#4092404 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Difference in an @Asynchronous method
BTW, from the async method I can call other methods from that web service, but none of the ones that need to construct a complex type. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092405#4092405 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - mappedBy in Hibernate Annotation
Getting org.hibernate.AnnotationException: Unknown mappedBy in: LocalizedString.values, referenced property unknown: LocalizedStringMap.localizedString. LocalizedString - @OneToOne(mappedBy = localizedString) @Cascade({ CascadeType.ALL, CascadeType.DELETE_ORPHAN}) private LocalizedStringMap values; LocalizedStringMap - @OneToOne @JoinColumn(name=LocalizedString_id, nullable = false) private LocalizedString localizedString; has corresponding getters setters (public). Please point out why I am getting the above mentioned error. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092406#4092406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
If I have any say in the matter, I would like to see these changes (or some variation of them) integrated. seam-gen had a lot of other areas where it needed attention, which was addressed for the 2.0 release. Once we are beyond 2.0, I think we can continue to make seam-gen produce better and more flexible applications. While seam-gen cannot be everything to everybody, I do feel that it can still do a better job. My personal goals for seam-gen is to trim down the code as much as possible while integrating a very rich set of features. It should be more than just a fun prototype, but an excellent place to start with new applications. Trust that we do want contributions such as yours. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092407#4092407 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: mappedBy in Hibernate Annotation
Go to the Hibernate forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092408#4092408 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: [B1-CR2] What happened to Ajax4JSF ?
Read /seam2migration.txt in the distribution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092409#4092409 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: 2.0.0..CR2 Seam-gen Skins
fixed View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092410#4092410 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Very slow initialization of Captcha
When redeploying a Seam application the initialization of Captcha takes a very long time. On my system (New Lenovo T60 + Vista) it is hanging for more than 50 seconds at each redeploy. Example from my logs: 09:09:50,311 INFO [Contexts] starting up: org.jboss.seam.captcha.captchaImage 09:10:44,093 INFO [Initialization] done initializing Seam Any way to make this startup quicker? Currently those 50 seconds are harming productivity. Thankful for any suggestions, Tobias View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092414#4092414 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - soap message not correct?
i have an existing oracle-bpel-process that i want to call with JBossWS. so i used wsconsume to create java classes for the WSDL. but when i use the classes to call the webservice, the generated soap-message seems to be incorrect: | inputVariable | part xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; name=payload | ns1:ApproveActivityIN xmlns:ns1=http://www.example.org; | activityId1684/activityId | actionapprove/action | /ns1:ApproveActivityIN | /part | /inputVariable | the namespace for activity and action are missing. in my opinion it should look like this: | inputVariable | part xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; name=payload | ns1:ApproveActivityIN xmlns:ns1=http://www.example.org; | ns1:activityId1684/ns1:activityId | ns1:actionapprove/ns1:action | /ns1:ApproveActivityIN | /part | /inputVariable | here's the wsdl of my bpel-process: | ?xml version=1.0 encoding=UTF-8? | definitions | name=ApproveActivity | targetNamespace=http://xmlns.oracle.com/ApproveActivity; | xmlns=http://schemas.xmlsoap.org/wsdl/; | xmlns:tns=http://xmlns.oracle.com/ApproveActivity; | xmlns:ns1=http://www.example.org; | xmlns:plnk=http://schemas.xmlsoap.org/ws/2003/05/partner-link/; | xmlns:ns2=http://www.example.org; | xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; | xmlns:client=http://xmlns.oracle.com/ApproveActivity; | | types | schema xmlns=http://www.w3.org/2001/XMLSchema; | import namespace=http://www.example.org; schemaLocation=ApproveActivityIN.xsd/ | /schema | schema xmlns=http://www.w3.org/2001/XMLSchema; | import namespace=http://www.example.org; schemaLocation=ApproveActivityOUT.xsd/ | /schema | /types | message name=ApproveActivityRequestMessage | part name=payload element=ns1:ApproveActivityIN/ | /message | message name=ApproveActivityResponseMessage | part name=payload element=ns1:ApproveActivityOUT/ | /message | portType name=ApproveActivity | operation name=process | input message=tns:ApproveActivityRequestMessage/ | output message=tns:ApproveActivityResponseMessage/ | /operation | /portType | binding name=ApproveActivityBinding type=tns:ApproveActivity | soap:binding style=document transport=http://schemas.xmlsoap.org/soap/http/ | operation name=process | soap:operation style=document soapAction=process/ | input | soap:body use=literal/ | /input | output | soap:body use=literal/ | /output | /operation | /binding | service name=ApproveActivity | port name=ApproveActivityPort binding=tns:ApproveActivityBinding | soap:address location=http://sh159:/orabpel/default/ApproveActivity/1.0/ | /port | /service | plnk:partnerLinkType name=ApproveActivity | plnk:role name=ApproveActivityProvider | plnk:portType name=tns:ApproveActivity/ | /plnk:role | /plnk:partnerLinkType | /definitions | and the xsd for the input: | ?xml version=1.0 encoding=windows-1252 ? | xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema; | xmlns=http://www.example.org; | targetNamespace=http://www.example.org; | elementFormDefault=qualified | xsd:element name=ApproveActivityIN | xsd:annotation | xsd:documentation | /xsd:documentation | /xsd:annotation | xsd:complexType | xsd:sequence | xsd:element name=activityId | xsd:simpleType | xsd:restriction base=xsd:int | xsd:minInclusive value=0/ | /xsd:restriction | /xsd:simpleType | /xsd:element | xsd:element name=action | xsd:simpleType | xsd:restriction base=xsd:string | xsd:enumeration value=approve/ | xsd:enumeration value=reject/ | /xsd:restriction | /xsd:simpleType | /xsd:element | /xsd:sequence | /xsd:complexType | /xsd:element | /xsd:schema | when i use xfire/aegis to create the client classes, everything works as expected. but i would like to use JBossWS because i use JBoss AS anyway. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092412#4092412 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to reload the same page after logout the seam applicatio
Hai every one i am working on seam application. i my part user can login the application by clicking the login link on the rich:toolBar. it invoke the modal panel, then user enter their login details, then user click login button makes a ajax call and verify the user details. if it is available we allow the user to login the application. so the user need not go separate page for login. and so we avoid the form loading for prevent the model panel disappear. when the user click logout s:link user logout the application. without redirecting page. so this link also avoid the form loading. here my problem is after successfully logout the application i try to login again the application it wont allow to login. because the browser URL still have login details in the form of GET method . so after successfully logout the application i need to reload the same page please any one help me how to reload the same page after invoke the identity.logout action By Thiagu.m View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092415#4092415 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: binding attribute doesnt work with Seam?
Hi friends, there is something strange! I have 6 text box in my page username, password, password verify, phone no, address, mobile no astonishingly, when I press Save button to update changes, at server-side only changes to last text box is being seen and others remained intact and when I substitute another text box say phone no with the last one (change their position) again only changes to last text box (phone no) is visible and the others have the same value they already had what's the problem? is this an issue with Seam? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092416#4092416 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to split JBPM configuration for Seam ?
The error stack trace is this one : Caused by: java.lang.IllegalStateException: Two components with the same name and precedence: org.jboss.seam.bpm.jbpm | at org.jboss.seam.init.Initialization.addComponentDescriptor(Initialization.java:446) | at org.jboss.seam.init.Initialization.installComponentFromXmlElement(Initialization.java:356) | at org.jboss.seam.init.Initialization.installComponentsFromXmlElements(Initialization.java:256) | at org.jboss.seam.init.Initialization.initComponentsFromXmlDocuments(Initialization.java:114) | ... 139 more In fact what I need is that Seam works this way : - If the bpm component has not been instantiated yet, instantiate it - If the bpm component has already been instantiated, just add process definitions or page flow definitions to it. Don't know if it's something possible with Seam ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092417#4092417 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Configure JBoss to connect to multi database on multi ma
Creating the datasource files (-ds.xml) is the correct thing. When you say, it does take effect, what exactly happens? Do you see any exceptions? Also, can you post the contents of those 2 ds.xml files? (Please remember to enclose the contents the code block, by using the Code button in the message window. That will help in retaining the xml content). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092418#4092418 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Message priority lost while distributed over bridge
I'm using JBoss Messaging 1.4.0.GA on JBoss AS 4.2.1. I think that the message priority setting on a message will be lost while bridged to the target provider (remote). The message priority is set on the producer, where the message will be sent. Same code works without using the bridge. ... MessageProducer sender = session.createProducer(queue); sender.setDeliveryMode(DeliveryMode.PERSISTENT); sender.setPriority(0); ... TextMessage message = session.createTextMessage(); ... sender.send(message); ... Is this a known issue? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092419#4092419 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: example application for jdbc
For configuring a datasource, you just need a *-ds.xml file which needs to be placed in the server/ serverName/deploy folder. For more details about how to configure a datasource, have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources. That wiki article also has specific examples for different databases. Once you have successfully deployed the datasource, in order to use this datasource, you will have to do a JNDI lookup in your code as follows: | Context ctx = new InitialContext(); | Datasource ds = (Datasource) ctx.lookup(java:/TheJNDINameThatYouSpecifiedForYourDatasource); anonymous wrote : calling that data source from a stand alone program. Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIAccessADataSourceFromAClient View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092420#4092420 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - NotSuchMethod exception
Hi, I have problem with my application. All was working very well, but now the application throws an exception. The exception is thrown by DroolsRule and i don't know where is the problem. Drools | rule ZobrazeniPozadavku | when | c: PermissionCheck(name == request, action==read) | p:Principal() | r:Request() | Role(name == IMS_ADMIN) || Role(name == IMS_OPERATOR) || ( eval (r.getAuthor() != null p.toString().equals(r.getAuthor().getLoginName( || ( eval (r.getSolver() != null p.toString().equals(r.getSolver().getLoginName( | then | c.grant(); | end; | Cause: | java.lang.NoSuchMethodError: javax.persistence.EntityNotFoundException: method init(Ljava/lang/String;Ljava/lang/Throwable;)V not found | | Caused by: java.lang.NoSuchMethodError: javax.persistence.EntityNotFoundException: method init(Ljava/lang/String;Ljava/lang/Throwable;)V not found | at org.hibernate.ejb.Ejb3Configuration$1.handleEntityNotFound(Ejb3Configuration.java:99) | at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:79) | at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:72) | at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111) | at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:160) | at cz.bpsolutions.ims.model.Account$$EnhancerByCGLIB$$1a7a2f2f.getLoginName(generated) | at cz.bpsolutions.drools.Rule_ZobrazeniPozadavku_0.eval1(Rule_ZobrazeniPozadavku_0.java:15) | at cz.bpsolutions.drools.Rule_ZobrazeniPozadavku_0Eval1Invoker.evaluate(Rule_ZobrazeniPozadavku_0Eval1Invoker.java:20) | at org.drools.rule.EvalCondition.isAllowed(Unknown Source) | at org.drools.reteoo.EvalConditionNode.assertTuple(Unknown Source) | at org.drools.reteoo.TupleSource.propagateAssertTuple(Unknown Source) | at org.drools.reteoo.JoinNode.assertTuple(Unknown Source) | at org.drools.reteoo.TupleSource.propagateAssertTuple(Unknown Source) | at org.drools.reteoo.JoinNode.assertTuple(Unknown Source) | at org.drools.reteoo.LeftInputAdapterNode.createAndAssertTuple(Unknown Source) | at org.drools.reteoo.LeftInputAdapterNode.assertObject(Unknown Source) | at org.drools.reteoo.ObjectSource.propagateAssertObject(Unknown Source) | at org.drools.reteoo.AlphaNode.assertObject(Unknown Source) | at org.drools.reteoo.ObjectSource.propagateAssertObject(Unknown Source) | at org.drools.reteoo.AlphaNode.assertObject(Unknown Source) | at org.drools.reteoo.ObjectSource.propagateAssertObject(Unknown Source) | at org.drools.reteoo.ObjectTypeNode.assertObject(Unknown Source) | at org.drools.reteoo.Rete.assertObject(Unknown Source) | at org.drools.reteoo.ReteooRuleBase.assertObject(Unknown Source) | at org.drools.reteoo.ReteooWorkingMemory.doAssertObject(Unknown Source) | at org.drools.common.AbstractWorkingMemory.assertObject(Unknown Source) | at org.drools.common.AbstractWorkingMemory.assertObject(Unknown Source) | at org.jboss.seam.security.RuleBasedIdentity.hasPermission(RuleBasedIdentity.java:115) | at cz.bpsolutions.mis.request.RequestAction.init(RequestAction.java:333) | 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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | ... 139 more | 11:49:42,037 ERROR [DebugPageHandler] redirecting to debug page | java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.persistence.EntityNotFoundException: method init(Ljava/lang/String;Ljava/lang/Throwable;)V not found | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:174) | at cz.bpsolutions.seam.validation.method.ValidatorInterceptor.validateMethodCall(ValidatorInterceptor.java:78) | 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.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) |
[jboss-user] [Beginners Corner] - Re: Getting system time from JBoss
Where do you have to show the server time? You can get the server time using: new Date(System.currentTimeMillis()); This piece of code, when run on the server will give you the server time. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092422#4092422 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - remote client exception
i have deploy session bean on jboss application server (jboss-4.0.3SP1) and when i'am trying to debug it remotely(from jdeveloper 10.1.2.2.0) it give Exception when trying to invoke create method like this : Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); env.put(Context.PROVIDER_URL, jnp://localhost:1099); env.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces ); env.put(jnp.disableDiscovery, true); Context context = new InitialContext(env); ArithmeticHome arithmeticHome = (ArithmeticHome)PortableRemoteObject.narrow(context.lookup(java:/Arithmetic), ArithmeticHome.class); Arithmetic arithmetic; arithmetic = arithmeticHome.create(); the error message is error unmarshalling arguments; nested exception is: java.net.MalformedURLException: no protocol: Files/jboss-4.0.3SP1/server/default/tmp/deploy/tmp12288testdeploy.ear-contents/testdeploy-exp.war/WEB-INF/classes/ please, can any one help me View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092424#4092424 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ant deploy.tomcat in 2.0.0 CR 2
Try ant tomcat.deploy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092427#4092427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam app deployed in Tomcat
hibernate2 and jpa both can be. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092428#4092428 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @in(create=true) not working !
matt - you are spot on - i was trying to reference a conversation scoped bean from a session scoped bean, from the tab panel, and it was this part that was failing. thankyou very much for the explanation! it looks like it's been fixed in richfaces 3.2.0, so maybe i'll try upgrading... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092429#4092429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam 2.0
Is Seam 2.0 support planned anytime soon (CR1)? Seam 2.0 GA is just around the corner and project creation is particulary interesting with that one as most people want to play around with 2.0 once it is out. At the moment it is not very easy to quickly create a running 2.0 demo out of eclipse. Anyway, thanks for your work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092431#4092431 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Question on security model for separate modules
Hi I have JBoss AS setup and dedicated to servicing a franchise-based business. I have a couple of modules deployed in JBoss AS (4.2.1), that are completely unrelated (but together serve a higher purpose). JSPWiki at example.com/wiki/ and JForum at example.com/forum/ - (note: I have enabled forwarding of port 80 to 8080). I also have a custom built module deployed as ROOT.war, and is hence available at example.com - For all intensive purposes, you can consider this module the main system module, with the wiki and forum installed for collaboration purposes. From what I've read briefly (I'm still wrapping my mind around it), JSPWiki fully supports JAAS. I'm not entirely sure about JForum, but that's ok. With the forum, I just need to secure the top level folder, example.com/forum/ and so long as an authenticated user can access the top-level folder, they have access to the entire forum. With the JSPWiki however, I'd like the JAAS settings to carry over to it once the user has signed on at ROOT level, to be able to apply Wiki page-based security (JSPWiki allows this). So in a nutshell, my user navigates to www.example.com and is prompted to login with a form. Based on their username, they get assigned a role or denied access. Assuming they're authenticated, they proceed to the ROOT.war home page, and from there they either use the main system, or collaborate on the wiki and forum. Based on their role, their access to the wiki is limited, meanwhile access to the forum is a given so long as they managed to log in to begin with. Fwiw, I aim to use JBoss's DdatabaseServerLoginModule to allow my client's IT admin staff to CRUD users and roles online. We're estimating to have around 400 users at most. Thus goal is to implement user/role-based security at the ROOT level, that carries over to the wiki/ (fully JAAS) and forum/ (just top-level folder), using DatabaseServerLoginModule. Is this possible? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092432#4092432 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to setup booking example with mssql 2000
I have downloaded jboss as 4.2.1, Seam 2.0 cr1, sqljdbc.jar from microsoft, i've tried booking example with hsql successfully, but i want to setup it with mssql. How to ? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092434#4092434 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam+EJB3 on WebSphere 6 with Emb. Microcontainer?
Hi, I would like to know whether there is any possibility for Seam with EJB3 on Websphere 6 with the help of Embeddable EJB3 microcontainer (#stated everywhere that Seam runs on J2EE application server thru Microcontainer). Before giving a try i would like to know any of Seam community have'd experience with this. Any help would be highly appreciated. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092426#4092426 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: How do I remotely access an mbean attribute value?
I just tried this very simple twiddle command on 4.0.5 and got: | X:\jboss\jboss-4.0.5.GA\bintwiddle get jboss.web:type=RequestProcessor,worker= | http-0.0.0.0-8080,name=HttpRequest0 requestProcessingTime remoteAddr maxRequestUri | requestProcessingTime=1191832947562 | remoteAddr=null | maxRequestUri=null | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092438#4092438 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Parse process definition xml error.
With some chinese chars defined in the processdefinition.xml, jbpm-console encountered an error like following: couldn't parse xml. Stack trace: org.jbpm.util.XmlException: couldn't parse xml at org.jbpm.util.XmlUtil.parseXmlInputStream(XmlUtil.java:68) at org.jbpm.webapp.tag.jbpm.ui.Coordinates.(Coordinates.java:41) at org.jbpm.webapp.tag.jbpm.ui.Coordinates.getCoordinates(Coordinates.java:33) at org.jbpm.webapp.tag.jbpm.renderer.ProcessImageRenderer.encodeBegin(ProcessImageRenderer.java:55) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:792) at org.jbpm.webapp.tag.jbpm.ui.ComponentBase.doEncode(ComponentBase.java:31) at org.jbpm.webapp.tag.jbpm.ui.ComponentBase.doEncode(ComponentBase.java:58) at org.jbpm.webapp.tag.jbpm.ui.Tab.encodeChildren(Tab.java:112) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578) at org.jbpm.webapp.application.JbpmViewHandler.renderView(JbpmViewHandler.java:58) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: org.xml.sax.SAXParseException: Invalid byte 1 of 1-byte UTF-8 sequence. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at org.jbpm.util.XmlUtil.parseXmlInputStream(XmlUtil.java:66) ... 38 more any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092440#4092440 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: [NamespaceScanner] Cannot load package
Forgot to mention that Seam version that was used in the previous test was 1.2.1 GA Now, I have tested deploying seam-booking demo from Seam 2.0.0 CR1, and the problem does not appear any more. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092441#4092441 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Transaction not rolling back in CONTAINER mode
Yes, I lookup for a Datasource to get Connections. Otherwise the transaction wouldn't roll back in BEAN mode as well. The question is why rollback works within BEAN mode and not in CONTAINER mode. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092442#4092442 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092442 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam @In EntityManager vs. Extended Persistence context.
Just for clarification some of my requirements: - Session scoped leftTreeBean (because conversation is too short) - leftTreebean provides a getRoot method that creates a new TreeNodeimpl and makes db query to populate first level of the tree. Tree nodes are a custom class ClazzTreeNode. ClazzTreeNode is not a seam component. Just a java object. Its getChildren makes a database call to a dao to find out the children of a specific node. I would like to push the code to findChildrens, findFirstLevel and so on into another classes (DAO) to be able to reuse them. Note: During working with the application tree can be modified. | Tree is huge (about 2.5 million nodes) so it cannot be loaded in memory. | I expect DAO-s to be stateless session beans | | I use richfaces with ajax switch type. | | Any critics to this design ? | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092447#4092447 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092447 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: putting Jsf el on javascript popup window - very urgent-
It's what I wrote on last post. You write ${param.approveType} wherever you need the param value. For example: p | This is the value of approveType: ${param.approveType} | /p View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092454#4092454 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam Managed ActionHandler
Hello all, I'm trying to create a seam managed Action Handler for a jbpm node ( not a task node ). I want to inject a variable into this action which is outjected in a another SLSB. My process definition: | | ?xml version=1.0? | process-definition name=inkless |start-state name=start | transition name= to=node1/transition |/start-state |end-state name=end1/end-state |node name=node1 | action name=action1 expression=#{bar.foo}/ | transition name= to=end1/transition | |/node | | /process-definition | | The code that creates the process and Outjects a Context variable: | | @Stateless | @Name(inklessProcessManager) | @Interceptors(SeamInterceptor.class) | public class InklessProcessManagerImpl implements InklessProcessManager { | | @Out(scope=ScopeType.BUSINESS_PROCESS, value=foo) Integer someThing; | | @CreateProcess(definition=inkless) | public void startProcess() { | someThing=new Integer(5); | } | | } | | And now my actionhandler which is called in the process definition: | | @Stateless | @Name(bar) | @Interceptors(SeamInterceptor.class) | public class BlahBlahActionHandler implements IActionHandler { | | /* (non-Javadoc) | * @see com.melexis.inkless.IActionHandler#foo() | */ | @In(value=foo, scope=ScopeType.BUSINESS_PROCESS) Integer foe; | | | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) | public void foo(){ | System.out.println(Foo); | System.out.println(foe); | } | | } | | And finally the exception i receive: | | Caused by: javax.ejb.EJBException: org.jboss.seam.RequiredException: In attribute requires non-null value: bar.foo | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214) | at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184) | at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81) | at $Proxy101.foo(Unknown Source) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) | at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31) | at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106) | at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54) | at org.javassist.tmp.java.lang.Object_$$_javassist_2.foo(Object_$$_javassist_2.java) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:328) | ... 170 more
[jboss-user] [Advanced Documentation] - Re: When can we expect JBossAS 4.2 documentation?
Damn, those RedHat docs are so full of errors, it seems that they need some serious proofreading. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092457#4092457 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: session-scoped Seam-managed persistence context
I think is not recommanded because of lifetime of the component. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092458#4092458 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - NoClassDefFoundError: org/cyberneko/html/filters/ElementRemo
Does anyone know why adding the following leads to an error ? | context-param | param-nameorg.ajax4jsf.xmlparser.ORDER/param-name | param-valueTIDY,NEKO,NONE/param-value | /context-param | | context-param | param-nameorg.ajax4jsf.xmlparser.TIDY/param-name | param-valuewebdoc.xhtml/param-value | /context-param | This is for deactivating the richfaces filter on the pages that provide download fields such as pdf. (because there's a bug in this filter) java.lang.NoClassDefFoundError: org/cyberneko/html/filters/ElementRemover | at org.ajax4jsf.webapp.nekko.NekkoParser.init(NekkoParser.java:81) | at org.ajax4jsf.webapp.ConfigurableXMLFilter$NekoParserConfig.createParser(ConfigurableXMLFilter.java:140) | at org.ajax4jsf.webapp.ParserConfig.getParser(ParserConfig.java:30) | at org.ajax4jsf.webapp.ParserConfig.getParser(ParserConfig.java:34) | at org.ajax4jsf.webapp.ConfigurableXMLFilter.getParser(ConfigurableXMLFilter.java:109) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:259) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:595) | I understand that i don't have this class (org/cyberneko/html/filters/ElementRemover) in my classpath but i don't know why it does not come with the richfaces nor which filter is used in what order when org.ajax4jsf.xmlparser.ORDER is not defined in web.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092461#4092461 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Unexpected error delivering message delegator
Im getting the following exception: 2007-10-08 11:55:56,201 ERROR [org.jboss.resource.adapter.jms.inflow.JmsServerSession] Unexpected error delivering message delegator-JBossMessage[264975]:PERSISTENT, deliveryId=159 | javax.ejb.EJBException: Failed to acquire the pool semaphore, strictTimeout=1 | at org.jboss.ejb3.StrictMaxPool.get(StrictMaxPool.java:122) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:245) | at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:268) | at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:138) | at $Proxy4055.onMessage(Unknown Source) | at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:178) | at org.jboss.jms.client.container.ClientConsumer.callOnMessage(Unknown Source) | at org.jboss.jms.client.container.SessionAspect.handleRun(Unknown Source) | at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect14.invoke(SessionAspect14.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(Unknown Source) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(Unknown Source) | at org.jboss.jms.client.JBossSession.run(Unknown Source) | at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:237) | at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204) | at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) | at java.lang.Thread.run(Thread.java:595) Running JBoss 4.2.1.GA and JBM 1.4.0.GA in two-node cluster. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092467#4092467 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Entities generated by seam (many 2 many)
On my application have user and role control. These have many to many realtionship. I want to reuse views generated by seam but seam-gen only create entities form table user and role. user-role table it's ignored. How can I creat entities and views form user-role table? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092468#4092468 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092468 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NoClassDefFoundError: org/cyberneko/html/filters/Element
Ask on the richfaces forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092469#4092469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Call scheduled method from another scheduled method
The version 2.0.0.CR2 throws an exception on startup ... | java.lang.NullPointerException | at org.jboss.seam.async.AsynchronousInterceptor.isExecutingAsynchronousCall(AsynchronousInterceptor.java:64) | at org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:44) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106) | at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54) | at org.javassist.tmp.java.lang.Object_$$_javassist_5.destroy(Object_$$_javassist_5.java) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125) | at org.jboss.seam.Component.callComponentMethod(Component.java:2087) | at org.jboss.seam.Component.callDestroyMethod(Component.java:2018) | at org.jboss.seam.Component.destroy(Component.java:1336) | at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:251) | at org.jboss.seam.contexts.Lifecycle.endApplication(Lifecycle.java:52) | at org.jboss.seam.contexts.ServletLifecycle.endApplication(ServletLifecycle.java:118) | at org.jboss.seam.servlet.SeamListener.contextDestroyed(SeamListener.java:39) | at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3893) | at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4525) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4389) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at
[jboss-user] [JBoss Tools (users)] - Re: Seam 2.0
I don't want to promise anything I can't hold; so I can only tell you at the moment that it is also on my top wishlist. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092474#4092474 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Call scheduled method from another scheduled method
How do trigger the Aync method at startup? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092475#4092475 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Call scheduled method from another scheduled method
It's is not an asynchronous method to be invoked ... It's the method marked with @Destroy @Remove ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092479#4092479 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
multiforeignkeys are not trivial to solve but is probably worth the trouble IFF it can be done right (something that just compiles is not enough, it needs to also actually work); i18n probably is easy to fix but needs fixes to hibernatetools to not overwrite files that are changed etc. I'm not against all these I just think some of the templates are (unnecessarily) complex as is (same for the generated result) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092481#4092481 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Call scheduled method from another scheduled method
Ok, let me put it another way. How do I reproduce this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092484#4092484 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: remote client exception
anonymous wrote : error unmarshalling arguments; nested exception is: java.net.MalformedURLException: no protocol: Files/jboss-4.0.3SP1/server/default/tmp/deploy/tmp12288testdeploy.ear-contents/testdeploy-exp.war/WEB-INF/classes/ | By any chance, have you installed JBoss in a folder containing space in its path (maybe C:/Program Files/jboss-4.0.3SP1). If so, try moving it to a folder without spaces in its path (Ex: C:/jboss-4.0.3SP1). Then try out your application. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092485#4092485 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Whats the correct way to do task managment for a given a
Hi dude, Are you trying to end a taskInstance? If it is the case, call: myTaskInstance.end(). This method sets end date for current taskInstance and taskMgmtSession sees this task as ended and consequently won't bring this task as return value of tasMgmtSession.findTaskIns. If you want not to end the task just to set a flag indicating that the task has been viewed, set a localVariable on the task e.g. taskInstance.setVariableLocally(variableName, new Boolean(true)); For the next time you retrieve that task using taskMgmtSession.findTask check whether it has been seen before or not using taskInstance.getVariableLocally(variableName); If this post couldn't help you please let me know what you are exactly looking for. With kind regards, Ebrahim Salehi. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092486#4092486 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NoClassDefFoundError: org/cyberneko/html/filters/Element
OK http://www.jboss.com/index.html?module=bbop=viewtopict=120610start=-10 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092488#4092488 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092488 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Interceptor Class not in ClassPool
I have to use a Interceptor that is loaded by a different ClassLoader than the intercepted class. Both ClassLoaders have the same parent ClassLoader. If I put the javassist library in the classpaths of both classloaders I get a javaassist.NotFoundException for the interceptor class when the Interceptor should be instantiated. I assume the problem is that there are two separeted ClassPools... So I decided to move the javassist library up to classpath of the parent classLoader. Now I get the following error message: Caused by: java.lang.ClassCastException: org.jboss.aop.classpool.AOPClassPool cannot be cast to org.jboss.aop.classpool.AOPClassPool Does anyone have any idea how to solve that problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092489#4092489 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Transactions
Hi, I'm finally coming back to this problem, and I'd like to use a local cache (B) to keep things simple. So far I found 2 ways to do that: 1. What you said - a TcpCacheLoader in B pointing at C, and (I guess) no replication for B 2. B and C synchronously replicated in the same cluster, with no initial state transfer, and a ClusteredCacheLoader in B In both cases, eviction would be used to discard unneeded nodes from B, based either on either an eviction policy or application logic. Now, I'm not sure what are the exact differences between the 2 approaches (and also whether there is yet another way), but here is what I'd like to achieve: - Data changes in C should update the B cache too (or somehow notify A). In the first approach I'm afraid it won't be notified at all; in the second approach I'm afraid it will receive too much (including needed and unneeded data) - Suppose I have this local cache setup on 2 machines, B1 and B2. If I start a transaction on each one, and try to read or write a record on B1 and write the same record on B2, whichever happens first should block the other one, until the transaction is committed. I'm afraid that won't happen with a TcpCacheLoader Could you please confirm my understanding, complete the missing details and advise me what approach is better for my needs? Thanks Adrian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092492#4092492 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unexpected error delivering message delegator
[Moved to EJB forum] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092490#4092490 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Switch Portals programmaticaly
Hello, I use JBoss-Portal 2.6.2. I want to switch from my default portal to another portal. The other portal is created dynamically. I create the portal, the page, and a portlet on this page on the fly by clicking a button on an jsf-page on a portlet. Till here all works fine. Now I want just to jump to the newly created portal and jump to the special page. First I tried the sendRedirect- Method, but this method can not be invoked after any of the following methods of the ActionResponse interface has been called: (JP-API) * setPortletMode * setWindowState * setRenderParameter * setRenderParameters I tried the following: response.sendRedirect(url); | or | etx.redirect(createdPageURL.toString() ); Both of this calls are only successfull by first time clicking. Is there another way to jump to the newly creaded portal and his page ? I tried something with response.createRenderURL(portletNode); The portletNode I get with PortalNode currentNode = Navigation.getCurrentNode(); PortalNode rootNode = currentNode.getRoot(); PortalNode jumpToNode = rootNode.getChild(portalname); PortalNode jumpToPage = jumpToNode.getChild(PageName); but I had no luck. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092494#4092494 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - problem in login.seam
Hi, I am newbie to seam and using jboss-4.2.0.GA and jboss-seam-2.0.0.BETA I am trying to build simple application for login-logout when I try url http://localhost:8080/mypage it redirect to http://localhost:8080/mypage/login.seam?conversationId=1 and shows message below login button - Please log in first. but when I try direct url http://localhost:8080/mypage/login.seam it doesn't show above message. I am trying to figure out the problem but unable to get it., as i don't want that message to be shown when i first time link to login page. Is there any help !! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092500#4092500 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092500 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: XMLSchema, WSDL and wsconsume tool
You have to bundle your wsdl to the packaged archive you're deploying. Round trip you described doesn't work. Richard View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092501#4092501 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Call scheduled method from another scheduled method
I'm sorry, i did place an @Asynchronous on a statefull application-scoped @Startup bean. I splitted the bean into a stateless one and an application-scoped bean for holding the state ... For which contexts are @Asynchronous methods allowed ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092502#4092502 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092502 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Upgrade to JBossWS 2 - Failed to find META-INF/jboss-ser
I feel so dump... Thank you very much my friend. I interpreted 5 as jdk 5... I will test it at home and get back if i still have problems but it seems like a very good reason why this didn't work in all installations i tried... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092504#4092504 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092504 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: TransactionManagerLookup in standalone cache
pcarpenter wrote : | (After looking at the JIRA it seems it will no longer be required as of version 2.1) | No, I'm just investigating the feasibility of doing away with the TM for optimistic locking. May not actually do away with it till a bit later. And yes, I do know of people using JBC standalone with JOTM. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092505#4092505 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092505 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message priority lost while distributed over bridge
http://jira.jboss.com/jira/browse/JBMESSAGING-1098 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092506#4092506 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092506 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBP 2.6.1 Richfaces 3.1.1
Hello, a simple question: is Richfaces /ajax4jsf supported by JBP 2.6.1 ? Thanks I View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092507#4092507 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - getting seam wiki ex error SevltEx: Function 'wiki:renderURL
Using a clean build windows XP and suggested JBoss configuration I'm getting this error. Has anyone been able to build and deploy and then use the example wiki as described in the readme? Thx t. here's the details: javax.servlet.ServletException: Function 'wiki:renderURL' not found javax.faces.webapp.FacesServlet.service(FacesServlet.java:256) org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195) org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159) org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141) org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90) org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:395) org.jboss.seam.wiki.core.ui.WikiUrlRewriteFilter.doFilter(WikiUrlRewriteFilter.java:45) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73) org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause javax.el.ELException: Function 'wiki:renderURL' not found org.jboss.el.lang.ExpressionBuilder.visit(ExpressionBuilder.java:176) org.jboss.el.parser.SimpleNode.accept(SimpleNode.java:129) org.jboss.el.lang.ExpressionBuilder.prepare(ExpressionBuilder.java:138) org.jboss.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:152) org.jboss.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:195) org.jboss.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:68) org.jboss.seam.el.SeamExpressionFactory.createValueExpression(SeamExpressionFactory.java:98) com.sun.facelets.tag.TagAttribute.getValueExpression(TagAttribute.java:256) com.sun.facelets.tag.jsf.ValueHolderRule$DynamicValueExpressionMetadata.applyMetadata(ValueHolderRule.java:101) com.sun.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:36) com.sun.facelets.tag.MetaTagHandler.setAttributes(MetaTagHandler.java:62) com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:144) com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248) com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294) com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273) com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:144) com.sun.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:60) com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
[jboss-user] [JBoss Seam] - Re: problem in login.seam
When you try and access the main page (index.seam or whatever) seam detects that you have not logged in yet and throws a NotLoggedInException. It then redirects you to the login page and adds 'Please login first' to the FacesMessages (which are displayed via the s:messages component) . The message is controlled in pages.xml as specified in section 13 of the docs. When you just go the the login page without the NotLoggedInException beging thrown the message is not added. If you really want it you could try one of the following: - Just use a static Message - Add a page action with something like: public void PageAction() { if(FacesMessages.instance().getMessages().isEmpty()) FacesMessages.instance().add(Please Log in first) } Hope this helps. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092509#4092509 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092509 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message priority lost while distributed over bridge
Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092510#4092510 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092510 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Managed ActionHandler
The problem is that foo has not been outjected yet, and by default Seam will not automatically create context variables. This should be solved by specifying create=true on the @In annotation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092511#4092511 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092511 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Entities generated by seam (many 2 many)
Does the user-role table have a primary key? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092512#4092512 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092512 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - using 2.0.0.CR2 of jboss-seam-ui causes java.lang.Unsupporte
im using : jboss 4.2.0GA | jboss-seam 2.0.0.CR2 | | i tried to use the following jsf-versions ... | 1.2_04-p02 ( used by seam 2.0.0.CR2 ) | | 1.2_04-b10-p01 ( bundled with jboss 4.2.0 ) | | any ideas whats wrong ? | using 2.0.0.CR1 causes no error on startup ... | | | | 2007-10-08 11:46:34,419 WARN [javax.enterprise.resource.webcontainer.jsf.application] JSF1004: Cannot instantiate component of type org.jboss.seam.ui.Button | | 2007-10-08 11:46:34,419 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/emonitor]] org.jboss.seam.ui.component.html.HtmlButton | | javax.faces.FacesException: java.lang.UnsupportedOperationException | | at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:521) | | at org.jboss.seam.jsf.SeamApplication.createComponent(SeamApplication.java:91) | | at com.sun.faces.config.ConfigureListener.verifyObjects(ConfigureListener.java:1329) | | at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:415) | | at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69) | | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854) | | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359) | | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) | | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) | | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | | at java.lang.reflect.Method.invoke(Method.java:585) | | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310) | | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | | at java.lang.reflect.Method.invoke(Method.java:585) | | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | | at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) | | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | | at org.jboss.web.WebModule.startModule(WebModule.java:83) | | at org.jboss.web.WebModule.startService(WebModule.java:61) | | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | | at java.lang.reflect.Method.invoke(Method.java:585) | | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | | at $Proxy0.start(Unknown Source) | | at org.jboss.system.ServiceController.start(ServiceController.java:417) | | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | | at java.lang.reflect.Method.invoke(Method.java:585) | | at
[jboss-user] [JBoss Seam] - Additional filter outside Seam-filter messes up encoding
I added a very innocent looking request timing filter outside the Seam Filter like this: | filter | filter-nameTiming Filter/filter-name | filter-classfoo.bar.TimingFilter/filter-class | /filter | | filter | filter-nameSeam Filter/filter-name | filter-classorg.jboss.seam.servlet.SeamFilter/filter-class | /filter | | filter-mapping | filter-nameTiming Filter/filter-name | url-pattern/*/url-pattern | /filter-mapping | | filter-mapping | filter-nameSeam Filter/filter-name | url-pattern/*/url-pattern | /filter-mapping | All of a sudden the UTF-8 encoding on our pages is broken. Scandinavian characters looking like ö instead of ö for instance (double encoded?). This is strange since the filter I am using does nothing with the actual content, it merely times the call like this: | long t0 = System.nanoTime(); | chain.doFilter(req, res); | long dt = System.nanoTime() - t0; | What is going on here? Best Regards, Tobias View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092514#4092514 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: getting seam wiki ex error SevltEx: Function 'wiki:rende
Are you deploying with the 'dev' or the 'prod' profile? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092516#4092516 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - access char in Seam-gen generated view
Hi all, I have a data table which contains char values. When i tried to use Seam-gen to automatically generate a ACID application, the generated edit page can not be rendered. It complaining about the char value, e.g. the generated page contains: h:inputText . value=? ... / the value is supposed to be, for example, T or F, but here it shows ?. So could anyone tell me how to fix this problem? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092515#4092515 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:decorate changed to use DIV instead of SPAN
Just upgraded from Seam 1.3.0.ALPHA to 2.0.0.CR1 and have found out that s:decorate now wraps the template code in a div rather than a span. I have a large number of forms with inline fields (ie. several on the same line) and a template edit_inline. This ruins all of that as the div forces each to a new line. I can't even set the decorate tag to have style=display:inline; as the style is not propagated to the div. Can anyone think of any suggestions to remedy this? Why was this changed? What was wrong with using a span? At least with a span you had the option of forcing a line break after it if you wanted to have one field per line. Thanks, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092517#4092517 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:decorate changed to use DIV instead of SPAN
?! s:decorate doesn't render anything. It decorates a template. You can customize/create that template. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092518#4092518 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Jboss with Jsf h:column doesn't work
Hi. The example I'll post after doesn't work correctly with 4.0.x and 4.2.x as with jsf jboss library as with integrated jsf library. This is my web.xml | servlet-mapping | servlet-nameFaces Servlet/servlet-name | url-pattern/faces/*/url-pattern | /servlet-mapping | context-param | param-name | org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL | /param-name | param-valuefalse/param-value | /context-param | | listener | listener-classcom.sun.faces.config.ConfigureListener/listener-class | /listener | | taglib | taglib-urihttp://java.sun.com/jsf/html/taglib-uri | taglib-location/WEB-INF/html_basic.tld/taglib-location | /taglib | taglib | taglib-urihttp://java.sun.com/jsf/core/taglib-uri | taglib-location/WEB-INF/jsf_core.tld/taglib-location | /taglib | | This is my faces-config.xml | faces-config xmlns=http://java.sun.com/xml/ns/javaee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd; | version=1.2 | | | application | navigation-handlermydomain.web.util.NavigationManager/navigation-handler | /application | | | | navigation-rule | from-view-idtipologicaStandardForm.jsp/from-view-id | navigation-case | from-outcomepaginaDiModifica/from-outcome | to-view-idtipologicaStandardPaginaDiModifica.jsp/to-view-id | /navigation-case | /navigation-rule | | | | managed-bean | managed-bean-nametipologicaStandardForm/managed-bean-name | managed-bean-classmydomain.web.form.TipologicaStandardForm/managed-bean-class | managed-bean-scoperequest/managed-bean-scope | /managed-bean | | /faces-config | Finally, this is my jsp | ?xml version=1.0 encoding=ISO-8859-1 ? | %@ page language=java contentType=text/html; charset=ISO-8859-1 | pageEncoding=ISO-8859-1% | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; | %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % | %@ taglib uri=http://java.sun.com/jsf/html; prefix=h % | %@ taglib uri=http://java.sun.com/jsf/core; prefix=f % | | html xmlns=http://www.w3.org/1999/xhtml; | head | meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 / | titleInsert title here/title | | /head | | | body | | % java.util.List list = new java.util.ArrayList(); | list.add(1); | list.add(2); | request.setAttribute(list,list); | % | | f:view | | h:form | | | h:commandLink action=#{tipologicaStandardForm.paginaDiModifica} value=Outside table/ | | h:dataTable value=#{requestScope.list} var=tipologicaStandard | h:column | h:commandLink action=#{tipologicaStandardForm.paginaDiModifica} | h:outputText value=#{tipologicaStandard}/ | /h:commandLink | /h:column | /h:dataTable | /h:form | /f:view | /body | /html | As you can read, there are two h:commandLink with the same action. If you call this jsp, the result is: Outside table 1 2 the first link, outside h:datatable works properly, goes to server call the paginaDiModifica method and forwards the new jsp. The two h:commandLink inside h:column go to server (I've seen it with debug) but don't call the method. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092519#4092519 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092519 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Got it y'all. Here's a working Struts bridge example (2.
Looks like you are getting a different error now than when you first posted. What does anonymous wrote : then it forwards to login and result pages appropriately | Kindly tell me if anything is missing here mean? Your portlet is being displayed on the page, but you receive an error in the log? What version of Struts are you using? I am using 1.2.9. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092522#4092522 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: getting seam wiki ex error SevltEx: Function 'wiki:rende
The error occurred using the development profile. The ant task: Run the standalone HSQL DB server with 'ant startdb' started OK. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092521#4092521 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092521 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: getting seam wiki ex error SevltEx: Function 'wiki:rende
You need to describe step by step what you are doing. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092524#4092524 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092524 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NotSuchMethod exception
The problem is not caused by Drools as far as I can tell. What I think is happening is you are getting an EntityNotFoundException in cz.bpsolutions.ims.model.Account.getLoginName() You then get a NoSuchMethodException when it is attempting to create the EntityNotFoundException, as it cannot find the contructor (String,Throwable). Do you have two Hibernate jars of different versions on the classpath or anything like that? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092523#4092523 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: How do I remotely access an mbean attribute value?
So if twiddle gets the requestProcessingTime, how do I get it from the Java code snippet that I posted? If my Java code is incorrect, could you suggest a piece of code that could retrieve this? Thanks - Rohit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092525#4092525 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: difference between socket, http and servlet invokers
They probably all have the same reliability. I would think socket transport is the fastest, since it need not go through any secondary layer, like a webapp layer (i.e. servlet) or an HTTP parsing layer (like http). The differences are in other areas. For example: Using http allows you to more easily tunnel through firewalls (since typically, you'll tunnel over port 80 using the http transport and your firewall may already allow for that - no need to punch another hole). Using servlet allows you to go through a webapp layer that, say, Tomcat provides so you can piggyback on an already deployed Tomcat server - which in turn allows the sslservlet transport to reuse the Tomcat security features i.e. you can reuse the SSL connector and Tomcat's SSL certificate setup. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092526#4092526 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:decorate changed to use DIV instead of SPAN
damianharvey wrote : Can anyone think of any suggestions to remedy this? http://jira.jboss.com/jira/browse/JBSEAM-1572 anonymous wrote : Why was this changed? What was wrong with using a span? It's not valid html to nest div's inside spans hence inflexible. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092528#4092528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:decorate changed to use DIV instead of SPAN
Sorry but it does. Look at the pagesource. From UIDecorate.java under Seam 1.3: |@Override |public void encodeBegin(FacesContext context) throws IOException |{ | super.encodeBegin(context); | | Contexts.getEventContext().set(invalid, hasMessage(this, context)); | Contexts.getEventContext().set(required, hasRequired(this, context)); | | context.getResponseWriter().startElement(span, this); | context.getResponseWriter().writeAttribute(id, getClientId(context), id); | And then in DecorateRendererBase (split out from UIDecorate) from Seam 2.0: | |@Override |protected void doEncodeBegin(ResponseWriter writer, FacesContext context, UIComponent component) throws IOException |{ | UIDecorate decorate = (UIDecorate) component; | | Contexts.getEventContext().set(invalid, Decoration.hasMessage(decorate, context)); | Contexts.getEventContext().set(required, Decoration.hasRequired(component, context)); | | boolean hasMessage = decorate.hasMessage(); | | writer.startElement(div, decorate); | writer.writeAttribute(id, decorate.getClientId(context), id); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092527#4092527 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - HTML in PDF
I use the support iText for SEAM to generate documents in pdf. I want to export a formatted text in HTML to a pdf document. Is it possible to do that with iText? thanks... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092532#4092532 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092532 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Client side memory leak?
Hello, I've got EJBs that operates in proxy mode. They just pass thru requests parameters to JBossWS Client implementation and redirect responses back. All WS artifacts, service and endpoints have been generated with wsconsume tool. Soap endpoints are exposed like: public class SoapServicesFactory { | | static private Content contentSoap; // the SOAP client | | static public synchronized ContentSoap getContentSoap() { | if (null == contentSoap) | contentSoap = new Content(); | return contentSoap.getContentSoap(); | } | } The endpoint released right after first remote method invoked, no storing or caching etc being performed. The problem is, ALL artifacts retrieved from WSs as responses will never released by Garbage Collector and sooner or later there Java heap Space criticall error will be. Utilizing profiler I can see that artifacts retained by instances of several classes: - org.jboss.ws.core.soap.ObjectContent - org.jboss.ws.coreEndpointInvocation - java.lang.Object Changing endpoint exposing to: return (new MobileContent()).getMobileContentSoap(); removes the memory leakage but the service works too slowly cos instantiation of Soap Service is too expensive procedure. Can anybody help me with this issue? Looking forward for any response. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092530#4092530 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092530 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Managed ActionHandler
Hello, I outject variable foo in InklessProcessManagerImpl where i create my process as well. Otherwise i could understand why it was not functioning. Best regards, Jo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092531#4092531 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: XMLSchema, WSDL and wsconsume tool
Hi, Richard! Thanks for your help. I've decided to put my complex/simple types within the WSDL file only for experience. Then i've put my WSDL file in a folder called wsdl and put this folder in the WEB-INF dir, but it doesn't work. JBoss still create the WSDL dinamically without my complex/simple types restrictions. Any ideas? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092535#4092535 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092535 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Questions about database connections between portlets
This might be just one of those Any comments as I am still learning this stuff also. A couple things about database connections. 1. JBoss AS and Portal uses Hibernate for there connections and it looks like this technology is making good progress in the development world. Hibernate and other similar technologies (toplink) do the db connections for you. They set these connections into a pool and hand them out to the portlet as needed. Once the request is finished, it is returned to the pool. You should be closing the connection as soon load the data (a few milliseconds). 2. I don't know how customized each users portal will be but you can increase efficiency by caching the data. You should be using enity beans to load the items from the database. It you make the bean global you should able to share it across multiple users. Hope this puts you in the right direction. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092533#4092533 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092533 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Elegant handling of foreign key constraints
Hi, Is there an elegant way of handling a delete that fails due to a foreign key constraint? @Transactional | public String remove() | { | try | { | return super.remove(); | } | catch (EntityExistsException ve) | { | log.warn(Caught entity exists exception); | return removed; | } | } Allows me to catch the EntityExistsException, but I cannot directly catch ConstraintViolationException. (which is still logged as an error by AbstractFlushingEventListener). cheers phil View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092536#4092536 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092536 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem in login.seam
Thank you swd847 !! But i don't want that message to be displayed. and I have tried it as public void PageAction() { if(FacesMessages.instance().getMessages().isEmpty()) FacesMessages.instance().add( ) } but it is not working. and displays same message Please Log in first Is there any other way?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092537#4092537 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Got it y'all. Here's a working Struts bridge example (2.
I use struts 1.2.7, and jboss-portal-2.6.2.GA. No, error is same. At the end of log i get the following error.. failed to create instance TestStrutsPortletInstance of porlet /test.TestStrutsPortlet , because porltet /test.TestStrutsPortlet is not available. besides the above error, i get portlet initialization exception as soon as i deployed... and after some lines i get the following error, anonymous wrote : | 2007-10-08 15:15:53,098 ERROR [STDERR] Caused by: java.lang.ClassCastException: org.apache.portals.bridges.struts.StrutsPortlet | 2007-10-08 15:15:53,098 ERROR [STDERR] at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.start(PortletContainerImpl.java:231) | 2007-10-08 15:15:53,098 ERROR [STDERR] ... 73 more | 2007-10-08 15:15:53,098 DEBUG [org.jboss.portal.core.deployment.jboss.PortletAppDeployment] Looking for the WEB-INF path of /TestStrutsPortlet | | Plese help me , i am getting headache with it..I deployed all the required jar files? | | And i have tried to run struts-demo.war example provided in portalswap.comeven in that , i got class not found exception for JbossServletContextProvider...I dont know why it is so...! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092538#4092538 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092538 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam 2.0
I just realized, that in the newer nightlys it is no longer possible to install runtimes newer than 1.2.1. Maybe this could be fixed first as it is very annoying when trying out 2.0. Or do you want to leave 2.0 generally out until you officially support it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092541#4092541 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092541 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam and custom JAAS problem
Dear all, I have a problem (2 days old and counting...) with Seam and custom JAAS. I have written a custom JAAS login module to handle user login activity. The module is declare in component.xml, security:identity jaas-config-name=jaasLogin / A simple login page is used to obtain username and password as shown in the Seam references in Chapter 13, | div | h:outputLabel for=name value=Username/ | h:inputText id=name value=#{identity.username}/ | /div | div | h:outputLabel for=password value=Password/ | h:inputSecret id=password value=#{identity.password}/ | /div | div | h:commandButton value=Login action=#{identity.login}/ | /div | With the above setup, there is NO problem when the user provide the correct username and password. But the problem is when the user provide a wrong username or password, the login module get invokes twice. The custom login module throw javax.security.auth.login.FailedLoginException when the login has failed. I can understand the #{identity.login} action fire the login module the first time, but have no idea what causes the login module to fire the second time immediately after the first execution and before JSF render response phase? In addition, when I hit refresh at the login page after a failed login attempt, the login module get call each time the refresh button is hit. Is this behavior somehow related to the conversation context with respect to the login page and/or the Identity seam component? Does anyone have any idea and insight as what is happening behind the scene? Many thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092542#4092542 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092542 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Seam + Facelets + Jboss Portal
Some of you questions are answered here: http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamPortlet View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092544#4092544 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092544 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:decorate changed to use DIV instead of SPAN
[EMAIL PROTECTED] wrote : http://jira.jboss.com/jira/browse/JBSEAM-1572 I'm not sure what the solution proposed there involves? Is it to move the field value out of the decorate and use the for attribute? Or to use ui:decorate? anonymous wrote : It's not valid html to nest div's inside spans hence inflexible. I think it's a moot point about being inflexible as the current situation is obviously inflexible as well. IMHO I think that span is more flexible. If someone is worried about valid HTML then they shouldn't use a div in their template. At least this way they can style the span in their template to resemble a div (ie. display=block, etc). I can't do anything to style this div to look like a span. Thanks, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092545#4092545 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:decorate changed to use DIV instead of SPAN
There is no solution unless the FR described (by me) in that issue gets implemented. You could file a issue asking for the ability to style the s:decorate's div. anonymous wrote : At least this way they can style the span in their template to resemble a div (ie. display=block, etc) No, because it's not valid to nest block level components in inline components. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092547#4092547 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092547 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: WTP2.0.1, JBossAS-Tools-1.0.0.beta4 not publishing corre
Hi Max thanks for the reply. Okay this is what I can tell you about things: I have an EAR Project called EAREclipseManager, this has 2 artifacts added to it. These are 1 x J2EE Utility project called TheLibrary and 1 x EJB Project called TheEJB. If I do a project properties on the EAR Project under J2EE Dependancies I has a tick for both of the other two projects set. The EAR Project has the Project Facet EAR set to 5.0, Project References also has a tick for both of the other two projects set, Seam Support is disabled (no tick in box), Targetted Runtime is : JBoss AS 4.2. Is is the encapsulating EAR project I am trying to publish. I don't think I need to do anything special with the project settings of the 2 contributing projects do I ? The deployment appears to be attempted in: /opt/jboss-4.2.1.GA/server/default/deploy/EAREclipseManager.ear/ | /opt/jboss-4.2.1.GA/server/default/deploy/EAREclipseManager.ear/TheLibrary.jar | /opt/jboss-4.2.1.GA/server/default/deploy/EAREclipseManager.ear/META-INF/ | /opt/jboss-4.2.1.GA/server/default/deploy/EAREclipseManager.ear/TheEJB.jar/ | /opt/jboss-4.2.1.GA/server/default/deploy/EAREclipseManager.ear/TheEJB.jar/META-INF/ | /opt/jboss-4.2.1.GA/server/default/deploy/EAREclipseManager.ear/TheEJB.jar/my/ | /opt/jboss-4.2.1.GA/server/default/deploy/EAREclipseManager.ear/TheEJB.jar/my/foobar/ | /opt/jboss-4.2.1.GA/server/default/deploy/EAREclipseManager.ear/TheEJB.jar/my/foobar/eclipse/ | /opt/jboss-4.2.1.GA/server/default/deploy/EAREclipseManager.ear/TheEJB.jar/my/foobar/eclipse/ejb/ | /opt/jboss-4.2.1.GA/server/default/deploy/EAREclipseManager.ear/TheEJB.jar/my/foobar/eclipse/ejb/manager/ | /opt/jboss-4.2.1.GA/server/default/deploy/EAREclipseManager.ear/TheEJB.jar/my/foobar/eclipse/ejb/manager/test/ | Hmm... when I run a clean function from the server tooling with the WTP provider driver I get an error: [jar] Building jar: $HOME/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/EAREclipseManager.ear | [move] Moving 1 file to /opt/jboss-4.2.1.GA/server/default/deploy | | BUILD FAILED | /opt/eclipse/plugins/org.eclipse.jst.server.generic.jboss_1.5.105.v200709061325/buildfiles/jboss323.xml:33: Failed to copy $HOME/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/EAREclipseManager.ear to /opt/jboss-4.2.1.GA/server/default/deploy/EAREclipseManager.ear due to /opt/jboss-4.2.1.GA/server/default/deploy/EAREclipseManager.ear (Is a directory) Is it possible to confirm 2 things: * Which method of deployment does JBossTool-AS use, does it create an exploded EAR ? When it created that exploded EAR does it create a directory with a .ear extension in the deploy directory ? Does an exploded EAR need to have a .ear extension so its treated correctly by the correct deployer ? * Does it matter that my workspace and my JBoss runtime location are on different file system (different drives), since its not possible to rename files between my workspace and the JBoss runtime location. The IDE must perform a file copy. * When the files are copied are they copied atomically, i.e. each file is copied into tmp/filename.tmp first, then its last modified time is fixed to whatever it needs to be, then its renamed (i.e. moved) to the deploy/whatever/filename.foo. There are other such things which should take place when updating a working runtime but maybe more on that once I have the basic thing ticking along. Okay I have manually cleaned the JBoss deploy directory of my project and let the WTP JBoss driver do its stuff and it create an .ear file in the correct directory and when JBoss starts it finds both application.xml and my TheEJB.jar implementation. I cleaned things again and tried with the JBossTool-AS driver and it created a directory with .ear extension, the tree is just like I put in the CODE block above, with AREclipseManager.ear/TheLibrary.jar being the only file and the application.xml and the .class files are all missing. So the problem for me appears to be with the JBossTool-AS driver (which is my preferred choice). Would there be any call to allow JBoss to take a command line property to configure a 2nd and alternative deployment directory ? The purpose of this would be to allow for a Tomcat like situation where the workspace area could be used for the deployment, when you just alter the driver to contribute the property to the launch configuration when it sets things up. Okay it would not be 100% compatible with tomcat since the work, tmp, log, etc.. directories would also need to be picked up based on the alternative path too. Just a thought, since it would seem difficult for clean to mean clean if the deploy directory was not empty to start with. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092549#4092549 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092549
[jboss-user] [JBoss Seam] - Re: 2.0.0.CR2 Seam-gen Error
I had the same problem. Something changed in hibernate-tools.jar $ jar tvf ./seam-gen/lib/hibernate-tools.jar | grep ostgr | $ jar tvf ../seam.old/seam-gen/lib/hibernate-tools.jar | grep ostgr |678 Thu Nov 09 12:47:22 PST 2006 org/hibernate/cfg/reveng/dialect/PostgressMetaDataDialect.class | In | ../seam/examples/wiki/lib/hibernate-tools.jar |678 Thu Nov 09 12:47:22 PST 2006 org/hibernate/cfg/reveng/dialect/PostgressMetaDataDialect.class | PostgressMetaDataDialect is included but I get errors when running seam-gen after overriting :seam-gen/lib/hibernate-tools.jar with examples/wiki/lib/hibernate-tools.jar: | $ bash seam generate-entities | ... | [hibernate] Oct 8, 2007 5:33:10 AM org.hibernate.connection.DriverManagerConnectionProvider close | [hibernate] INFO: cleaning up connection pool: jdbc:postgresql:cpdb | [hibernate] An exception occurred while running exporter #2:hbm2java (Generates a set of .java files) | [hibernate] To get the full stack trace run ant with -verbose | [hibernate] java.lang.NullPointerException | | BUILD FAILED The stack trace was | java.lang.NullPointerException | at org.hibernate.cfg.reveng.dialect.PostgressMetaDataDialect.needQuote(PostgressMetaDataDialect.java:7) | at org.hibernate.cfg.reveng.dialect.AbstractMetaDataDialect.caseForSearch(AbstractMetaDataDialect.java:151) | at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getTables(JDBCMetaDataDialect.java:22) | at org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:453) | at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:74) | Could anyone comment further on what happened in hibername-tools.org and how to fix this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092548#4092548 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092548 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user