[jboss-user] [JBoss jBPM] - BUILD FAILED and deployment failed: Internal server Error

2009-04-07 Thread mamidalasrinivas
When I Build BPEL process hello example , I am geting below error xe8][0x6][0xc6][0xa7][0xf9]v[0x8e][0x7][0xe0][0xc4][0x...@5[0x1c]t[0xce]:[0xc9][ 0xfd]D[0xa8][0x1c]{[0xb3][0x8e][0xf8]*[0xdd]^W[0x8][0x11][0xc3]^[0x97][0x9d]a[0x

[jboss-user] [JBoss Portal] - Re: Good framework to use in JBoss Portal?

2009-04-07 Thread amairahmed
HI! I am desperately looking for the solution to the above post. Can someone please help me on this. Thanks in Advance Amair View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4223881#4223881 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Multiple EAR deployment not working as documented (at al

2009-04-07 Thread jaikiran
anonymous wrote : One of the files in each of the EARs is a JAR file (config.jar) containing POJOs and EJBs. config.jar is in the root level of the EARs. anonymous wrote : --- MBeans waiting for other MBeans --- | ObjectName: jboss.j2ee:module=config.jar,uid=31702491,service=EjbModule |

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How do deploy old version WAR on Jboss5.x

2009-04-07 Thread jaikiran
anonymous wrote : Web mapping already exists for deployment URL vfsfile:/D:/Server/jboss-5.0.0.GA/server | /default/deploy/higkoo.war/ Do you have a jboss-web.xml in the WEB-INF folder of this higkoo.war? If yes, please post its contents. While posting logs or xml content or code, please

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Jboss 4.2.3 Start Problem

2009-04-07 Thread jaikiran
anonymous wrote : /etc/hosts : | | ::1 localhost.localdomain localhost vmlincn80ce5 | See this http://www.jboss.org/index.html?module=bbop=viewtopict=121372#4096272 So your /etc/hosts should contain a mapping of your system IP address with the hostname View the original post :

[jboss-user] [EJB/JBoss] - Re: Initializing log4j in standalone EJB client

2009-04-07 Thread jaikiran
You are missing a log4j.properties (or a log4j.xml) config file in the standalone client's classpath. Adding that file should fix this WARN messages. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4223886#4223886 Reply to the post :

[jboss-user] [JBoss Cache: Core Edition] - Resource cleanup upon eviction -- change in behaviour in 1.4

2009-04-07 Thread cowan
Hi all, We have recently upgraded JBoss Cache from 1.3 to 1.4 (yes, yes! I know!), and have encountered a behaviour change which has us stumped. We want to perform (non-critical but useful) resource cleanup and lifecycle measurements/logging for the objects in one region of the cache when

[jboss-user] [JBossWS] - Getting Soap Header from WebServiceContext's MessageContext

2009-04-07 Thread dhanushgopinath
Hi, I want to access some SOAP Header values inside the WebService when it is called. (I know I can use server side handlers fro this, but I do not want to use it as I want the header values for some application inside the web service) So I use the injection using WebServiceContext, and then

[jboss-user] [JBoss Tools (users)] - Re: Seam Components Problem

2009-04-07 Thread akazakov
Any exceptions in Eclipse log? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4223900#4223900 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4223900 ___ jboss-user mailing list

[jboss-user] [EJB 3.0] - Adding EJB3 Stateless EJBs to an EJB2.1 jar ClassCastExcepti

2009-04-07 Thread MarcusDidiusFalco
Hallo I am trying to add a Stateless Session Bean (EJB3 with annotations Stateless, Remote, Home ..) to an EJB 2.1 project on JBoss 4.2.3. The new SSB works well as I have tested with JUnit. However in the old code I get a ClassCastException at: SchnittstelleLocalHome lHome =

[jboss-user] [JBoss Tools (users)] - Re: Seam Components Problem

2009-04-07 Thread max.ander...@jboss.com
alexey, any chance the extensive usage of linked folders is causing it ? Kragoth - have you tried disabling/enabling seam on the project ? That should ensure both the builder and the nature is installed. Do you have more than 9 seam beans in your project ? i.e. is it simply just the files in

[jboss-user] [EJB 3.0] - Re: Adding EJB3 Stateless EJBs to an EJB2.1 jar ClassCastExc

2009-04-07 Thread jaikiran
Could you please post the entire exception stacktrace and the relevant code from the EJB3 beans? Also please post any ejb-jar.xml or jboss.xml content that might be relevant. How is the application packaged? An EAR or a jar? View the original post :

[jboss-user] [JBoss jBPM] - Re: Deploying a process - Actions

2009-04-07 Thread kukeltje
what do you do between 2 and 3? Nothing? Then surely your old processdefinition will use the old actions. Even if you deploy the new definition including new actions, old processdefinitions will still use the old actions. View the original post :

[jboss-user] [JBoss Tools (users)] - Re: Seam Components Problem

2009-04-07 Thread akazakov
max.ander...@jboss.com wrote : alexey, any chance the extensive usage of linked folders is causing it ? It must work anyway if the libs in the project's class path. And as far as I understend Kragoth even some components from source folder are not loaded by Seam Tools. View the original post :

[jboss-user] [JBoss Cache: Core Edition] - Re: How to subclass JDBCCacheLoader

2009-04-07 Thread jorgemoralespou_2
genman wrote : | But instead of writing code, one thing you could consider is simply adding a update timestamp column to the cache loader's table, which is populated through a trigger. Then a background process run by your DBA could cull the data as necessary. | With the fixes Manick

[jboss-user] [JBossWS] - Easier RESTeasy

2009-04-07 Thread srahaingoson
Hi, I'm very new to server-side development and I'm having a difficult time making out exactly where to put what file when using RESTEasy. I would appreciate if someone could point me to a more accessible tutorial or give a brief overview of the installation and configuration. For a

[jboss-user] [EJB 3.0] - Re: Adding EJB3 Stateless EJBs to an EJB2.1 jar ClassCastExc

2009-04-07 Thread MarcusDidiusFalco
Thank you for your interest | package de.dzbw.dnp.migvis.persistence; | | import de.dzbw.dnp.migvis.person.pojo.Bearbeitungverbund; | | public interface BearbeitungsverbundDAOI { | public Bearbeitungverbund getBearbeitungverbund(int bvId); | } | | | package

[jboss-user] [JBoss jBPM] - Re: Start Process Best Practises

2009-04-07 Thread coldy77
Hello, it seems to be solved now! One little detail I have not noticed since now. I have to write in the jboss-esb.xml in the actions pipeline: actions mep=RequestResponse ... But I have another Question now. Is there a way to provide all BPM Variables to the ESB Body at once, or have I

[jboss-user] [JCA/JBoss] - Re: MDB with Oracle AQ via Sun Adapter

2009-04-07 Thread kr8670
Hi, I had exactly the same problem some time ago, as in first message got read and the next ones seemed to lock the queue somehow. As I was in a hurry and desperately needed it to work, I did the following: 1. checked out oracleaq source from cvs.dev.java.net:/cvs 2. In file

[jboss-user] [JBoss Tools (users)] - Re: something weird going on : cant read the read off delplo

2009-04-07 Thread rob.stry...@jboss.com
Hi Wiggy: What version of the AS are you using? If you're using 5.0.x then I regret to inform you that those versions of the AS removed the suspend ability of the Deployment scanner, and so the deployment scanner is reading the folder before the entire structure is deployed. A workaround

[jboss-user] [JBoss Cache: Core Edition] - Re: MVCC Write Skew

2009-04-07 Thread zeravlai
Ok, understood the detail, Manik. One more thing, apart from the DataVersioningException with R_R, is there any other way that a transaction could abort under MVCC ?? Question is because wikipedia MVCC reference (which is pointed in the JBC document), talks about transactions aborting and

[jboss-user] [JBoss Messaging] - Re: Could not find new XAResource to use for recovering non-

2009-04-07 Thread chtimi2
I have tried changing the order, it doesn't change anything. I have no errors in the log files, and the only other warning is2009-04-07 11:16:13,480 WARN [com.arjuna.ats.jbossatx.jta.TransactionManagerService] XAExceptionFormatters are not supported by the JBossTS Transaction Service - this

[jboss-user] [JBoss Messaging] - Re: Could not find new XAResource to use for recovering non-

2009-04-07 Thread chtimi2
In case my last sentece was confusing I meant what sounds unhealthy isn't the XAExceptionFor matters are not supported by the JBossTS Transaction Service - this warning can safely be ignored but the fact that some unknown stuff failed to be serialized. View the original post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: More Than One Ear Deployment

2009-04-07 Thread rasa
ok. Thanks for your help. Can i use local-tx-datasource twice or thrice in a dds file. Actually i have given this , but its neither creating a connection or nor giving any exception. If i am wrong, please guide me. Thanks and Regards Rasa View the original post :

[jboss-user] [JBoss Tools (users)] - Re: Publish on Build

2009-04-07 Thread rob.stry...@jboss.com
Hey Chris: If you're using the WTP-type projects, I haven't investigated this specific case yet, and can add it to my to-do list. If on the other hand you're using regular projects and the Project Archives feature, then yes. You can create your project, all your code, etc, open the Project

[jboss-user] [Installation, Configuration DEPLOYMENT] - Jboss Upgradation

2009-04-07 Thread rasa
Hi, I am trying to upgrade my jboss version frm 3.2.x to 4.2.3 GA. Setup made and deployed ear file. But when i started the server using run.sh its giving following error. 1. | [ServiceController] Problem starting service jboss:service=WebService | java.lang.Exception: Port 8083

[jboss-user] [EJB 3.0] - Re: EJB3 - web service client problem

2009-04-07 Thread dejanmr
anonymous wrote : Is this assumption correct (ie. that service-ref in ejb-jar.xml is ignored using ejb3)? No. anonymous wrote : If not: Has anybody succeded in getting the service object from jndi using ejb3 and service-ref? Please provide an example The only way I have made it work is by

[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss

2009-04-07 Thread japase
Hi again, It took some time, but finally I could manage to test one of the suggested workarrounds. EJBs in our application are automatically generated, so I can't easily rename the jar files, but I could manage to customize our code generator to use the 'mappedName' attribute. Unfortunately

[jboss-user] [EJB 3.0] - Re: stateful session bean is not removed from memory

2009-04-07 Thread alex0027
I think this is a bug in the ejb3 implementation of jboss stateful session beans. I've changed my bean to a ejb2 bean and the bean is evicted correct from memory. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224005#4224005 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Multiple implementations of the same business interface

2009-04-07 Thread mwoelke
I see. Thanks a lot for this quick response. Regards, Milan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224017#4224017 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224017

[jboss-user] [JBoss jBPM] - Manually change root token

2009-04-07 Thread frinux
Hi, I have to write a function that changes the active node in the process. I guess I have to change the root token. I found something like processInstance.getRootToken but how can I change this to the node I want in my workflow? Thanks View the original post :

[jboss-user] [JBoss jBPM] - bpel].[deploymentServlet]] Servlet.service() for servlet dep

2009-04-07 Thread mamidalasrinivas
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpm-bpel].[deploymentServlet]] Servlet.service() for servlet deploymentServlet threw exception javax.servlet.ServletException: could not build web module for: BpelProcessDefinition(HelloWorld) at

[jboss-user] [JBossWS] - Re: Easier RESTeasy

2009-04-07 Thread gakins
What have you done so far? I agree that getting RESTeasy working isn't that easy, but following some simple examples from the Wiki was enough to get my started. You also might try the resteasy-developers list I followed this site to get my first RESTeasy app working

[jboss-user] [JBoss jBPM] - Sample Hello BPEL Process Deployement Exception

2009-04-07 Thread mamidalasrinivas
When I Deploye Sample Hello BPEL Process ,I am geting below error org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpm-bpel].[deploymentServlet]] Servlet.service() for servlet deploymentServlet threw exception javax.servlet.ServletException: could not build web module for:

[jboss-user] [EJB 3.0] - Re: stateful session bean is not removed from memory

2009-04-07 Thread jaikiran
Could you please try this against AS 5.0.1? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224030#4224030 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224030 ___ jboss-user

[jboss-user] [JBossWS] - Re: how to use jaxws offline

2009-04-07 Thread richard.opa...@jboss.com
Upgrade to the latest JBossWS Native 3.1.0 (the bug is fixed there). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4223993#4223993 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4223993

[jboss-user] [JBossWS] - Error in Invoking Webservice

2009-04-07 Thread abichap
Hello All, I'm new to JBoss and have recently followed this link: http://www.jboss.org/community/wiki/JBWS181HelloWorld;jsessionid=CC4553064155592DD301569406F64F5C to successfully create a webservice. However, I face problem when I try to invoke the webservice using a Microsoft.Net client

[jboss-user] [JBossWS] - Re: how to use jaxws offline

2009-04-07 Thread derarne
HI Richard, I am sorry, but the update to JBossWS Native 3.1.0 (downloaded at http://www.jboss.org/downloading/?projectId=jbosswsurl=/jbossws/downloads/jbossws-native-3.1.0.GA.zip) didn't help. These files are changed in the update in the server lib folder: | jbossws-spi.jar |

[jboss-user] [JBoss jBPM] - javax.naming.NameNotFoundException: XAConnectionFactory not

2009-04-07 Thread mamidalasrinivas
When i deploye BEPL process i am geting below error2009-04-07 17:09:37,976 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnect failed: JMS provider failure detected for CommandListenerBean javax.naming.NameNotFoundException: XAConnectionFactory not bound at

[jboss-user] [EJB 3.0] - Re: Web Beans + JPA

2009-04-07 Thread epbernard
If WB does check for @Entities and orm.xml it also needs to read the right META-INF/persistence.xml or a representation of it because: - classes might not be scanned - some non annotated class can be explicitly listed View the original post :

[jboss-user] [Beginners Corner] - Varia Scheduler

2009-04-07 Thread khalod85
I've a problem with my schedulers in the application that some of them works perfectly and some of them works fine and suddenly they stop ---this one stops after a while--- true com.softwaretec.delta.listeners.MostActiveListener NOW 6 -1

[jboss-user] [JBoss jBPM] - Re: Unable to save ProcessInstance after adding RuntimeActio

2009-04-07 Thread AlClientView
To me this is a bug... As far as I understand, adding a Runtime action means the action will be executed by the process instance to which it is added (and this is a great feature!). The name Runtime comes from the fact it is used by a process instance unlike a process definition but it does

[jboss-user] [JBossWS] - how to use jaxws offline

2009-04-07 Thread derarne
Hi, I try to call a WS with a jaxws-client. The machine has no connection to the internet. The creation of the port takes tries to contact http://schemas.xmlsoap.org/wsdl/ to validate the wsdl. Is it possible to turn of the validation or is there a (fast) workaround? Yours Arne View the

[jboss-user] [JBoss Messaging] - Re: Sending Messages from EJB using container transaction

2009-04-07 Thread f...@gmx.net
eontech wrote : | 1. Which connection factory to use so that JMS uses Container transaction? Currently we are using /ConnectionFactory | java:/JmsXA eontech wrote : | 2. Do we need to open connection every time we send a message or we can have a connection object initialized in post

[jboss-user] [EJB 3.0] - Re: Multiple implementations of the same business interface

2009-04-07 Thread jaikiran
anonymous wrote : How can I configure my EAR to inject a specific implementation of the interface? You can use the beanName attribute of the @EJB | @EJB (beanName=SLSB2) | private SLSBInterface bean; anonymous wrote : SLSB2 is a subclass of SLSB1 That's actually not allowed as per the

[jboss-user] [JCA/JBoss] - ClassNotFoundException: org.jboss.resource.deployers.managem

2009-04-07 Thread Rhodan
Hello we are using jboss 5.0.1 inside an rcp plugin. On Jboss startup we ar getting an classNotFoundException which seems related to JCA: 009-04-07 10:47:15,320 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (Start Level Event Dispatcher) Error installing to

[jboss-user] [JBossMQ] - Re: Improvement suggestions: Messaging in a clustered enviro

2009-04-07 Thread FrankTheTank
adr...@jboss.org wrote : FrankTheTank wrote : anonymous wrote : | | | * Use hajndi-jms-ds.xml to create a pool of connections (this is what is used in the all config anyway) bound at connection factory java:/JmsXA. | | | | | Might you have an example for this? | | | |

[jboss-user] [JBoss Cache: Core Edition] - Re: Request for Guide for creating new eviction policies

2009-04-07 Thread jorgemoralespou_2
So far, for my requisites, I have to modify only one of JBoss Core classes, to make it possible to work. In some cases, it should be advisable to modify some other classes with instanceof statements, not required in my cases. I have made a new interface, extending EvictionQueue, named

[jboss-user] [JBoss Cache: Core Edition] - Re: Request for Guide for creating new eviction policies

2009-04-07 Thread jorgemoralespou_2
Hi, I'm trying hard to create my new eviction policy, but I think my requirements are very difficult for first eviction policy. I have seen that EvictionQueue interface seems to poor for my use case. I have extended some methods to receive a Fqn. Also, I have made a custom EvictionAlgorithm

[jboss-user] [EJB 3.0] - Re: Web Beans + JPA

2009-04-07 Thread epbernard
If we are OK to go the non standard route, I can look at adding a method on HibernateEntityManagerFactory. SetClass? getEntities(); returning the list of entities. Or even better you can do Collection metadatas = (Map) ( (HibernateEntityManagerFactory) emf

[jboss-user] [JBossWS] - Re: how to use jaxws offline

2009-04-07 Thread derarne
Hi, just to explain, what happens I made a screen shot: [img]http://ews.tu-dortmund.de/installation/ImWaiting.png[/img] Hope that gives a hint... Yours Arne View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224045#4224045 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Web Beans + JPA

2009-04-07 Thread pete.m...@jboss.org
epbernard wrote : If WB does check for @Entities and orm.xml it also needs to read the right META-INF/persistence.xml or a representation of it because: | - classes might not be scanned | - some non annotated class can be explicitly listed I would have to do a generic solution here I

[jboss-user] [JBossWS] - Re: Easier RESTeasy

2009-04-07 Thread srahaingoson
Hi, thanks for your response. I have also been following that one. I finally managed to get some basic behaviour working. As I said I am quite new to server-side dev so it was quite easy to miss the fact that I dropped out the name of my servlet during my tests. Right now I'm trying to figure

[jboss-user] [EJB 3.0] - Re: Web Beans + JPA

2009-04-07 Thread pete.m...@jboss.org
I mean, is there some code I can take :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224051#4224051 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224051 ___ jboss-user

[jboss-user] [Performance Tuning] - JBoss Performance Problems with SPECjAppServer2004

2009-04-07 Thread Frank.Feinbube
I am benchmarking JBoss with the SPECjAppServer2004-Benchmark for my master thesis. When I use an Injectionrate of 30 (which is really low) or higher, I get lots of connection problems on the driver side. These lead to a very poor Benchmark result. I am working on my master thesis on

[jboss-user] [Performance Tuning] - Re: JBoss Performance Problems with SPECjAppServer2004

2009-04-07 Thread Frank.Feinbube
I tried a lot in solving the problem. My current guess is, that it has to do with the MySQL 5.1 Database Management System. M1:0: Error occured in scheduleWorkOrderjava.rmi.ServerException: EJBException:; nested exception is: javax.ejb.EJBException:

[jboss-user] [EJB 3.0] - Re: Web Beans + JPA

2009-04-07 Thread epbernard
https://anonsvn.jboss.org/repos/hibernate/core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/PersistenceXmlLoader.java is your best shot. EnumerationURL xmls = Thread.currentThread() | .getContextClassLoader() |

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Multiple EAR deployment not working as documented (at al

2009-04-07 Thread paulsmith22221
Thank you for your reply. I am using JBoss 4.0.4.GA and EJB 2.1. I have looked at the bug report you pointed me at but it mentions that it is a bug in 5.0, and I am using 4.0.4. I suppose that just because it was reported in 5.0 doesn't mean it isn't a problem in 4.0.4 as well? Thanks, Paul

[jboss-user] [JBossWS] - Re: how to use jaxws offline

2009-04-07 Thread richard.opa...@jboss.com
Did you update your IDE environment to reference JBossWS 3.1.0 jar files? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224065#4224065 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224065

[jboss-user] [Beginners Corner] - JBoss restart problem

2009-04-07 Thread adnankhurram
Hi guys, I am having a strange problem with my EJBs in jboss 5.0.1. When i restart my server i get the following exception and it doesn't start my ejb. | 14:13:09,759 ERROR [ProfileServiceBootstrap] Failed to load profile: | java.lang.NullPointerException | at

[jboss-user] [JBoss Portal] - Re: Good framework to use in JBoss Portal?

2009-04-07 Thread chris.lap...@jboss.com
Personally, I'd go with JSF. Our portlet bridge project is quite mature now and well supported. We're using JSF + facelets for our admin portlets and we are quite happy with it. Portlet bridge also supports RichFaces and Seam so that would allow you to create portlets with a rich user

[jboss-user] Deployment Errors on startup of JBOSS

2009-04-07 Thread Mike Hancock
I've been trying for some time to install a working JBOSS (5.0.0.GA) without success. I've read the Installation And Getting Started Guide and tried to follow those instructions. I downloaded the zip file and extracted it per the guide above. I checked and added/revised environment

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Could not obtain connection metadata' when generating Hiber

2009-04-07 Thread gbadavidson
I am attempting to use Hibernate with JSF/Facelets on the JBoss AS. When the application attempts to build the Hibernate Session Factory an error is thrown Could not obtain connection metadata, yet the driver is listed a few lines eariler in the log. Here is the relevent lines from the log and

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Multiple EAR deployment not working as documented (at al

2009-04-07 Thread jaikiran
I am not sure whether that bug existed even in 4.0.4. But based on the comments from the user, in the referenced forum thread in that JIRA: anonymous wrote : This was working fine in version 4.2.2 GA So you could give 4.2.2 or 4.2.3 GA a try. You did not post the entire exception stacktrace

[jboss-user] [JBossWS] - Re: how to use jaxws offline

2009-04-07 Thread derarne
Hi Richard, this was a remote debugging session. I paused the thread that is waiting. The server is running a jboss 4.2.3 jdk 1.6 with the updated JBossWS as you recommended. Does the stacktrace gives you the assumption that the wrong (old) jars are used? Yours Arne View the original post

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: [JBoss 5][Windows service] run JBoss 5.0.1 as Windows se

2009-04-07 Thread faxanadu
Thank you Peter. It works fine. Indeed, I find that cleaner. Thank you for your help View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224081#4224081 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224081

[jboss-user] [Installation, Configuration DEPLOYMENT] - JBOSS service running with max 10024MB

2009-04-07 Thread Mc2102
Hello, I am fairly new to JBOSS but I got it up and running. I am running JBOSS 5.0.1 on Windows Server 2003 32Bit. I cahnged the line in the run.bat to the following: set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1024m -XX:MaxPermSize=512m But when I change the -Xmx1024m to for example 2048 then

[jboss-user] [EJB 3.0] - Re: Web Beans + JPA

2009-04-07 Thread wolfc
Alternatively, if you're on the VDF you can pick up the PersistenceMetaData attachment from the PerisistenceParsingDeployer. http://anonsvn.jboss.org/repos/jbossas/projects/jpa/trunk/deployers/src/main/java/org/jboss/jpa/deployers/PersistenceParsingDeployer.java View the original post :

[jboss-user] [JBoss Messaging] - Re: Distributed messaging without clustering

2009-04-07 Thread gaohoward
Can you explain a bit more about your use case? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224089#4224089 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224089 ___

[jboss-user] [JBoss Cache: Core Edition] - Re: Resource cleanup upon eviction -- change in behaviour in

2009-04-07 Thread bstansbe...@jboss.com
The EJB3 SFSB caching code does something similar to what you describe with 1.4. See the nodePassivate method in [1] (it's inside the ClusteredStatefulCacheListener inner class). The technique used there was added in direct response to the issue you report [2]. Summary of what it does: 1) Use

[jboss-user] [JBossWS] - Re: Can't use MySql under JBOSSWS (Works under JBOSS)

2009-04-07 Thread PeterJ
anonymous wrote : have added the resource information to the web.xml and the jboss-web.xml files in the jbossws-sar Try adding it to the WEB-INF directory in your WAR file. (I assume you have a POJO-based web service and not an EJB-based web service.) If that doesn't work, post the full

[jboss-user] [JBoss Cache: Core Edition] - Re: What is the definition of Node in treecache? Passive?

2009-04-07 Thread yangju
Well, sometimes we see in production that the total number of objects cached is far more than what we defined for max node number in treecache.xml. We deploy hibernate session factory as mbean and turns on the session factory statistics so we can watch all the caching behavior. In one

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Jboss Upgradation

2009-04-07 Thread PeterJ
anonymous wrote : i have 2 more jboss of version 3.2.* in the server This tells me that you must already know about the binding manager service; you can use the same mechanism in 4.2.3. https://www.jboss.org/community/docs/DOC-9520 http://www.jboss.org/community/docs/DOC-9038 View the original

[jboss-user] [JBossWS] - Re: Error in Invoking Webservice

2009-04-07 Thread PeterJ
And you didn't do a search of the forums on setProperty? If you did, you might have found various posts like these: http://www.jboss.org/index.html?module=bbop=viewtopict=152460 http://www.jboss.org/index.html?module=bbop=viewtopict=147781

[jboss-user] [Performance Tuning] - Re: JBoss Performance Problems with SPECjAppServer2004

2009-04-07 Thread PeterJ
We have run specjappserver with injection rates in the high hundreds, using MySQL as the database, so it is possibly. How many connections are you allowing in MySQL? Both the database and the *-ds.xml file must agree on the max number of connections, and I recommend setting both min and max

[jboss-user] [Beginners Corner] - Re: JBoss restart problem

2009-04-07 Thread PeterJ
You might want to post this in the JbossAS5 forum, you'll get a quicker response there. http://www.jboss.org/index.html?module=bbop=viewforumf=287 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224104#4224104 Reply to the post :

[jboss-user] [JBoss Cache: Core Edition] - Re: What is the definition of Node in treecache? Passive?

2009-04-07 Thread bstansbe...@jboss.com
Perhaps the eviction thread is not running frequently enough? The maxNodes config is not a hard limit, i.e. the cache doesn't use the thread trying to insert node 30,001 to evict a node first in order to stay under the limit. There's a separate eviction thread (runs every 5 secs by default)

[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss

2009-04-07 Thread jaikiran
anonymous wrote : Caused by: java.lang.NullPointerException | at org.jboss.ejb3.session.ProxyDeployer.hasJNDIBinding(ProxyDeployer.jav | a:98) From this code/logs, i don't see a reason why you should be getting that exception. Can you create a simple application which shows this issue and

[jboss-user] [JBoss Portal] - Re: Good framework to use in JBoss Portal?

2009-04-07 Thread vivek_saini07
We did it with Richfaces Facelet. It went up smoothly. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224112#4224112 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224112 ___

[jboss-user] [JBoss Messaging] - Definitive Correct postgres-persistence-service.xml for 1.4.

2009-04-07 Thread java...@gmail.com
I've seen information pointing to various versions of this, but each version has had its own issues. My scenario is non-clustered durable destinations are failing with the following message: javax.jms.JMSException: Failed to route Reference[]:RELIABLE to TestQueue As part of the triage on

[jboss-user] [JBoss Cache: Core Edition] - Re: What is the definition of Node in treecache? Passive?

2009-04-07 Thread yangju
Just before the jvm got outofmemory error, we notice in the log many entries like this: putNodeEvent(): eviction node event queue size is at 98% threshold value of capacity: 20 You will need to reduce the wakeUpIntervalSeconds parameter. Our wakeUpIntervalSeconds is set as 3 (seconds). I

[jboss-user] [JBoss Messaging] - Re: Failed to Route Reference[message#]:RELIABLE to queue

2009-04-07 Thread java...@gmail.com
Hi thanks for the replies. This is a non-clustered destination. Regarding the db connection problems: why would that occur? The connections are under the control of the jboss messaging. Can you post a recommended postgres-persistence-service.xml -- I have tried ones from the samples and

[jboss-user] [JBoss Tools (users)] - Re: Cannot run EAR seam project building from

2009-04-07 Thread bdlink
May be related to https://jira.jboss.org/jira/browse/JBIDE-4136 ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224126#4224126 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224126

[jboss-user] [JBoss Portal] - Re: Good framework to use in JBoss Portal?

2009-04-07 Thread psevestre
I was quite successful using AndroMDA as a basic tool to develop a set of portlets for a project of mine. The only caveat is that the code generator assumes a liferay portal out of the box, but this can be easily changed thanks to the extensive customization hooks that this tool provides. The

[jboss-user] [Microcontainer] - How to prevent MC calling start/stop

2009-04-07 Thread timfox
I have a bean files declaring several beans. I want MC to inject them into each other. I *don't* want MC to call start/stop on the beans, just to inject. Any ideas how this would be possible, declaratively in the xml.. Cheers View the original post :

[jboss-user] [Microcontainer] - Re: How to prevent MC calling start/stop

2009-04-07 Thread david.ll...@jboss.com
There's ignore-stop and ignore-start tags or something similar - have a look in the MC user guide. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224131#4224131 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224131

[jboss-user] [JBoss Cache: Core Edition] - Re: What is the definition of Node in treecache? Passive?

2009-04-07 Thread bstansbe...@jboss.com
The eviction event queue holds event objects that describe reads and writes to the cache. Those are used by the eviction handling code to determine which nodes to evict (e.g. what nodes are LRU). The queue itself takes memory, but it's a bounded queue so it won't grow beyond 200,000 entries.

[jboss-user] [JBoss Cache: Core Edition] - Re: What is the definition of Node in treecache? Passive?

2009-04-07 Thread bstansbe...@jboss.com
The queue contains instances of: http://anonsvn.jboss.org/repos/jbosscache/core/branches/1.4.X/src/org/jboss/cache/eviction/EvictedEventNode.java As you can see it contains ref to an Fqn, two ints, a boolean and a long. Every time you read or write to the cache one of those is created and added

[jboss-user] [JBoss Messaging] - Re: Definitive Correct postgres-persistence-service.xml for

2009-04-07 Thread PeterJ
The one located at doc/examples/jms works for me with durable topics. I made only one change: changed DefaultDS to another datasource. By the way, which version of JBoss AS (and Messaging if you updated it). View the original post :

[jboss-user] [EJB/JBoss] - Re: Initializing log4j in standalone EJB client

2009-04-07 Thread Ralph_
Works. Thank you very much. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224153#4224153 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224153 ___ jboss-user mailing list

[jboss-user] [JBoss Portal] - Re: Good framework to use in JBoss Portal?

2009-04-07 Thread apemberton
If the JBoss Portlet Bridge is still a bit too cutting edge for your shop, we've used Spring Portlet MVC successfully in several large scale JBoss Portlet projects. Though, it does come with the typical spring headaches (verbose xml, type safety issues). The answer here depends on a number of

[jboss-user] [Clustering/JBoss] - Cluster nodes not discovered

2009-04-07 Thread sureshrk19
Hi, I'm trying to setup 2 node cluster; Jboss 4.2.3 Jdk 1.5 APache 2.2 with mod_jk 1.2.x On local desktop everything works fine; I configured 2 nodes (all and copy_of_all) on single machine and configured cluster. Application (.war file) is copied to '/all/farm/' directory and the same is

[jboss-user] [Security JAAS/JBoss] - CallbackHandlerClassName not being used !

2009-04-07 Thread gastaldi
Hello !! I am using JBoss 5.0.1GA, and have customized my own Security CallbackHandler to handle custom callbacks. As of JBoss 4.2.3, I created a new CallbackHandler, and registered into the following MBean ... com.george.security.handler.MyCustomCallbackHandler However, this

[jboss-user] [Security JAAS/JBoss] - Re: CallbackHandlerClassName not being used !

2009-04-07 Thread gastaldi
Here is the MBean Configuration: | mbean code=org.jboss.security.plugins.JaasSecurityManagerService | name=jboss.security:service=JaasSecurityManager | ... | attribute name=CallbackHandlerClassNamecom.george.security.handler.MyCustomCallbackHandler/attribute | | /mbean |

[jboss-user] [JBoss Getting Started Documentation] - Re: Can not create a seam project with eclipse

2009-04-07 Thread aliaslan
O.K., but what is the difference between 1) JBoss a division of Red Hat 2) JBoss Community and for what do I need a JBoss Enterprise Middleware JBoss EAP 4.3 I was quite happy with JBoss, a division of red hat. Are there any differences? View the original post :

[jboss-user] [Security JAAS/JBoss] - Re: CallbackHandlerClassName not being used !

2009-04-07 Thread anil.saldh...@jboss.com
deploy/security/security-jboss-beans.xml | !-- JNDI Based Security Management -- | bean name=JNDIBasedSecurityManagement |class=org.jboss.security.integration.JNDIBasedSecurityManagement/ | You will have to create an instance of your call back handler and then inject into this

[jboss-user] [JBoss Messaging] - Re: Distributed messaging without clustering

2009-04-07 Thread f...@gmx.net
From what I have understood from the documentation, you will get a distributed messaging system as long the JBoss application server underneath is clustered. So in this setup, you can in-queue a message in one node and out-queue this message in another node. But what if the two application

[jboss-user] [JBoss Getting Started Documentation] - Re: Can not create a seam project with eclipse

2009-04-07 Thread PeterJ
There is no difference. The renaming was merely a mechanism to separate the supported app servers (EAP) from the community versions. From what I recall, EAP 4.3 was not one of the selections available under JBoss a division of Red Hat (no, I am not going to reinstall and older version of

[jboss-user] [JBoss Cache: Core Edition] - Re: What is the definition of Node in treecache? Passive?

2009-04-07 Thread yangju
200,000 seems pretty big to me. But my question is how big of each object in the eviction queue? What is the content of objects in the eviction queue? Is it just wrapper around the cached objects or just a pointer to the cached object? If it is a replication of each cached object, then 200,000

[jboss-user] [JBoss Messaging] - Re: Definitive Correct postgres-persistence-service.xml for

2009-04-07 Thread java...@gmail.com
I'm using EAP 4.3 CP 03 The docs/examples/jms one has issues. I guess I will try to work through redhat support: this may be specific to their EAP releases. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224150#4224150 Reply to the post :

  1   2   >