[jboss-user] [JBoss Cache: Core Edition] - Re: Can we configure JBoss Cache to run on separate JVM.
aqwsde wrote : Hi, | | Our application is using JBoss AS 4.0.3 SP1 and JBoss Cache 1.4.1.SP3. The application keeps a lot of stuff in cache. Once the application runs for a long time the total Heap memory is consumed and we get OutOfMemory exception. | This can happen because of 2 reasons | 1. Application has a memory leak. | 2. Cache size increases beyond the heap size. | Inorder to have a temporary solution we thought of running the JBoss Cache in a different JVM. | | Can we run the JBoss cache in a different JVM so that we can give more heap size to the application. | | Thanks in advance. Hi, I need to use Jboss Cache in our application, But i don't know anything about Jboss Cache... can u tell me requirements and configuration for this? and i am using jboss application server 3.2.3.. and apache-ant-1.7.1, jdk1.6.0_06, jbosscache 2.2.0 can u tell me how to configure and use jboss cache? Thanks Regards Thilkumar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178180#4178180 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBossTools-Core disappeared from nightly builds
The nightly build 20080924 is not usable. See https://jira.jboss.org/jira/browse/JBIDE-2798 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178181#4178181 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Creating entity bean from scratch
See these http://docs.jboss.org/ejb3/app-server/tutorial/index.html http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/entityconfig.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178182#4178182 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Inspecting the CMT configuration
I would like to see what CMT semantics are in effect for some EJBs running in JBoss 3.2.5. Is it possible to view this information for a running JBoss instance, for example via the JMX console? Basically I want to check the outcome of the container-transaction elements (or lack thereof) in my ejb-jar.xml file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178183#4178183 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178183 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - how to configure and use jboss cache?
Hi, I need to use Jboss Cache in our application, But i don't know anything about Jboss Cache... can u tell me requirements and configuration for this? and i am using jboss application server 3.2.3.. and apache-ant-1.7.1, jdk1.6.0_06, jbosscache 2.2.0 can u tell me how to configure and use jboss cache? Thanks Regards Thilkumar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178184#4178184 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - read-only cmp bean
Hi I'm trying to figure out how to implement read-only CMP 2.0 bean in JBoss 4.x My current attempt to define it like this doesn't work: | /** | * ... | * @jboss.read-only true | */ | public abstract class MyBean implements EntityBean { | // | /** | * @ejb.pk-field | * @ejb.persistence | * @ejb.interface-method view-type=local | * @jboss.column-name foo | */ | public abstract Long getFoo(); | | public abstract void setFoo(Long newValue); | //... | | /** | * @ejb:create-method | * @ejb:transaction type=Required | */ | public MyPK ejbCreate(Long foo) | throws CreateException { | setFoo(foo); //throws exception | | return null; | } | //... | } | This essentially results in this code in jbosscmp-jdbc.xml: | entity | ejb-nameMy/ejb-name | read-onlytrue/read-only | table-namexxx/table-name | | cmp-field | field-namefoo/field-name | column-namefoo/column-name | /cmp-field | etc | However, an attempt to create such beans leads to exception in JBoss 4.x: | Caused by: javax.ejb.EJBException: Field is read-only: fieldName=foo | at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.setValue(JDBCAbstractCMPFieldBridge.java:232) | at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler$FieldSetInvoker.invoke(EntityBridgeInvocationHandler.java:170) | at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:105) | at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:76) | at xxx.MyCMP$Proxy.setFoo(generated) | at xxx.MyBean.ejbCreate(MyBean.java:114) | How am I supposed to create instances without calling set* methods from ejbCreate? May be I'm wrong, but this piece in JDBCAbstractCMPFieldBridge.java looks suspicious: |public void setValue(EntityEnterpriseContext ctx, Object value) |{ | if(isReadOnly()) | { | throw new EJBException(Field is read-only: fieldName= + fieldName); | } | if(primaryKeyMember JDBCEntityBridge.isEjbCreateDone(ctx)) | { | throw new IllegalStateException(A CMP field that is a member + | of the primary key can only be set in ejbCreate + | [EJB 2.0 Spec. 10.3.5].); | } | I'd expect it to be something along if(isReadOnly() !JDBCEntityBridge.isEjbCreateDone(ctx)). This souldn't mark an instance as dirty one of course. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178185#4178185 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JsessionId not returned by Tomcat for Swing client
The guess is that the swing application sends a JSESSIONID cookie in te request or that http client your are using is doesn't do HTTP 1.1. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178187#4178187 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178187 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: read-only cmp bean
I meant if(isReadOnly() JDBCEntityBridge.isEjbCreateDone(ctx)) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178188#4178188 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Multiple Datasources
Hii everyone I am having multiple datasources creating at runtime. so for each user there is a seperate database schema. so when they are registering the database is created and from that time onwards they have to acces their own database. I had configured in ds.xml, persistance.xml and components.xml but dynamiclly how can i achieve this. Can i change the connection string. or can i create a new EntityManager or EntityManagerFactory with new connection settings. please advice me Cheers. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178189#4178189 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS HA/Clustering without shared DB
Nobody? Is this an uncommon request, or did I miss something when searching for a HA solution without without a clustered DB? Greetings, Martin P.S.: Even a negative response like there is not possibility and this is not planned would be appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178190#4178190 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178190 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: deployment of ejb3 in jboss-5.0.0 CR2
I haven't given a try with deploying independent jar files. I have always used a EAR inside which i have the jar(s). Let me see if there is some issue with individual jar files. By the way, this looks a bit strange to me: anonymous wrote : 19:15:40,616 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=newCmp3.jar,jar=newCmp3.jar,name=CourierSessBean,service=EJB3) to KernelDeployment of: newCmp3.jar I don't know if the ear=newCmp3.jar in the objectname is expected when you are deploying just the jar file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178191#4178191 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178191 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: addNewSubtree method is not thread safe
Hi, Im using ver. 2.0.0.GA and didn't manage to reproduce it using a simple unit test, sorry. from my tests it seems that in JDBCCacheLoader class: private Map _put(Fqn name, Map attributes) allows two different FQN nodes to be inserted at the same time, but the problem is when both nodes trying to create the new subtree using addNewSubtree(name, attributes); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178192#4178192 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JsessionId not returned by Tomcat for Swing client
Actually, i have tried using the applicaton with WebSphere App server and it works. But while using WebSphere App server, i have used the struts framework. I have extended the ActionServlet provide by struts the request is processed by this servlet. So it required that my servlet extend the default servlet provided by Tomcat. Regards, Umesh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178193#4178193 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178193 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: TX Service not configured
add the line given above in jbpm-context then it will solve the problum View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178196#4178196 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: TX Service not configured
add the line given below in jbpm-context then it will solve the problem service name=tx factory=org.jbpm.tx.TxServiceFactory / View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178198#4178198 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - About the bug of accessing jboss portal2.7 via IE
Hello : I start jboss portal2.7 in the WindowXP ENV . When I access the Portal Server from my localhost with http://localhost:8080/portal; , I get a error . Following is description :(Thanks for your help .) 08:55:28,359 INFO [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.sourceId=null[severity=(INFO 0), summary=(User created), detail=(User created)] 09:07:00,671 ERROR [NewsPortlet] Fatal Error reading/parsing XML Source. java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:519) at sun.net.NetworkClient.doConnect(NetworkClient.java:152) at sun.net.www.http.HttpClient.openServer(HttpClient.java:388) at sun.net.www.http.HttpClient.openServer(HttpClient.java:500) at sun.net.www.http.HttpClient.(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:318) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:733) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658) at org.jboss.portal.common.net.URLTools.getContentAsInputStream(URLTools.java:149) at org.jboss.portal.core.samples.news.NewsPortlet.doView(NewsPortlet.java:131) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328) at javax.portlet.GenericPortlet.render(GenericPortlet.java:233) at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:568) at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159) at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80) at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:505) at org.jboss.portal.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42) at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178204#4178204 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178204 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Dynamic Node query
Hi, I have never worked with jBPM (or for that matter any WF tool) but I am currently evaluating jBPM (and Alfresco) for a solution for a client. One of the specific requirement that we have is of dynamic workflows. What I mean by dynamic WFs is that the initiator may decide the users who will approve a document before sumbitting the same to the final authority. Something like: Initiator - Dynamic Node - Final Node - end I also had a look at Documentum WF capabilities and it can fill in any number of sequential user in the Dynamic Node at the time of instantiating the WF. Is such a WF template possible in jBPM or is this something which is not really a standard WF requirement? Any thoughts in this regard will be of great help. thanks, Raj View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178205#4178205 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: About the bug of accessing jboss portal2.7 via IE
And I access the URL via Google chorme or Firefox, Everything is ok . But I access the URL via IE , I have get Up the error and the UI is empty .[/img] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178207#4178207 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss
It appears that for any EJB3 annotated classes found on the ear's classpath the Ejb3Deployer gets booted. Most likely the OptAnnotationDeployer creates EJB meta data for the ear. If possible try to contain the EJB3 classes to an ejb module and make sure it's not in any library directory of the ear. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178209#4178209 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178209 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM and informix
is your config publically available somewhere? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178210#4178210 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178210 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM and informix
abendt wrote : is your config publically available somewhere? | | thanks Sorry, no. I just had to modified some data type in the DDL file to be compatible with informix. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178211#4178211 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178211 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: deployment of ejb3 in jboss-5.0.0 CR2
anonymous wrote : property name=dialect | | org.hibernate.dialect.Oracle9Dialect | | /property | | This is incorrect. This should be: property name=dialect value=org.hibernate.dialect.Oracle9Dialect | | /property View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178216#4178216 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dynamic Node query
yes, is possible. 'Dynamic assignment' can be done with assignmenthandlers, and 'dynamic number of tasks' can be done with a custom fork handler (see the wiki). You can combine them if you like. So things like 2 out of 3 different people have to approve a certain thing can be implemented View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178217#4178217 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: PortletInstance in different pages
Thanks for your answer, but if i do this, i have different SessionBeans for each page, although instance-ref directs to the same instance like i mentioned above: anonymous wrote : If i insert the window-tag into each subpage, it seems to me, that each subpage has its own instance of MyMenuePortlet (using Richfaces each MyMenuePortlet will get its own SessionBean)? Is there another possibility to do this? Or is it just an error at RichFaces? I am confused, because of naming instance. Is each page really using the same instance (some kind of SingletonPattern), or is each page getting another instance ? Thanks in advance, DanielK View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178218#4178218 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178218 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM and informix
would it be possible to post your config here? if not: did you change more columns than the ones you've mentioned? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178219#4178219 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Re: SpyJMSException: No pong received
http://wiki.jboss.org/wiki/IGetIOExceptionPingTimeoutHowDoIFixIt is helpful, thank you... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178222#4178222 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178222 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: creating our own login page
j_security_check is working for me, but with one exception. If a user input wrong credentials, he will be redirected to JBoss Portal login page. What can i do to an error message on my own site? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178220#4178220 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Using older (1.x) version of xerces on JBoss 4.2.2GA
I've searched the forum for any solutions of this problem but i've found none. Our web apllication requires a jar which needs an old (1.x) version of xerces, while JBoss 4.2.2 is using the 2.x version. On JBoss 4.0 I solved this problem but on 4.2.2 with Seam it doesn't work. Creating a loader-repository with java2ParentDelegation=false overrides xercesImpl.jar form lib/endorsed directory with xerces.jar, so our application could work well. The problem is that now there are problems with parsing jboss own configuration and deployment so the application doesn't even start. Is there any solution that jboss would change xerces's major version after launching and deploying application? Any ideas are welcome! Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178226#4178226 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: deployment of ejb3 in jboss-5.0.0 CR2
Actually, i was surprised that this persistence.xml did not fail schema validation, because the value is a required attribute as per the xsd http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd. Looks like the xml validation is not triggered unless you add the following to your persistence.xml: persistence | xmlns=http://java.sun.com/xml/ns/persistence; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; | version=1.0 So your persistence.xml should ultimately look like: | ?xml version=1.0 encoding=UTF-8? | | persistence | xmlns=http://java.sun.com/xml/ns/persistence; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; | version=1.0 | | persistence-unit name=mydb | | jta-data-sourcejava:/XAOracleDS/jta-data-source | | properties | | | property name=dialect value=org.hibernate.dialect.Oracle9Dialect/ | | /properties | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178227#4178227 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: configuring servlet to listen on different TCP port
You could do so: | Valve className=org.apache.catalina.valves.RemoteHostValve | allow=*.mycompany.com,www.yourcompany.com/ | Valve className=org.apache.catalina.valves.RemoteAddrValve | deny=192.168.1.*/ | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178234#4178234 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM and informix
Here is the xml file : ?xml version=1.0 encoding=UTF-8? !-- Postgresql persistence deployment descriptor. Tested with PostgresSQL 8.2.3 $Id$ -- !-- Persistence Manager MBean configuration -- mbean code=org.jboss.messaging.core.jmx.JDBCPersistenceManagerService name=jboss.messaging:service=PersistenceManager xmbean-dd=xmdesc/JDBCPersistenceManager-xmbean.xml jboss.jca:service=DataSourceBinding,name=InformixDS depends optional-attribute-name=TransactionManagerjboss:service=TransactionManager !-- The datasource to use for the persistence manager -- java:/InformixDS !-- If true will attempt to create tables and indexes on every start-up -- true !-- If true then will use JDBC batch updates -- true ![CDATA[ CREATE_DUAL=CREATE TABLE JBM_DUAL (DUMMY INTEGER, PRIMARY KEY (DUMMY)) LOCK MODE ROW CREATE_MESSAGE_REFERENCE=CREATE TABLE JBM_MSG_REF (MESSAGE_ID INT8, CHANNEL_ID INT8, TRANSACTION_ID INT8, STATE CHAR(1), ORD INT8, PAGE_ORD INT8, DELIVERY_COUNT INTEGER, SCHED_DELIVERY INT8, PRIMARY KEY(MESSAGE_ID, CHANNEL_ID)) LOCK MODE ROW CREATE_IDX_MESSAGE_REF_TX=CREATE INDEX JBM_MSG_REF_TX ON JBM_MSG_REF (TRANSACTION_ID, STATE) CREATE_IDX_MESSAGE_REF_ORD=CREATE INDEX JBM_MSG_REF_ORD ON JBM_MSG_REF (ORD) CREATE_IDX_MESSAGE_REF_PAGE_ORD=CREATE INDEX JBM_MSG_REF_PAGE_ORD ON JBM_MSG_REF (PAGE_ORD) CREATE_IDX_MESSAGE_REF_MESSAGE_ID=CREATE INDEX JBM_MSG_REF_MESSAGE_ID ON JBM_MSG_REF (MESSAGE_ID) CREATE_IDX_MESSAGE_REF_SCHED_DELIVERY=CREATE INDEX JBM_MSG_REF_SCHED_DELIVERY ON JBM_MSG_REF (SCHED_DELIVERY) CREATE_MESSAGE=CREATE TABLE JBM_MSG (MESSAGE_ID INT8, RELIABLE CHAR(1), EXPIRATION INT8, TIMESTAMP INT8, PRIORITY SMALLINT, TYPE SMALLINT, HEADERS BYTE, PAYLOAD BYTE, PRIMARY KEY (MESSAGE_ID)) LOCK MODE ROW CREATE_TRANSACTION=CREATE TABLE JBM_TX (NODE_ID INTEGER, TRANSACTION_ID INT8, BRANCH_QUAL BYTE, FORMAT_ID INTEGER, GLOBAL_TXID BYTE, PRIMARY KEY (TRANSACTION_ID)) LOCK MODE ROW CREATE_COUNTER=CREATE TABLE JBM_COUNTER (NAME VARCHAR(255), NEXT_ID INT8, PRIMARY KEY(NAME)) LOCK MODE ROW INSERT_DUAL=INSERT INTO JBM_DUAL VALUES (1) CHECK_DUAL=SELECT 1 FROM JBM_DUAL INSERT_MESSAGE_REF=INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (?, ?, ?, ?, ?, ?, ?, ?) DELETE_MESSAGE_REF=DELETE FROM JBM_MSG_REF WHERE MESSAGE_ID=? AND CHANNEL_ID=? AND STATE='C' UPDATE_MESSAGE_REF=UPDATE JBM_MSG_REF SET TRANSACTION_ID=?, STATE='-' WHERE MESSAGE_ID=? AND CHANNEL_ID=? AND STATE='C' UPDATE_PAGE_ORDER=UPDATE JBM_MSG_REF SET PAGE_ORD = ? WHERE MESSAGE_ID=? AND CHANNEL_ID=? COMMIT_MESSAGE_REF1=UPDATE JBM_MSG_REF SET STATE='C', TRANSACTION_ID = NULL WHERE TRANSACTION_ID=? AND STATE='+' COMMIT_MESSAGE_REF2=DELETE FROM JBM_MSG_REF WHERE TRANSACTION_ID=? AND STATE='-' ROLLBACK_MESSAGE_REF1=DELETE FROM JBM_MSG_REF WHERE TRANSACTION_ID=? AND STATE='+' ROLLBACK_MESSAGE_REF2=UPDATE JBM_MSG_REF SET STATE='C', TRANSACTION_ID = NULL WHERE TRANSACTION_ID=? AND STATE='-' LOAD_PAGED_REFS=SELECT MESSAGE_ID, DELIVERY_COUNT, PAGE_ORD, SCHED_DELIVERY FROM JBM_MSG_REF WHERE CHANNEL_ID = ? AND PAGE_ORD BETWEEN ? AND ? ORDER BY PAGE_ORD LOAD_UNPAGED_REFS=SELECT MESSAGE_ID, DELIVERY_COUNT, SCHED_DELIVERY FROM JBM_MSG_REF WHERE STATE = 'C' AND CHANNEL_ID = ? AND PAGE_ORD IS NULL ORDER BY ORD LOAD_REFS=SELECT MESSAGE_ID, DELIVERY_COUNT, SCHED_DELIVERY FROM JBM_MSG_REF WHERE STATE = 'C' AND CHANNEL_ID = ? ORDER BY ORD UPDATE_REFS_NOT_PAGED=UPDATE JBM_MSG_REF SET PAGE_ORD = NULL WHERE PAGE_ORD BETWEEN ? AND ? AND CHANNEL_ID=? SELECT_MIN_MAX_PAGE_ORD=SELECT MIN(PAGE_ORD), MAX(PAGE_ORD) FROM JBM_MSG_REF WHERE CHANNEL_ID = ? SELECT_EXISTS_REF_MESSAGE_ID=SELECT MESSAGE_ID FROM JBM_MSG_REF WHERE MESSAGE_ID = ? UPDATE_DELIVERY_COUNT=UPDATE JBM_MSG_REF SET DELIVERY_COUNT = ? WHERE MESSAGE_ID = ? AND CHANNEL_ID = ? UPDATE_CHANNEL_ID=UPDATE JBM_MSG_REF SET CHANNEL_ID = ? WHERE CHANNEL_ID = ? MOVE_REFERENCE=UPDATE JBM_MSG_REF SET CHANNEL_ID = ? WHERE MESSAGE_ID = ? AND CHANNEL_ID = ? LOAD_MESSAGES=SELECT MESSAGE_ID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, HEADERS, PAYLOAD, TYPE FROM JBM_MSG INSERT_MESSAGE=INSERT INTO JBM_MSG (MESSAGE_ID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, TYPE, HEADERS, PAYLOAD) VALUES (?, ?, ?, ?, ?, ?, ?, ?) INSERT_MESSAGE_CONDITIONAL=INSERT INTO JBM_MSG (MESSAGE_ID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, TYPE) SELECT ?, ?, ?, ?, ?, ? FROM JBM_DUAL WHERE NOT EXISTS (SELECT MESSAGE_ID FROM JBM_MSG WHERE MESSAGE_ID = ?) UPDATE_MESSAGE_4CONDITIONAL=UPDATE JBM_MSG SET HEADERS=?, PAYLOAD=? WHERE MESSAGE_ID=? INSERT_MESSAGE_CONDITIONAL_FULL=INSERT INTO JBM_MSG (MESSAGE_ID, RELIABLE, EXPIRATION,
[jboss-user] [JBoss jBPM] - Re: problems using jbpm 3.1 with jboss 4.0.0
Hi All, I am getting the same problem with HttpClient 3.1 and fileupload 1.0. I have also tried fileupload 1.2.1. But I am getting the same message as the request was rejected because no multipart boundary was found Servlet is running on Tomcat 4.1 and I have Standalone java application as client. I am writing some code for understanding At client side [HttpClient 3.1] === final String CONTENT_TYPE = Content-type; | final String MULTI_PART_FORM = multipart/form-data; | | File file = new File( c:\\sample.txt); | HttpClient httpClient = new HttpClient(); | PostMethod postMethod = new PostMethod( url ); | postMethod.setRequestHeader( CONTENT_TYPE, MULTI_PART_FORM ); | Part[] parts = { new FilePart( file.getName(), file ) }; | postMethod.setRequestEntity( new MultipartRequestEntity( parts, | postMethod.getParams() ) ); | | HttpClientParams params = new HttpClientParams(); | httpClient.getHttpConnectionManager().getParams().setConnectionTimeout( 1 ); | httpClient.setParams( params ); | httpClient.executeMethod( postMethod ); === At Server Side[Tomcat + fileupload 1.0] === File file = new File( D:\\UploadedFiles\\sample.txt ); | DiskFileUpload diskFileUpload = new DiskFileUpload(); | List fileItems = diskFileUpload.parseRequest( request ); | diskFileUpload.setSizeMax( -1 ); // No limit on upload. | Iterator iterator = fileItems.iterator(); | while( iterator.hasNext() ) { | FileItem fileItem = ( FileItem )iterator.next(); | if( ! fileItem.isFormField() ) { | fileItem.write( file ); | } | } === At Server Side[Tomcat + fileupload 1.2.1] === File file = new File( D:\\UploadedFiles\\sample.txt ); | DiskFileItemFactory factory = new DiskFileItemFactory(); | ServletFileUpload servletFileUpload = new ServletFileUpload( factory ); | List fileItems = servletFileUpload.parseRequest( request ); | servletFileUpload.setSizeMax( -1 ); // No limit on upload. | Iterator iterator = fileItems.iterator(); | while( iterator.hasNext() ) { | FileItem fileItem = ( FileItem )iterator.next(); | if( ! fileItem.isFormField() ) { | fileItem.write( file ); | } | } === If I dont use fileupload api and uses inputstrem of request to save file to disk then I get xml file that has additional text. Both code and file contents are shown below. Code without fileupload API === File file = new File( D:\\UploadedFiles\\sample.txt ); | InputStream inputStream = request.getInputStream(); | BufferedInputStream bufferedInputStream = new BufferedInputStream( inputStream ); | byte abyte0[] = new byte[ 4096 ]; | int i; | FileOutputStream fileOutputStream = new FileOutputStream( file ); | | while ( ( i = bufferedInputStream.read( abyte0, 0, 4096 ) ) != -1 ) { | fileOutputStream.write( abyte0, 0, i ); | } | | bufferedInputStream.close(); | fileOutputStream.close(); === Original file === 0001 | BINARY | FALSE | 0002 | BINARY | FALSE === File after upload === --modMHyNHWzdAQArk5xE5VmXXJAs-dx_A9Au | Content-Disposition: form-data; name=file.xml; filename=file.xml | Content-Type: application/octet-stream; charset=ISO-8859-1 | Content-Transfer-Encoding: binary | | 0001 | BINARY | FALSE | 0002 | BINARY | FALSE | | --modMHyNHWzdAQArk5xE5VmXXJAs-dx_A9Au-- === any idea why this happening? Thanks in Advance! Regards, Rishikesh Dagwal, Senior Software Engineer, Geometric Limited, Pune[India] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178239#4178239 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Using older (1.x) version of xerces on JBoss 4.2.2GA
You can put the xerces.jar in WEB-INF/lib of your web-application View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178240#4178240 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178240 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Using older (1.x) version of xerces on JBoss 4.2.2GA
erasmomarciano wrote : | You can put the xerces.jar in WEB-INF/lib of your web-application | | It was the first thing I tried but it doesn't work and jboss uses his own Xerces 2.x from endorsed directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178245#4178245 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Jbpm webapp as a portlet
Dear all I am a newer to jpbm and portal. I want to creat a jpbm process with task approve/reject,etc,and deplay this as a portlet , so that when a user log into portal , he can see his tasklist on the portlet. how to do this? can anyone give some advice? I know that the task assignment relate with the jbpm table in jbpm database, but i checked there are also tables in the portal database with jbpm_xxx, like jbpm_id_user,jbpm_id_group,jbpm_id_membership, etc. though i can cofign my jbpm webapp using the portal database, but when a user login portal , it 's just a user of jbp_users table, how can he get his tasklist? Apology for my poor English. hope you understand what i mean Thanks in advance! Ming Lee View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178248#4178248 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: problem with MBeans webservices and ejb3.0
Check for any circular dependencies. JBoss doesn't like them but doesn't actually tell you so. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178250#4178250 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178250 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: how to configure and use jboss cache?
All the info you need is in the user guide. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178253#4178253 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Need suggestion about how to proceed.
Hi Peter, I made it work. Now all static contents are processed by Apache 2.2.9 with the help of mod-jk.properties. So now all working fine... I have kept JAVA_OPTS as it is!! Appserver loads the jar file provided inside MS.war file and all the static contents are provided by apache. Thanks, Ramakant View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178257#4178257 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dynamic Node query
Thanks for the reply. Can you please point me to the wiki (or any other documentation) where custom fork handler is explained? I would now like to create a process definition to try these things out before deciding on jBPM. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178260#4178260 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm webapp as a portlet
You should write you own portlet webapp or try to run jbpm-console as a portlet via some existing jsf portlet bridge. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178262#4178262 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problems using jbpm 3.1 with jboss 4.0.0
what does this have to do with jBPM? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178263#4178263 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dynamic Node query
google is your friend. http://www.google.nl/search?q=wiki+custom+forkhandler+jbpmie=utf-8oe=utf-8aq=t View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178264#4178264 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm webapp as a portlet
Thanks vtysh my problem is how to get his tasklist just after a portal user login. other than once login portal and login the jbpm webapp again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178265#4178265 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS HA/Clustering without shared DB
testrot wrote : Nobody? | Is this an uncommon request, or did I miss something when searching for a HA solution without without a clustered DB? | | Greetings, | Martin | | P.S.: Even a negative response like there is not possibility and this is not planned would be appreciated. A polite word of advice. Don't be too pushy in demanding free advice in a forum in which you're new. It's only likely to get people's backs up and make it more unlikely they'll actually want to give you the advice you want. Remember, we offer advice in this forum on a best effort basis. There are no guarantees how, when or if your post will get answered. If you want a guaranteed response within a set time, buy a support contract. Most forum answering is done by team members in their own time, at their own expense, so be nice when asking a stranger directions. Now, you're lucky I'm a nice person. Many others here would have flamed you immediately. The question you asked has been discussed many times on this forum, and in JIRA tasks, and in the user guides. Since you are clearly such a busy person, and have not time for your own searching here's the short answer: JBM 1.x uses a shared database for persistence. If that database itself is not clustered, yes it's a single point of failure. That's why we recommend running JBM 1.4 against a clustered database such as Mysql Cluster or Oracle RAC. JBM 2.0 does not use a database for persistence. it uses a high performance journal and supports shared nothing replication to eliminate any SPOF. Hope that answers your question. :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178266#4178266 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: addNewSubtree method is not thread safe
Ok, please see my comments on JIRA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178268#4178268 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS Message size [Moved from design forum]
Hi , Is there any way to get the size of the receiving message. Regards, NagRaj View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178269#4178269 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Receiving message size .
Hi , Is there any way to get the size of the receiving message.I am jboss wiht jms. i want to know the size of the receiving message Regards, NagRaj View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178270#4178270 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JSF Session beans shared between two different user sessions
Hi, I am using JSF 1.1 with Jboss Portal. Sometimes the JSF managed beans in session scope are shared between two different users. Please provide me some inputs on this issue. Regards, Raja View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178271#4178271 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - speed up GetProcessInstancesCommand
GetProcessInstancesCommand takes one minute on my server. it gets a list of 1000 processinstances... is there a way to speed this up? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178273#4178273 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: configuring servlet to listen on different TCP port
Can you please elaborate. I did not get you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178277#4178277 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: configuring servlet to listen on different TCP port
have a look http://wiki.jboss.org/wiki/LimitAccessToCertainClients?action=ewindowstate=normalmode=view View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178285#4178285 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178285 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messages don't appear to cluster properly
kenwdelong wrote : We have two JMS servers in a cluster. We have set up the instances to cluster: Post Office and the Destinations have Clustered=true. We are using JBoss Messaging 1.4.0 on JBoss AS 4.2.2. | | We have a queue that parses incoming (XML) messages. If the parsing breaks (the client sent a badly-formatted message) the listener puts the message on a invalid message queue. | | The invalid message queues have no listeners attached. | | When we look on server 1, we see one number of messages in the invalid message queue, while server 2 has a different number. It seems they are staying on the same node that they posted on. | | I expected that a distributed queue would show the same number of messages in the queue no matter what server I looked from. | | Is this normal behavior? Is it because there is no listener? | Please read the documentation and the FAQ on clustering. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178289#4178289 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178289 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: why Session would close under stress test?
OMG, it's becase the queue is so long until it over the transaction timeout View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178293#4178293 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Null Pointer stack trace when opening a processdefinitio
I'll take a look at this today. Maybe I introduced a regression :-( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178301#4178301 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: speed up GetProcessInstancesCommand
Try to see the SQL output (hibernate config option) and check where it is slow. The query should be fast since it is only one DB table...perhaps you'll need to create some indices View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178304#4178304 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - HttpServletRequest from portlet
Hi, I'm trying to get the HttpServletRequest from inside a portlet. I need to write to the request parmeter values so that they can be read by a filter. How can this be done ? Thanks in advanced. Vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178312#4178312 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178312 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 MDB: Annotations for instancePool?
Just FYI, it should actually be: @ActivationConfigProperty(propertyName = maxSessions, propertyValue = 1) (that is, maxSessions not maxSession) I confirm this works for me on 4.2.2.GA using the 5.0.0 version of the ActiveMQ resource adapter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178318#4178318 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: DLQ override depends on the queues definition order.
If you want to make sure one service gets started before another using standard JBoss MBean config, you just need to add a View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178320#4178320 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Need help in naming the datasource files?
Please help me.It's urgent View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178322#4178322 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - RMI behind a firewall
Hello all. I am having problems getting RMI to run with an activated windows xp firewall. I am working with jboss 4.2.2 I partially followed the 'UsingJBossBehindAFirewall' guide and have opened up the ports as listed and it partially works, at least my clients can connect to the 1098 port. But when the other port is negotiated it cannot connect to those. As soon as I enable the firewall I can see, via netstat, the open ports on the server side and the attempts from the client to connect there, but they are not working. I'm not the network specialist but is it normal that the RMI Port (1098) opens a route to itself? i.e. from [server-ip]:1421 to [server-ip]:1098 What am I missing? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178327#4178327 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Authentification problems in Jboss 5
Nobody have a clue? The EJB Context should be refresh between two calls, right? The user admin is the first caller of my EJB (so creating the instances) and I get him as principal name even after logout and login of another user. Are they any configuration in Jboss concerning this point? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178340#4178340 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Need help in naming the datasource files?
muddu_shafi wrote : Please help me, I am a newbie….. | | I have a class which is looking for JNDI in Jboss, I have deployed the jar file for this project in Jboss deploy directory. | Can any one explain me, where should I place my datasource xml file, i.e should I place it in the deploy directory itself? | What should I name the XML files? | Upon seeing the files I thought I should name them as | proxy-ds.xml, proxy-backup-ds.xml, web-ds.xml. | Am I right? Or should I name it differently? | | | You have to place the datasource files in the deploy folder. The file names should end with -ds.xml. See the %JBOSS_HOME%\docs\examples\jca folder for examples. Also see these: http://wiki.jboss.org/wiki/DSdotXML http://wiki.jboss.org/wiki/ConfigDataSources View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178342#4178342 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178342 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jbossws Sample build failed
Any one help me? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178345#4178345 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS HA/Clustering without shared DB
timfox wrote : | | A polite word of advice. Don't be too pushy in demanding free advice in a forum in which you're new. | | It's only likely to get people's backs up and make it more unlikely they'll actually want to give you the advice you want. | | Remember, we offer advice in this forum on a best effort basis. There are no guarantees how, when or if your post will get answered. | | If you want a guaranteed response within a set time, buy a support contract. | | Most forum answering is done by team members in their own time, at their own expense, so be nice when asking a stranger directions. | | Now, you're lucky I'm a nice person. Many others here would have flamed you immediately. | Ok, ok I took your point. Stop beating me :-). timfox wrote : | Since you are clearly such a busy person, and have not time for your own searching here's the short answer: | Of course I did my own searching but obviously I didn't look at the right sources. I read the 1.4.0 user's guide and simply didn't suspect this is a feature planned for 2.0. timfox wrote : | JBM 2.0 does not use a database for persistence. it uses a high performance journal and supports shared nothing replication to eliminate any SPOF. | | Hope that answers your question. :) | Thanks for your answer. That's the information I needed. May I politely ask when you plan to release a production ready version of JBM 2.0? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178354#4178354 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS HA/Clustering without shared DB
testrot wrote : | Thanks for your answer. That's the information I needed. | May I politely ask when you plan to release a production ready version of JBM 2.0? | We're aiming for Q1 2009. :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178355#4178355 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: speed up GetProcessInstancesCommand
besides that... when do you want that many processinstances returned? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178356#4178356 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm webapp as a portlet
You can use portlet context to retrieve portal user login and then use it for task retrieval | facesContext.getExternalContext().getRemoteUser() | or | portletRequest.getRemoteUser() | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178357#4178357 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jbossws Sample build failed
AFAIK jbossws-1.2.1.GA isn't supported on JBoss 4.0.5.GA. Here's the link of supported AS versions: http://jbossws.jboss.org/mediawi/index.php?title=Supported_Target_Containers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178358#4178358 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Porting Weblogic 8.x web services to JBoss 4.2.3
I'd like to know if anyone has had to port Weblogic web services over to a JBoss environment? The web services I'm dealing with appear to be a specific Weblogic implementation. The source modules have a .jws extension and contain annotations through out. Is there a utility that can be used to convert the module over to a more standard Java Web Service? If not, can anyone recommend a procedure for converting such a module? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178363#4178363 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: HttpServletRequest from portlet
Please see http://blog.jboss-portal.org/2008/08/how-to-monitor-portal-session-data-and.html. You would have to write a filter or interceptor to do this. I I think portal spec does not allow to manipulate HttpRequest/HttpSession etc object from a portlet. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178364#4178364 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Considered UNSOLICITED BULK EMAIL, apparently from you
A message from jboss-user@lists.jboss.org to: - [EMAIL PROTECTED] was considered unsolicited bulk e-mail (UBE). Our internal reference code for your message is 02103-08/JaDUNRu5FmYt The message carried your return address, so it was either a genuine mail from you, or a sender address was faked and your e-mail address abused by third party, in which case we apologize for undesired notification. We do try to minimize backscatter for more prominent cases of UBE and for infected mail, but for less obvious cases of UBE some balance between losing genuine mail and sending undesired backscatter is sought, and there can be some collateral damage on both sides. First upstream SMTP client IP address: [121.235.83.51] According to a 'Received:' trace, the message originated at: [121.235.83.51], [192.168.15.76] [192.168.15.76] Return-Path: jboss-user@lists.jboss.org Message-ID: [EMAIL PROTECTED] Subject: =?windows-1251?B?4uX35fDo7ergIPEg5+3g7OXt6PLu8fL/7OggLSDoIOrw8/Lu6SDy8A==?= =?windows-1251?B?4PUg7+7x6+Ug7/z/7eroLi4uIPXu9+X4/CDj6//t8/L8PyD36PLg6Q==?= =?windows-1251?B?IA==?= Delivery of the email was stopped! Reporting-MTA: dns; localhost Received-From-MTA: smtp; leftside.org ([127.0.0.1]) Arrival-Date: Tue, 23 Sep 2008 19:41:40 +0400 (MSD) Original-Recipient: rfc822;awf@leftside.org Final-Recipient: rfc822;awf@leftside.org Action: failed Status: 5.7.0 Diagnostic-Code: smtp; 554 5.7.0 Reject, id=02103-08 - SPAM Last-Attempt-Date: Tue, 23 Sep 2008 19:41:40 +0400 (MSD) Final-Log-ID: 02103-08/JaDUNRu5FmYt Return-Path: jboss-user@lists.jboss.org Received: from smtp-in.iomartmail.com (unknown [121.235.83.51]) by leftside.org (Postfix) with ESMTP id 5FDE61BE48D for [EMAIL PROTECTED]; Tue, 23 Sep 2008 19:41:39 +0400 (MSD) Received: from [192.168.15.76] ([192.168.15.76]) by 121.235.83.51 with Microsoft SMTPSVC(6.0.3790.1830) 24 Sep 2008 22:15:24 +0700 From: =?windows-1251?B?y+Dw6PHg?= jboss-user@lists.jboss.org To: [EMAIL PROTECTED] Subject: =?windows-1251?B?4uX35fDo7ergIPEg5+3g7OXt6PLu8fL/7OggLSDoIOrw8/Lu6SDy8A==?= =?windows-1251?B?4PUg7+7x6+Ug7/z/7eroLi4uIPXu9+X4/CDj6//t8/L8PyD36PLg6Q==?= =?windows-1251?B?IA==?= Date: 24 Sep 2008 22:15:24 +0700 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Priority: 3 X-MimeOLE: Produced By Microsoft Exchange V6.5 X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0274], KAS30/Release X-SpamTest-Info: Not protected X-Spam: Not detected Message-Id: [EMAIL PROTECTED] ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF Session beans shared between two different user sess
Why 1.1? Are you using http://www.jboss.org/portletbridge/? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178367#4178367 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Blog post about deployers
PHILOSOPHY I'd say you mostly got it correct Bob. The part you are missing is actually the most important part. The Deployers create components, i.e. metadata for MBeans and POJOs (or other component models). They don't directly create anything, deployers are about MetaData processing. Instead it is the Microcontainer that creates the runtime objects from this component metadata when their dependencies are satisfied. CLASSLOADING The magic that occurs in the ClassLoader part is because it is doing two stage deployment. The DESCRIBE stage populates the ClassLoading system to say what classloaders you want to construct - ClassLoadingMetaData). This includes any dependencies (similar to OSGi) e.g. My deployment needs version 1.0 of the com.acme.foo package. META-INF/jboss-classloading.xml | classloading xmlns=urn:jboss:classloading:1.0 |requirements | package name=com.acme.foo version=1.0/ |/requirements | /classloading | Only when that dependency is satisfied (thanks to some more magic in the microcontainer :-) will it allow your deployment to move to the CLASSLOADER stage. Of course, the CLASSLOADER stage actually creates the classloader and wires together the related deployments so your deployment can see the requested modules/packages. WAR CLASSLOADING The WEB classloader is probably the most complicated, so it was probably a bad example for a simple explanation. :-) In general, the ClassLoadingMetaData comes from three different places. 1) META-INF/jboss-classloading.xml (PARSE STAGE) 2) A specific deployer for the deployment type (POST PARSE) 3) The ClassLoadingDefaultDeployer (DESCRIBE) For a WAR we have to do special things. WARs get their own classloader that does servlet spec classloading, i.e. parent last, hence the WARClassLoaderDeployer. This is true whether the WAR is a top level deployment or a part of another archive, e.g. an EAR For other deployments the ClassLoadingDefaultDeployer just creates a simple standard classloader for the whole deployment (if you don't describe it explicitly using the xml). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178372#4178372 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6.4 on JBoss 5 HEAD
What about JBoss Portal 2.7.0RC1 on JBoss 5?? Is that supported yet? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178374#4178374 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Blog post about deployers
[EMAIL PROTECTED] wrote : | 1) META-INF/jboss-classloading.xml (PARSE STAGE) | It can also come from | loader-repository/ | configurations for backwards compability with jboss-3/4.x View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178375#4178375 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6.4 on JBoss 5 HEAD
Only GA and SP releases are officially supported. We are in the process of making Portal 2.7 compatible with JBoss 5. It's still a WIP and will let the community know when it's done. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178376#4178376 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178376 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Not quite getting it (aka noclassdeffound)
Hello, I am having the same issue you guys talk about. Any solution? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178377#4178377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Migrate from JBossMQ over HTTPs to JBoss-Messaging
Hi all, We have a JBossMQ setup in production with one central server, 150 relay servers, and 10.000 clients. The relay servers connect to the central server using JMS over HTTPs, using an JNDI lookup over HTTPS with these properties: java.naming.provider.url=https://jbossmq.ebit.be/invoker/HAJNDIFactorySSL | java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces;java.protocol.handler.pkgs | jndiName=HTTPConnectionFactory | The relay servers and the central server are now JBoss 4.0.3sp1 with the included JBossMQ implementation. Would it be possible to upgrade the central server to JBoss-Messaging? Do we need to do any changes to the relay servers? These relay servers are clients to the central server. I read that we need to include jboss-messaging-client.jar in the classpath, will this conflict with the jbossmq server jars? Does JBoss-Messaging have an implementation of an HTTPConnectionFactory, or maybe we can reuse the JBossMQ implementation, without changing anything? Thanks in advance, Geert. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178379#4178379 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: speed up GetProcessInstancesCommand
good question. of course never. can i restrict getprocessinstances? is there a max count? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178380#4178380 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - end process instance , action handler executed?
when i end a processinstance , are actionhandlers fired defined in end node? if yes, how can i cancel a processinstance? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178381#4178381 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF Session beans shared between two different user sess
Thanks for your response. I managed to sort out the issue. The issue is not with the portal and because of some internal application logic when the session times out. I am not using portlet bridge. The reason why JSF 1.1 is because of the conflict in some commons library (in MYFaces)and the JBoss portal and we couldn't get the JSF 1.2 working View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178382#4178382 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: What is current status of maven plugin for jboss aop ver
hi (been on leave for a while and didnt see your post, sorry). the maven plugin is alive and kicking, but only for aop 2.0. currently it uses CR8, but it will be updated to use the latest CR version of aop shortly. the reason for the SNAPSHOT tag is just that we didnt want to put out a 1.0 against a CR version of aop so we are holding back on the 1.0 release of the plugin untill the final version of aop is out. - but the plugin is stable atm and we havent gotten any reports of bugs (yet). if there are more people requesting a final plugin version against 1.5.* of aop then we'll do that. - why did you think the info on the wiki was outdated? :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178383#4178383 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF Session beans shared between two different user sess
Please let me know if there is a help guide available for getting the JSF 1.2 working with 2.6.3(JBoss Portal) and 4.2.2 GA(JBoss App Server) Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178384#4178384 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - When is JBC 3.0 GA coming ?
I heard JBC 3.0 GA will be out in Sept, 08. Is it still likely that it will be released this month ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178386#4178386 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Username Token Profile URIs in SOAP header not compatibl
This issue is fixed on trunk now. It would be great if you could build from sources and give it a try and see if you can correctly talk with the .NET impl now. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178388#4178388 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178388 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messages don't appear to cluster properly
And that link would be here. http://wiki.jboss.org/wiki/JBMCluster Thanks for the help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178390#4178390 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178390 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Not quite getting it (aka noclassdeffound)
The answer is in our documentation. You will find a session on how to install JBoss AOP correctly in AS on the Reference Manual. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178391#4178391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - How t omonitor the database connections from JMX
Hi, Please provide some help on how can i monitor the connection details from the server to database. My goal is to monitor the database connection pooling. Is there any way, help in this regard is highly appreciable. thanks, Naren View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178397#4178397 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM and informix
thanks a lot! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178408#4178408 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM and informix
abendt wrote : thanks a lot! | your welcome. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178409#4178409 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - how to define a destination with MDB annotations only ?
Hi, In the case of a message-driven bean, is it possible to define a destination (topic or queue) using annotations only (@activationConfig ...) ? Instead of adding another MBean in the destinations-service.xml file. If yes, what is the exact attributes and values to specify ? Thanks for helping. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178410#4178410 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: how to define a destination with MDB annotations only ?
Maybe this is a good example for you: https://svn.jboss.org/repos/jbossas/projects/ejb3/trunk/testsuite/src/test/java/org/jboss/ejb3/test/mdbtopic/TopicTestMDB.java View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178411#4178411 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: how to define a destination with MDB annotations only ?
or the anonymous URL: http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/testsuite/src/test/java/org/jboss/ejb3/test/mdbtopic/TopicTestMDB.java View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178412#4178412 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Xdoclet with JbossTools and Eclipse 3.4
xdoclet home preferences is provided by Eclipse WTP not JBoss Tools. (it was in jbosside but were deprecated because of the overlapping Eclipse WTP support) What xdoclet option is it you are looking for exactly ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178416#4178416 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - general error log
is there a general error log ? suppose a process definition is deployed with errors, may be a cycle or a node with no transition. is there a place where these errors are logged? or suppose a action handler which is involved in the buisness process which throws an error during execution. where does this error appear? only in the server.log? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178417#4178417 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Constraint Violation
I'm trying to develop a simple example using jBPM and Spring. I keep getting Constraint Violations when inserting into the database - i've got the following configuration: jbpm.cfg: | jbpm-context | service name=persistence | factory | bean class=org.jbpm.persistence.db.DbPersistenceServiceFactory | field name=isTransactionEnabledfalse//field | /bean | /factory | /service | service name=tx factory=org.jbpm.tx.TxServiceFactory / | !-- service name=message factory=org.jbpm.msg.db.DbMessageServiceFactory /-- | service name=scheduler factory=org.jbpm.scheduler.db.DbSchedulerServiceFactory / | service name=logging factory=org.jbpm.logging.db.DbLoggingServiceFactory / | !-- service name=authentication factory=org.jbpm.security.authentication.DefaultAuthenticationServiceFactory /-- | /jbpm-context context: | bean id=jbpmConfiguration class=org.springmodules.workflow.jbpm31.LocalJbpmConfigurationFactoryBean | property name=configuration value=classpath:jbpm.cfg.xml / | property name=sessionFactoryutil:property-path path=entityManagerFactory.sessionFactory //property | property name=createSchema value=false / | !-- property name=processDefinitionsResources value=classpath:approvalWorkflow.xml /-- | /bean | | bean id=hibernateTemplate class=org.springframework.orm.hibernate3.HibernateTemplate | property name=sessionFactoryutil:property-path path=entityManagerFactory.sessionFactory //property | property name=exposeNativeSession value=false/ | /bean | | !-- jBPM template -- | bean id=jbpmTemplate | class=org.springmodules.workflow.jbpm31.JbpmTemplate | constructor-arg index=0 ref=jbpmConfiguration / | constructor-arg index=1 ref=approvalProcessDefinition / | property name=hibernateTemplate ref=hibernateTemplate/ | /bean | Application Code: | public void deployProcessDefinition() { | jbpmTemplate.execute(new JbpmCallback() { | public Object doInJbpm(JbpmContext context) { | context.deployProcessDefinition(getApprovalProcessDefinition()); | return null; | } | }); | System.out.println(Completed deploying Process Definition); | } | I'm getting the following error when I call this method to deploy the process (I realize i shoudl really be deploying once, but as I said this is just a POC). Note: I am using HSQLDB running in Tomcat 27375 WARN [http-8080-Processor23] util.JDBCExceptionReporter - SQL Error: -177, SQLState: 23000 - 127.0.0.1| | 27375 ERROR [http-8080-Processor23] util.JDBCExceptionReporter - Integrity constraint violation - no parent FK_NODE_PROCDEF table: JBPM_PROCESSDEFINITION in statement [insert into JBPM_NODE (ID_, NAME_, DESCRIPTION_, PROCESSDEFINITION_, ISASYNC_, ISASYNCEXCL_, ACTION_, SUPERSTATE_, CLASS_) values (null, ?, ?, ?, ?, ?, ?, ?, 'R')] - 127.0.0.1| | 27391 ERROR [http-8080-Processor23] [/test-webapp].[springDemo] - Servlet.service() for servlet springDemo threw exception - 127.0.0.1| | java.sql.SQLException: Integrity constraint violation - no parent FK_NODE_PROCDEF table: JBPM_PROCESSDEFINITION in statement [insert into JBPM_NODE (ID_, NAME_, DESCRIPTION_, PROCESSDEFINITION_, ISASYNC_, ISASYNCEXCL_, ACTION_, SUPERSTATE_, CLASS_) values (null, ?, ?, ?, ?, ?, ?, ?, 'R')] | at org.hsqldb.jdbc.Util.throwError(Unknown Source) | at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source) | at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:33) | at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2163) | at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2643) | at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:51) | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) | at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:298) | at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181) | at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107) | at org.hibernate.ejb.event.EJB3SaveOrUpdateEventListener.saveWithGeneratedId(EJB3SaveOrUpdateEventListener.java:43) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187) | at
[jboss-user] [JBoss Messaging] - Topic Statistics
We are using JBossMQ and want to migrate to JBoss Messaging (JBoss AS 5.0 CR1). The issue we are having is that in JBoss MQ the Topic has a MessageStatistics attribute. In JBoss Messaging this attribute is not there. It is there for Queues but not Topics. We are using durable topics and want to see the depth of the Topic for each subscriber. There is an attribute named MessageCounters, however, that object is not serializable and cannot be accessed remotely. MessageCounters does have a reference to the MessageStatistics that we need. ServerPeer has MessageStatistics for all destinations but I'm not sure that can be accessed remotely either. Does anybody know how to resolve this issue? Any help will be greatly appreciated. Thanks, Tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178419#4178419 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Stateless Session Bean pool MaximumSize with strictMaxim
For EJB 3.0 you can edit the ejb3-interceptors-aop.xml file under /jboss_home/server/all/deploy directory. Edit the element for Stateless Bean with something like this @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=1, timeout=1) I hope this helps. Thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178428#4178428 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Changing EJB 3.0 container pool size
Okay got it! You need to edit the ejb3-interceptors-aop.xml file. Specifically, edit the Stateless Bean element to point to @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxlPool.class, maxSize=10, timeout=1) Thanks, Shreyas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178429#4178429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Removal of Stateless Session Beans
When does the EJB container decide to evict (destroys them) the Stateless sessions beans from the pool? Is this decision based on how long the beans have been sitting in the pool or the memory consumption? If yes, can you configure any of these parameters? Thanks, Shreyas JBoss AS 4.2.2. Platform: Linux EJB 3.0 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178430#4178430 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user