[jboss-user] [JBoss Cache: Core Edition] - Re: Clustering Mixed with 32-bit and 64-bit servers
FYI, there is no problem in the mixed environment. It works fine. Thank you all. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241354#4241354 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Effort Estimation Technique for jBPM
Hi, My application is already using TeamWorks BPM tool. We wanted to replace it with jBPM. so I wanted to do a effort estimation for existing process defined in TeamWorks? are there any techniques available for effort estimation of BPM? I appreciate your input. Thanks Chintan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241355#4241355 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBoss WS Pojos endpoint authentication
Hi, I was trying to configure authentication for my pojo endpoint as described on http://www.jboss.org/community/wiki/JBossWS-SecureTransport. Well, probelm is that my security constraints (web.xml) is protecting all resources (/*) including WSDL, so when I try to invoke the Service.getPort(...) method that invocation fails because credentials are provided later on BindingProvider as shown below: | URL wsdlURL = new File(resources/jaxws/samples/context/WEB-INF/wsdl/TestEndpoint.wsdl).toURL(); | QName qname = new QName(http://org.jboss.ws/jaxws/context;, TestEndpointService); | Service service = Service.create(wsdlURL, qname); | port = (TestEndpoint)service.getPort(TestEndpoint.class); | | BindingProvider bp = (BindingProvider)port; | bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, kermit); | bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, thefrog); | Note that authentication is correctly configured : If i try to access to WSDL using a browser I get the authentication POPUP (I configured BASIC authentication); after inserting credentials the WSDL is correctly displayed. Could you help me? Regards, Andrea View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241356#4241356 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: hey all i need JBDS
Try again since jboss.org had some maintenance the last couple of days - the links works for me. btw. why are you taking the oldest of the releases instead of the latest one ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241357#4241357 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM BPEL 1.1.1 Getting variables of processInstance
up... No one has encountered this problem? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241358#4241358 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JBoss is not displayed in web browser
Hello all! When I run JBoss everything seems fine, on the end of starting process JBoss writes started in: But when I want to open JBoss or jmx-console in web browser, message The page cannot be displayed is shown. It was working properly and now suddenly it stoped. Does anybody have same experience? What can cause this problem? Disabled ports maybe? Thanks in advance for some help. Jan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241364#4241364 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Getting DB connection from jboss pool via JNDI
Ok, thanks for the answer. What I'm still not 100 % sure is what the term remote client suggests. Is a Tomcat that runs on the same physical machine but in another process than JBoss a 'remote' client? And if this is so, how do you go about letting also JSP's and JSP Beans used in Tomcat profit from the JBoss connection pooling WITHOUT using the Antipattern of putting db resources in the global JNDI namespace with the use of use-java-contextfalse/use-java-context? That is my main concern, the application is functioning with that configuration but everywhere I read it is said you should not do that. So which alternatives to that do I have? Is the only alternative to run the tomcat instance embedded in jboss? And local clients are only clients that were spawned through the same java process which was used to start the jboss server? Kind regards, Anatol View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241365#4241365 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Problem for JNDI database connection pooling
vickyk wrote : Spend some time to view the Connection leak section here | http://www.jboss.org/community/wiki/FAQJBossJCA | Thanks.I have read the docs. What i mentioned above happends when i executing an operation.Before executing i monitor the ds JBossManagedConnectionPool MBean attribute description page,everything is ok,the value of InUseConnectionCount attribute is 0,means there are no connections that not closed,and the value of AvailableConnectionCount is 30,means there are idle connections for use. oracle-ds.xml | ?xml version=1.0 encoding=UTF-8? | | datasources | local-tx-datasource | jndi-nameoracleDs/jndi-name | connection-urljdbc:oracle:thin:@10.10.1.31:1521:ora9i/connection-url | driver-classoracle.jdbc.driver.OracleDriver/driver-class | security-domainEncryptDBPassword4/security-domain | exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name | metadata | type-mappingOracle9i/type-mapping | /metadata | min-pool-size10/min-pool-size | max-pool-size30/max-pool-size | blocking-timeout-millis6/blocking-timeout-millis | idle-timeout-minutes15/idle-timeout-minutes | new-connection-sqlSELECT COUNT(*) FROM dual/new-connection-sql | check-valid-connection-sqlSELECT COUNT(*) FROM dual/check-valid-connection-sql | /local-tx-datasource | /datasources | the threadDump after executing an operation: | .. | Thread: ajp-10.10.0.42-8009-7 : priority:5, demon:true, threadId:500, threadState:BLOCKED, lockName:java.util.arrayl...@7052f5 | org.jboss.resource.connectionmanager.IdleRemover.internalRegisterPool(IdleRemover.java:92) | org.jboss.resource.connectionmanager.IdleRemover.registerPool(IdleRemover.java:53) | org.jboss.resource.connectionmanager.InternalManagedConnectionPool.initialize(InternalManagedConnectionPool.java:141) | .. | So anybody have ideas with this? Your reply will by most appreciated. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241363#4241363 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Any Known compatibility issues in jbpm-bpel1.1.1 and jbo
log please. No solutions without logs. I can only tell you that i had to tweak ant build files to compile,integrate my personal hibernate libraries(exclued jboss libraries for compatibility with other apps.) and jbpm configuration. My issues were linked to jmsQueue that was generated with a JNDI name that didn't match with that referenced in the ejb and in the JbpmConfigurationLoader. After that, no problems at all. Only some issues about translating variables from MessageValue to simple types(Still Open). (https://jira.jboss.org/jira/browse/BPEL-306 http://www.jboss.org/index.html?module=bbop=viewtopict=157866) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241383#4241383 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Multiple Cache Loaders
There's no out of the box support for this, I'm afraid. One way to approach it is to create a delegating cache loader, that can be configured to only handle a given region (children of a given fqn). Then this new cache loader can be used to wrap the actual cache loaders you want to use, and make each one of them take care of a single region. Take a look at how ReadOnlyDelegatingCacheLoader is implemented, you need something similar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241384#4241384 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How can I suspend or resume a ProcessInstance in jBPM4?
how about following API executionService.endProcessInstance(...)? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241385#4241385 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How can I put a personal task back to group task list?
try taskService.assignTask(taskId, groupId); View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241386#4241386 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: idea for jboss tools
thanks, i will do View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241387#4241387 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deplyoment failing in jboss-5.1.0.GA
Hi Subin, you have a very old xerces version, I did not even find it in the archives of the xerces homepage ;-). So I cannot check what files it contains. Hopefully you have the xerces download package somewhere and can check what JARs it contains. I found a 2.6.2 on my machine, and this contained xmlParserAPIs.jar, xml-apis.jar, xercesSamples.jar, xercesImpl.jar and resolver.jar. So all of those should be removed. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241388#4241388 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241388 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deplyoment failing in jboss-5.1.0.GA
By the way: recompile the project after removing the JARs. Maybe there are still references to the old stuff. Removing them only from the JAR/EAR might not be enough. Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241389#4241389 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: idea for jboss tools
i had problems with jira at login, i put the error HTTP Status 404 - /jira/login.js type Status report message /jira/login.js description The requested resource (/jira/login.js) is not available. JBossWeb/2.0.0.GA_CP View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241390#4241390 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241390 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - managed bean
hi, i am a newbie and im doing managed beans, but the only way i know its opening the .xml file and doing it one each time, in my projects use to be so much classes so this way its so hard, ive seen the @managedbean directive but i cant do it to work, there is a way to declare managed beans to use them in EL but without declaring them in the .xml file? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241391#4241391 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error while completing task
Above error was resolved by using auto flushmode. Error seems to be happening when hibernate flush mode is always. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241394#4241394 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM BPEL 1.1.1 Getting variables of processInstance
I dont think there is any converter as of now. Here is how I did it | JbpmContext jbpmContext = GetJbpmConfiguration().createJbpmContext(); | ProcessInstance processInstance = GetJbpmGraphSession(jbpmContext) | .getProcessInstance(Long.parseLong(strProcessInstanceId)); | | // Get the context instance | ContextInstance processContextInstance = processInstance | .getContextInstance(); | // get the all token variables map | Map allTokenVariablsMap = processContextInstance.getTokenVariableMaps(); | // get the correct token for the variable | Token tokenForVariable = GET THE CORRECT TOKEN HERE FROM THE MAP | // get the variable from the context instance | Object variable = processContextInstance.getVariable(strVariableName, | tokenForVariable); | | // Variable will be an instance of MessageValue | if (variable instanceof MessageValue) { | MessageValue messageElement = (MessageValue) variable; | Map partElems = messageElement.getParts(); | | // Get the first Element | String partName = (String) partElems.keySet().iterator().next(); | Element partElement = (Element) partElems.values().iterator() | .next(); The partElement is an XML Element . You can recurse through this and get the values using a DOM Parser. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241396#4241396 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBPM BPEL update
Hi jBPM Bpel Guys, Whats the status of jBPM BPEL project? Is it currently dormant? Is jBPM Bpel 1.1.1. GA the last release? What about the 1.2 GA? Please update me on these . Thanks Regards Dhanush View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241398#4241398 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Newlines/spaces in SOAPMessage
Using WireShark to intercept the transmission, I found that the JBoss SOAPElement.setvalue implementation seems to add a carriage return linefeed combination to my text which causes the Web Service to crash: 37 32 0d 0a 3c 65 6e 76 3a 45 6e 76 65 6c 6f 70 72..env:Envelop | 0010 65 20 78 6d 6c 6e 73 3a 65 6e 76 3d 27 68 74 74 e xmlns:env='htt | 0020 70 3a 2f 2f 73 63 68 65 6d 61 73 2e 78 6d 6c 73 p://schemas.xmls | 0030 6f 61 70 2e 6f 72 67 2f 73 6f 61 70 2f 65 6e 76 oap.org/soap/env | 0040 65 6c 6f 70 65 2f 27 3e 3c 65 6e 76 3a 42 6f 64 elope/'env:Bod | 0050 79 3e 3c 73 65 61 72 63 68 44 6f 63 44 61 74 61 ysearchDocData | 0060 52 65 71 75 65 73 74 3e 3c 66 5f 6e 72 3e 74 65 Requestf_nrte | 0070 73 74 5f 66 6e 6f 0d 0a st_fno.. When I use Sun's SAAJ this doesnot happen Any ideas? Regards Alfred View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241399#4241399 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: EJB Timer Lookup problem in BPEL
No Guys. I am still having the Class Cast Exception. Any help is appreciated. The problem is that my process instance is never shown as ended because of this exception. thanks Dhanush View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241400#4241400 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss is not displayed in web browser
How do you start JBoss? Which version of JBoss do you use? See if this helps http://www.jboss.org/community/wiki/JBoss42FAQ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241401#4241401 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JBoss Messaging 2 release date?
Hi guys, When is JBoss messaging 2 going to be released? I am considering moving back to JBoss version 4 and using JBoss MQ. The reason is that expiry of messages semantics do not work in JBoss 5 (JBoss Messaging 1.x) as I would like and you can also not create persistent queues on the fly. Any info appreciated on release date... Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241404#4241404 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - jBoss and Hibernate
Hello! I am doing my own hello world jBoss EJB application. I've got derby running, have a connection to it. have a EJB remote. However when doing a query I get classnotfound HibernateQueryException. Why Hibernate? Do I need Hibernate to do queries? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241406#4241406 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Any Known compatibility issues in jbpm-bpel1.1.1 and jbo
Where do i log? Actually i was trying to orchestrate 4 apps hosted on the GlassFish. I am trying to invoke the process from a webservice on that server. But all the binding files i get after deployment are identical. And before deploying, is gives an error 'java.lang.IllegalStateException: Cannot obtain endpoint meta data So is there a restriction that the process can only be triggered from with the Jboss. like placing the message in the JMS Queue or a webservice hosted on JBoss View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241407#4241407 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM BPEL 1.1.1 Getting variables of processInstance
yes i was doing something similar to get the variables. The problem is the parsing of the element. I want to implement a generic parser for all the processes deployed on the console. But every process has its implementation of variables so i can't effectively know in what node is the variable data(some in the first child, some other in nested childs). if (variable instanceof MessageValue) { | MessageValue messageElement = (MessageValue) variable; | Map partElems = messageElement.getParts(); | | // Get the first Element | String partName = (String) partElems.keySet().iterator().next(); | org.apache.xerces.dom.DeferredElementNSImpl partElement = (org.apache.xerces.dom.DeferredElementNSImpl) partElems.values().iterator() | .next(); | String valueVar=partElement.getFirstChild().getFirstChild().getNodeValue(); | } This code won't work for all processes because in another process this line will be : valueVar=partElement.getFirstChild().getNodeValue(); I was thinking a node searcher/comparer to variable Name but i hope something simpler will come out... any help is appreciated. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241408#4241408 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Spring framework with JBOSS tutorial
Dear all, Is there any tutorial or example I can follow for using Spring framework in JBOSS? Very appreciate for any suggestion and help. Thanks ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How can I put a personal task back to group task list?
Thank you. It works. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241409#4241409 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How can I suspend or resume a ProcessInstance in jBPM4?
If I useexecutionService.endProcessInstance(id, Execution.STATE_SUSPENDED), there will occur an Exception: invalid end state: suspended I think we need find another way. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241411#4241411 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: managed bean
Maybe JBoss Seam is what you are looking for. See http://www.seamframework.org/ There you can use @Name annotation in Java classes. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241414#4241414 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss 5 with Hibernate javax.naming.NameNotFoundException: h
I am migrating a 4.0.2 JBOSS app which uses hibernate to JBOSS 5.0.1 GA but if i try to get a hibernate session i keep getting the following error in JBOSS: javax.naming.NameNotFoundException: hibernate not bound The deployment of my UserEjb works fine (see log below) but the org.hibernate.SessionFactory of my .har in the JBoss JMX-Management Console = null. On JBoss 4 the Application works fine. Anyone know why this would happen? Is there some change in hibernate in JBOSS 5? Thanks! René Deployment Log: 2009-07-02 10:08:59,643 DEBUG [org.jboss.deployment.OptAnnotationMetaDataDeployer] (HDScanner) Deployment is metadata-complete, skipping annotation processing, ejbjarmetadata=org.jboss.metadata.ejb.spec.ejbjar20metad...@1f, jbossWebMetaData=null, jbossClientMetaData=null, metaDataCompleteIsDefault=false 2009-07-02 10:08:59,721 DEBUG [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (HDScanner) vfszip:/D:/Programme/jboss-5.0.1.GA/server/prodega/deploy/UserEJB.ear/ endpoint mappings: + ejb/UserEJB.jar#ejb/UserEjb - ContainerDependencyMetaData(deploymentPath=UserEJB.jar,componentName=ejb/UserEjb,containerName=ejb/UserEjb,jndiNames=[ejb/UserEjb, UserEJB/ejb/UserEjb],jndiAliasDepends=[],targets=[],jndiDepends=[]) 2009-07-02 10:08:59,721 DEBUG [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (HDScanner) Processing unit=UserEJB.jar, structure: UserEJB.ear +UserEJB.har +UserEJB.jar ++EjbEndpoint:ejbName=ejb/UserEjb,ejbClass=com.prodega.user.ejb.UserEjb,home=com.prodega.user.interfaces.UserEjbHome,remote=com.prodega.user.interfaces.UserEjb 2009-07-02 10:08:59,721 INFO [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (HDScanner) Encountered deployment abstractvfsdeploymentcont...@13744184{vfszip:/D:/Programme/jboss-5.0.1.GA/server/prodega/deploy/UserEJB.ear/UserEJB.jar/} 2009-07-02 10:08:59,721 INFO [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (HDScanner) Encountered deployment abstractvfsdeploymentcont...@13744184{vfszip:/D:/Programme/jboss-5.0.1.GA/server/prodega/deploy/UserEJB.ear/UserEJB.jar/} 2009-07-02 10:08:59,721 INFO [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (HDScanner) Encountered deployment abstractvfsdeploymentcont...@13744184{vfszip:/D:/Programme/jboss-5.0.1.GA/server/prodega/deploy/UserEJB.ear/UserEJB.jar/} 2009-07-02 10:08:59,752 INFO [org.jboss.ejb.deployers.EjbDeployer] (HDScanner) installing bean: ejb/UserEJB.jar#ejb/UserEjb,uid20239039 2009-07-02 10:08:59,752 INFO [org.jboss.ejb.deployers.EjbDeployer] (HDScanner) with dependencies: 2009-07-02 10:08:59,752 INFO [org.jboss.ejb.deployers.EjbDeployer] (HDScanner) and supplies: 2009-07-02 10:08:59,752 INFO [org.jboss.ejb.deployers.EjbDeployer] (HDScanner) jndi:ejb/UserEjb 2009-07-02 10:08:59,752 INFO [org.jboss.ejb.deployers.EjbDeployer] (HDScanner) jndi:UserEJB/ejb/UserEjb 2009-07-02 10:08:59,955 INFO [org.jboss.ejb.EjbModule] (HDScanner) Deploying ejb/UserEjb 2009-07-02 10:09:00,033 WARN [org.jboss.ejb.EjbModule] (HDScanner) EJB configured to bypass security. Please verify if this is intended. Bean=ejb/UserEjb Deployment=vfszip:/D:/Programme/jboss-5.0.1.GA/server/prodega/deploy/UserEJB.ear/UserEJB.jar/ 2009-07-02 10:09:00,330 INFO [org.jboss.proxy.ejb.ProxyFactory] (HDScanner) Bound EJB Home 'ejb/UserEjb' to jndi 'ejb/UserEjb' View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241415#4241415 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader with Oracle 10g problem
anonymous wrote : No, sorry, I managed to reproduce the problem with one thread on DEBUG level. Here is the log: | Code: | | [2009-07-01 16:11:48,367] [Detection1] DEBUG JDBCCacheLoader - executing sql: INSERT INTO Cached_Eve | nts (fqn, node, parent) SELECT ?, ?, ? FROM Cached_Events_D WHERE NOT EXISTS (SELECT fqn FROM Cached | _Events WHERE fqn = ?) (/__JBossInternal__/RTDE/pattern-matching-threshold/663330655/_ID_/-uiq8a | n-fwm4m5h3-1-fwm4m8s0-z) | | | | | Still don't know how to fill in the question marks to run it... yep, I've just noticed that the cache loader was modified to create a new table postfixed with _D, so Cached_Events_D is indeed created by jbosscache. This was a changed made for following JIRA JBCACHE-1410. Guess the query (which looks a bit odd to me) doesn't work on oracle. Is this happening from the start, when you firt try to add something to the cache, or only after a while? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241417#4241417 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Problem with remote JBM access from applet running on co
I have tested remoting by itself and experienced no problem. So, the problem is clearly related to jboss messaging. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241418#4241418 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: why eviction needs Mbean in standalone environment?
the way it goes is: - it tries to parse the config file expecting it to be a JBossCache 3.x config - if it cannot parse it will also check weather it is an 2.x config, and here is the logged exception. The problem is the fact that the 3.x file is not correct. Might be because you're using an urn:jboss:jbosscache-core:config:3.1 which is an namespace that does not exist. I suggest changing that to urn:jboss:jbosscache-core:config:3.0 and try again. If you still get an exception, also try -Djbosscache.config.validate=false View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241419#4241419 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: why eviction needs Mbean in standalone environment?
Thank you, Problem got resolved View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241420#4241420 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - java.lang.RuntimeException: java.lang.ClassCastException: $P
Hi all, I am using Jboss application server 4.2.3 GA. my problem is, when I create a stateless session bean and deploy that works fine but if I change this bean to stateful session bean by changing annotation, that give classCastException | package com.logica.heca.lpr.ruleengine; | | import com.logica.heca.lpr.common.exception.FatalException; | import com.logica.heca.lpr.common.exception.RuleParserException; | import com.logica.heca.lpr.domain.contact.ContactVO; | import com.logica.heca.lpr.domain.ruleengine.RuleDefinitionVO; | import com.logica.heca.lpr.ruleengine.helper.RuleParser; | | import javax.ejb.EJBException; | import javax.ejb.Stateful; | import java.io.Serializable; | | /** | * p/ | * Created by: kumarrg | * Date: 17-Jun-2009 | * Time: 14:33:02 | * /br | * This software is a part of the LPR system, developed by Logica. | */ | @Stateful(name = RuleEngine) | public class RuleEngineBean implements RuleEngineLocal, RuleEngineRemote, RuleEngine, Serializable { | |// private static final Logger logger= Logger.getLogger(RuleEngineBean.class); | | /** | * @param contactVO to be validated against rules | * @return ContactdVo populated with ruleId and Error Source object | */ | public ContactVO processContact(ContactVO contactVO) { | //try { | //StatelessSession session = getRuleBase().newStatelessSession(); | //session.execute(contactVO); | return contactVO; | //} catch (Throwable ex) { | //logger.fatal(Severe error while processing ContactVo rule, ex); | //throw new FatalException(Fatal error while parsing rule); | //} | } | | //private RuleBase getRuleBase()throws RuleParserException { | // // return new RuleBaseBuilder().getRuleBase(); | //return null; | //} | | /** | * parse rule as per Drools rules 4 format | * @param ruleDefinitionVO RuleDefinitionLite | * @return RuleDefinitionErrorVO if any error found else null | */ | public void parseRule(RuleDefinitionVO ruleDefinitionVO) throws RuleParserException{ | try { | new RuleParser().parseRule(ruleDefinitionVO); | } catch (Throwable ex) { |// logger.fatal(Severe error while parsing rule,ex); | throw new EJBException(Fatal error while parsing rule); | } | } | | /** | * clears Cache of RuleBase in Rule Engine | */ | public void clearCache() { | try { | new RuleBaseBuilder().clearCache(); | } catch (Throwable ex) { | // logger.fatal(Severe Error while clearing RuleBase cache, ex); | throw new EJBException(Fatal error while clearing RuleBase cache); | } | } | } | the exact error is | d-25]. The thread terminates | java.lang.ClassCastException: $Proxy61 cannot be cast to com.logica.heca.lpr.ruleengine.RuleEngineRemote | at com.logica.heca.lpr.services.facade.RuleEngineFacade.process(RuleEngineFacade.java:31) | at com.logica.heca.lpr.dataLoader.DataLoaderThread.run(DataLoaderThread.java:129) | 11:51:54,243 ERROR [STDERR] Exception in thread DataLoaderThread-25 | 11:51:54,243 ERROR [STDERR] java.lang.RuntimeException: java.lang.ClassCastException: $Proxy61 cannot be cast to com.logica.h | eca.lpr.ruleengine.RuleEngineRemote | 11:51:54,243 ERROR [STDERR] at com.logica.heca.lpr.dataLoader.DataLoaderThread.run(DataLoaderThread.java:187) | I am running client and server code on same server help from any one would be highly appreciable. Thanks -Ravi View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241421#4241421 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Message bridge performance in WAN
Hi, We have an ActiveMQ queue which gets posted with 65K+ messages in an hour. These messages needs to be transfered over the WAN to a local queue created in Jboss messaging. We have created a message bridge for this where the source of the bridge is the Remote ActiveMQ queue and target is a local Jboss messaging queue. We are seeing a very low performance here where in only 1000 messages are reaching the local queue in 1 minute. MaxBatchSize is set to 50 and MaxBatchTime is set to 1. The question is - 1. How does MaxBatchSize work? Will the bridge pick up all 50 msgs and transfer it over WAN or will it transfer the messages one by one over the WAN and create a batch and send it to the local queue? 2. How can we get a better performance? We know that n/w speed is an important factor here and we are working on it, but just wanted to know if there is any configurations which we can tweak to get a better performance. Env: JBoss 5.0.1 Jboss Messaging 1.4.1 GA Message Bridge Config: anonymous wrote : | mbean code=org.jboss.jms.server.bridge.BridgeService | name=com.nordpool:service=Bridge,name=BridgeFromOM | xmbean-dd=xmdesc/Bridge-xmbean.xml | | jboss.mq:service=JMSProviderLoader,name=ActiveMQJMSProvider | | jboss.messaging:service=JMSProviderLoader,name=JMSProvider | | inbound | | queue/LocalQueue | | xx | | xx | | !-- | xx/attribute | xx | -- | | 0 | | | | 50 | | 4000 | | | | | | 1000 | | 2 | | | Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241423#4241423 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message bridge performance in WAN
Here is the bridge config. anonymous wrote : mbean code=org.jboss.jms.server.bridge.BridgeService name=com.nordpool:service=Bridge,name=BridgeFromOM xmbean-dd=xmdesc/Bridge-xmbean.xml | jboss.mq:service=JMSProviderLoader,name=ActiveMQJMSProvider | jboss.messaging:service=JMSProviderLoader,name=JMSProvider | inbound | queue/LocalQueue | xx | xx | !-- | xx/attribute | xx | -- | 0 | | 50 | 4000 | | | 1000 | 2 | | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241424#4241424 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - what is the executionContext equivalent in jbpm4.0 to set an
what is the executionContext equivalent in jbpm4.0 to set and get the variable values globallythroughout the process? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241425#4241425 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: managed bean
i tried it, but when i go to visual page and try to bind a property in my class with the visual editor i see: 1. it appears as a variable not a bean or managed bean 2. i can only asign the class , not a property [/img] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241429#4241429 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: circular references
update: we put @IgnoreDependency on one side of the circular dependency as shown above. our .ear gets deployed successfully and we didnt recognize any runtime error yet. we will have a look at it the next few days... but it seems to work : ) jaikiran, thank you very much for your first-aid ; ) and thanks for explanation, too. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241434#4241434 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Jboss cache transactional support
Hi, I am using jboss cache as in memory database with persistent mechanism as JDBM. I have multiple cache instances each having own private data. For the database i am using spring with hibernate. My question is how can i put both cache manipulation and hibernate database actions under a single transaction. I mean if the database transaction fails, then the cache updates should be rolled back and vice versa. Please help me. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241443#4241443 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241443 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: managed bean
it seems that its a bug in Edit/binding dialog, that with managed beans recognized them as objects and if its a variable i does not recognized it as object. but in intellisense in EL it works... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241442#4241442 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241442 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Is there any kind of variable in JBPM4 like 'transient v
I was searching for the same in vain. But I use PVM with own language so I coded that myself. If you find it please let us know! Thanks Fero View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241448#4241448 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Jboss cache transactional support
You can make them share the same TransactionManager instance, and this way cache will register itself to existing transactions associated with the thread. Take a look at TransactionManagerLookup View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241450#4241450 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss OSGi] - Re: OSGi + EE code in the same JAR ?
We currently focus on Blueprint. Please monitor the roadmap for an update on ejb3/ws support. You can also file feature requests and vote on individual issues. This helps us to decide what to do next https://jira.jboss.org/jira/browse/JBOSGI?report=com.atlassian.jira.plugin.system.project:roadmap-panel View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241455#4241455 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Why is kernel looking for default constructor?
richard.opa...@jboss.com wrote : Thank you everybody, I am blind :( | Sorry for taking your time. Could you please do the following next time: * do not post your/user issues on MC dev forum (I just moved this one to user forum) * do proper testing before posting about feelings Doubting such trivial usage + taking other people's time on _dev_ forum is just lack of any respect ... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241462#4241462 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - MBean in Cluster
Hello All, I'm a newbie to Jboss Clustering service. I want to configure my MBean for clustering support, but dont know how to do it. is there any document which guide us to do so. I'm using annotations to to deploy the bean as MBean View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241465#4241465 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message bridge performance in WAN
Hi, here is what JBM doc says | 9.3.11. MaxBatchSize | This attribute specifies the maximum number of messages to consume from the source destination before sending | them in a batch to the target destination. It's value must = 1 | | 9.3.12. MaxBatchTime | This attribute specifies the maximum number of milliseconds to wait before sending a batch to target, even if the | number of messages consumed has not reached MaxBatchSize. It's value must can be -1 to represent 'wait forever', | or =1 to specify an actual time. | | Please note the unit of MaxBatchTime value is milliseconds. I think give it 1 is too small. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241467#4241467 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: java.lang.RuntimeException: java.lang.ClassCastException
Hi, please post also the lookup code of com.logica.heca.lpr.dataLoader.DataLoaderThread.run. Is your client an application client or a web app? How is the structure of your app? If application client: Does the client JAR contain the most recent version of your EJB jars? If web app or other EJB: does the WAR file contain a copy of the EJB classes? Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241468#4241468 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241468 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - sending Soap message with timeout
Hi Folks, I have implemented a basic soap client (javax.xml.soap.*). | | public Message processSOAPRequest(Message message) { | try { | MessageFactory msgFactory = MessageFactory.newInstance(); | SOAPMessage soap = msgFactory.createMessage(); | SOAPPart soapPart = soap.getSOAPPart(); | | byte[] buffer = ((String) message.getBody().get()).getBytes(); | ByteArrayInputStream stream = new ByteArrayInputStream(buffer); | StreamSource source = new StreamSource(stream); | soapPart.setContent(source); | String action = config.getAttribute(SOAP_ACTION); | if (action != null) { | MimeHeaders headers = soap.getMimeHeaders(); | headers.addHeader(SOAPAction, action); | } | | / | | SOAPMessage reply = sendSOAPMessage(soap); | | / | | ByteArrayOutputStream out = new ByteArrayOutputStream(); | reply.writeTo(out); | String soapMessage = new String(out.toByteArray()); | message.getBody().add(soapMessage); | | } catch (SOAPException e) { | logger.error(SOAPException : + e); | | } catch (IOException e) { | logger.error(IOException : + e); | } | | return message; | | } | | | private SOAPMessage sendSOAPMessage(SOAPMessage soap) { | SOAPConnection connection = null; | SOAPMessage reply = null; | try { | SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory | .newInstance(); | connection = soapConnFactory.createConnection(); | String destination = config.getAttribute(URL_ENDPOINT); | | reply = connection.call(soap, destination); | | | | } catch (Exception e) { | logger.error(e); | } finally { | try { | if (connection != null) { | connection.close(); | } | } catch (SOAPException e) { | logger.error(e); | } | } | | return reply; | } | | The input message is JBossEsb message, which I convert to soap message and then send it using SOAPConnection, which works fine. The problem with SOAPConnection class is that it does not provide setTimeout(..) method. I read some where that there is another class SOAPConnectionImpl (by axis), which extends SOAPConnection and has this setTimeout method. I have tried to convert my existing implementation to SOAPConnectionImpl but i always get a classcast exceptions. Could somebody help me in suggesting a solution to this problem? My main concern is to include timeout feature that is my WS consumer/client should timeout after a certain period if the server does not reply. Any other soap message sending implementation with timeout feature are also good. I have included | dependency | groupIdaxis/groupId | artifactIdaxis/artifactId | version1.4/version | /dependency | maven dependencies for axis. Awaiting replies. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241472#4241472 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jBoss and Hibernate
Hi! Where do you see the exception? In your EJB or in the client side? Please provide more details about your app. JBoss uses Hibernate internally to perform all EJB3 database access. Does your app contain hibernate JARs? Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241475#4241475 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBoss client WS
Hi, I'm using JBoss 4.2.3.GA. I had a jar that invoke some Web Service SOAP. I haved a Junits that test this web services, and works fine. Then, I have an other app. that publish some REST WS, this WS do some staff and call the jar. I deploy this REST WS in the JBoss When I invoke the REST WS, the response of the WS SOAP return null ... I had a try - catch and also the Exception is null :-( Some ideas ? May be, it's necessary some extra configuration to the JBoss ? thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241478#4241478 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241478 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Bridge Stuck after reconnect
Using 1.4.4 GA I have 2 Servers where messages are bridged from 2 Queues via 2 bridges. Server A Server B outgoing ---OutgoingBridge_Liberte2--- local_outgoing incoming ---IncomingBridge_Liberte2--- local_incoming Sometimes the messages stuck at the Server B site: Before that happens the bridge losts the connection and reconnects. Here are the logs: 13:49:37,942 WARN [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] XAResourceRecord.prepare - prepare failed with exception XAException.XA_RETRY | 13:49:37,942 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_36] - BasicAction.End() - prepare phase of action-id a046bd8:bcc:4a4c98a3:2fdbb failed. | 13:49:37,942 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_38] - Action Aborting | 13:49:38,223 WARN [org.jboss.jms.server.bridge.Bridge] jboss.messaging:name=OutgoingBridge_Liberte2,service=Bridge Failed to send + acknowledge batch, closing JMS objects | javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commit(TransactionImple.java:255) | at org.jboss.jms.server.bridge.Bridge.sendBatchXA(Bridge.java:1322) | at org.jboss.jms.server.bridge.Bridge.sendBatch(Bridge.java:1382) | at org.jboss.jms.server.bridge.Bridge.access$2000(Bridge.java:68) | at org.jboss.jms.server.bridge.Bridge$BatchTimeChecker.run(Bridge.java:1648) | at java.lang.Thread.run(Unknown Source) | 13:49:38,426 WARN [org.jboss.remoting.Client] unable to remove remote callback handler: Can not remove callback listener from target server with id of a42z60-xlstvn-fwne1cca-1-fwne21xq-27+a42z60-xlstvn-fwne1cca-1-fwne21y6-2a as it does not exist as a registered callback listener. | 13:49:38,442 ERROR [org.jboss.jms.client.container.ClosedInterceptor] ClosedInterceptor.ClientSessionDelegate[c2-mb22enwf-1-acc1enwf-nvtslx-06z24a]: method getXAResource() did not go through, the interceptor is CLOSED | 13:49:38,442 WARN [org.jboss.jms.server.bridge.Bridge] jboss.messaging:name=OutgoingBridge_Liberte2,service=Bridge Will retry after a pause of 1 ms | 13:49:49,598 INFO [org.jboss.jms.server.bridge.Bridge] jboss.messaging:name=OutgoingBridge_Liberte2,service=Bridge Succeeded in reconnecting to servers | After that I have some messages in the incoming. And it seams that the incomming bridge is not working anymore. After I restarted the bridges and the Queues it starts bridging again. See log: | 14:00:17,266 INFO [Aeos.BridgeGeneratorServiceImpl] Stopping bridge 'jboss.messaging:name=IncommingBridge_Liberte2,service=Bridge'. | 14:00:18,688 WARN [org.jboss.remoting.Client] unable to remove remote callback handler: Can not remove callback listener from target server with id of a42z60-xlstvn-fwne1cca-1-fwne1zkn-1f+a42z60-xlstvn-fwne1cca-1-fwne21ij-1m as it does not exist as a registered callback listener. | 14:00:18,688 INFO [Aeos.BridgeGeneratorServiceImpl] Stopping bridge 'jboss.messaging:name=OutgoingBridge_Liberte2,service=Bridge'. | | ... see that the Warning is on the incoming bridge. | | 14:01:45,250 INFO [Aeos.BridgeGeneratorServiceImpl] Started bridge jboss.messaging:name=IncommingBridge_Liberte2,service=Bridge. Source: /queue/local_incomingSyncRequests Target: /queue/incomingSyncRequests | 14:01:45,968 INFO [Aeos.BridgeGeneratorServiceImpl] Started bridge jboss.messaging:name=OutgoingBridge_Liberte2,service=Bridge. Source: /queue/outgoingSyncRequests_Liberte2 Target: /queue/local_outgoingSyncRequests | After restarting the 2 Bridges the messages are send again... I use a self written BridgeGeneratorServiceImpl that dynamically configures and starts the Bridge. The transport is ssl. Any Idea why the message stuck after this connection error at the other bridge? Greets View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241479#4241479 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jBoss and Hibernate
Exception in thread main java.lang.reflect.UndeclaredThrowableException | at $Proxy2.findMedewerker(Unknown Source) | at nl.capgemini.inzetmanagement.client.Client.main(Client.java:27) | Caused by: java.lang.ClassNotFoundException: org.hibernate.hql.ast.QuerySyntaxException | at org.jboss.remoting.serialization.ClassLoaderUtility.loadClass(ClassLoaderUtility.java:103) | at org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:86) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) | at java.lang.Class.forName0(Native Method) This happens when i use this code: @Override | public Medewerker findMedewerker(int id) { | Query createQuery = entityManager.createQuery(SELECT m FROM medewerker m); | CollectionMedewerker result = createQuery.getResultList(); | System.out.println(result); | return null; | } Ths is what I put in my remote bean. So do I have something missing in my libs? Do i need hibernate in the libs dir? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241481#4241481 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jBoss and Hibernate
Also I am running the client app in Eclipse, maybe I need hibernate there? I am confused sorry. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241482#4241482 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message bridge performance in WAN
Thanks, we had already gone through JBM docs. What we noticed is that when MaxtBatchTime is set as 1 milli second, bridge is sending only one message. According to that in one second, bridge should send 1000 messages which is not the case. What we would like to know is why the bridge is taking that much time to consume the messages. For 50 messages, bridge is taking almost 4 secs to consume. Our requirement is to process 650K+ messages over the WAN in 1 hour. We tried with higher values for batchtime, but the through put was still low. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241484#4241484 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Why is kernel looking for default constructor?
Yeah, it should have been on the user forums. But give the guy a break, we've all been there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241490#4241490 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message bridge performance in WAN
If you are sending a lot of messages in a fairly constant stream it doesn't make a lot sense to me why you are setting maxBatchSize to a value other than -1, since the batch will be sent anyway when maxBatchSize is reached. Regarding the speed of bridging, this is a function of many factors including: The size of your messages Are the messages persistent? The bandwidth of your network The round trip time of your network The speed of the ActiveMQ server The Quality of service mode you are using. The speed of the JBM server So it's very hard to quantify. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241489#4241489 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: JDK 5 annotated method pointcut
I set the aoppath, and the aop compiler finds the Aspect class correctly. It is the pointcut that doesn't work. I get the same result when I use a jboss-aop.xml file instead of annotations to define the pointcut (pointcut still points to an annotated method). When I change the pointcut to a specific method or group of methods it works fine. I just can't get it to find annotated methods. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241507#4241507 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - I got a problem when I start the server
Hi, Im using the same server since 8 months and I never find the failure situation which I couldn't find the solution. Here is the problem. Today morning I created another mail-services.xml with gu-mail-services.xml and I didn't change anything. by default it failed due duplicate names and immediately I removed that new file and now started the problems. Is there anything libs I missed? Problem configuring service jboss:service=Naming | org.jboss.deployment.DeploymentException: Exception setting attribute Naming = MBeanProxyExt[jboss:service=NamingBeanImpl] on mbean jboss:service=Naming; - nested throwable: (java.lang.IllegalArgumentException: Unable to find operation setNaming(org.jnp.server.NamingBean)) | at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:698) | at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:380) | at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) | at org.jboss.system.ServiceController.install(ServiceController.java:226) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy5.deploy(Unknown Source) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) | at org.jboss.Main.boot(Main.java:200) | at org.jboss.Main$1.run(Main.java:508) | at java.lang.Thread.run(Thread.java:619) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241508#4241508 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241508 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message bridge performance in WAN
hi, where did you deploy the bridge? at the ActiveMQ side or the JBoss Messaging side? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241502#4241502 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241502 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Clusted FailOver doesn't seem to work correctly with Bri
Hi, Can you please post your bridge service configure here? Thanks Howard View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241503#4241503 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241503 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Creating datasources which needs to be dynamic
Can any one help me in creating data sources that I can use them dynamically? I am working on EJB3 and J Boss 5. Thanks in advance. Bachi. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241494#4241494 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss client WS
I migrated to JBoss 5.1.0 and throws some errors: 11:02:22,389 ERROR [[ServletAdaptor]] Servlet.service() para servlet ServletAdaptor lanzó excepción javax.servlet.ServletException: non-HTTP request or response at javax.servlet.http.HttpServlet.service(HttpServlet.java:829) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) any ideA? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241501#4241501 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] invoke web service soap
Hi, I'm using JBoss 4.2.3.GA. I had a jar that invoke some Web Service SOAP. I haved a Junits that test this web services, and works fine. Then, I have an other app. that publish some REST WS, this WS do some staff and call the jar. I deploy this REST WS in the JBoss When I invoke the REST WS, the response of the WS SOAP return null ... I had a try - catch and also the Exception is null :-( Some ideas ? May be, it's necessary some extra configuration to the JBoss ? Also, I migrated to JBoss 5.1.0 and throws some errors: 11:02:22,389 ERROR [[ServletAdaptor]] Servlet.service() para servlet ServletAdaptor lanzó excepción javax.servlet.ServletException: non-HTTP request or response at javax.servlet.http.HttpServlet.service(HttpServlet.java:829) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) any ideA? thanks!! ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: hey all i need JBDS
Also, it sounds like you are clicking that link in your browser. Don't do that - follow the instructions on that page, which imply that you first have to download and install Eclipse for Java EE Developers from the Eclipse web site, and then run Eclipse, and within Eclipse use the Update and Install Manager to add JBoss Tools (copy the correct stable or developer's update link to the Eclipse dialog). Then Eclipse will download an install JBoss Tools. (There is also a link to the docs that provide complete installation instructions.) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241514#4241514 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBAS 5.1.0.GA - trying to deploy old JBoss.NET web-service.x
If I drop the web-service.xml in a .wsr or try deploying directly using the MainDeployer nothing seems to be happening. I'm trying to provide support for both old JBoss.NET and JBoss.WS stacks - we have a lot of old Axis based code and don't want to rework it all right now... I'm beginning to think this is an impossible challenge. Does anyone have any thoughts on this? web-service.xml deployment name=JMX.net targetNameSpace=http://net.jboss.org/jmx; xmlns=http://xml.apache.org/axis/wsdd/; xmlns:jmx=http://net.jboss.org/jmx; xmlns:java=http://xml.apache.org/axis/wsdd/providers/java; An example JMX-based Web Service !-- this service hits a connector web service that re-exposes the complete MBeanServer API -- View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241516#4241516 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: What happened to JBoss Portal 2.7.2 bundled download?
I clicked the download link next to JBoss Portal + JBoss AS 4.2.3 - 2.7.2 and the download window popped up and the download started. What browser are you using? I'm using Firefox. Also, be careful of helpful browser addons - I once had a Sourceforge helper addon that was anything but a helper: it kept me from downloading the portal and a few other things until I got rid of that addon. Just for grins I fired up IE 7 and tried there. Weird - it gives ne a SourceForge page with all kind of JBoss stuff (AS, JCA, Wenb, etc) that I can download but nothing related to Portal. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241517#4241517 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: cannot open excel files (with excel in IE) which stored
zlatan24 - please do not reply to 5-year-old posts. I doubt that any of the original posters care anymore. Besides, what you posted doesn't even help solve the problems mentioned. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241520#4241520 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message bridge performance in WAN
In our case, the messages (1000) are already available in the ActiveMQ queue. i.e for testing purpose, the messages are already posted to the queue and left their without consuming. When the bridge is started, it is actually waiting for secs and consuming the messgaes - there is a delay here eventhough the messages are already available in the source queue. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241522#4241522 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - form authentication not working properly on Jboss 5 GA
hi all, i am using jBoss 5 to deploy a web app which was originally deployed and successfully running on ORACLE app server. i have updated following files in jboss 1.*-ds.xml 2.login-config.xml 3.jboss-web.xml form based authentication has been used on struts 1.x platform with j_security_check and tiles integrated. now the problem is : 1.If first time i login with right UserName/Password than login is successful(obviously). 2.If first time i login with wrong UserName/Password than login is UNsuccessful(obviously). 3.when first time login is UNsuccessful, than consecutive logins are failed even with right loginID/Pwd. 4. when first time login was failed , URL changed to http://localhost:8080/myApp/login.do?failed=true. 5.when first time login was failed, and than i do second time login with right UID/PWD than URL remains the same and no login is done. 6.when first time login was failed, and than i do second time login with right UID/PWD while URL is changed (manually by me) to http://localhost:8080/myApp/login.do ..than login is successful. database is hitting it is obvious because first time login is always successful if right UID/PWD were used. this problem does not appear on ORACLE app Server.. please suggest any solution. Thanks Regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241527#4241527 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader with Oracle 10g problem
The 2nd problem I have occurs when running with multiple threads. This is a runtime exception being thrown, not a log message. (besides the 1-thread problem still arises in multiple thread environment) This problem appears differently in JSE environment (where only DummyTransactionManager is used), and in Websphere6.1. The exception stack in JSE environment was pasted on the 1st floor of this thread. The stack trace of running in Websphere6.1 is pasted below: | Caused by: org.jboss.cache.pojo.PojoCacheException: init org.jboss.cache.config.configurat...@f7de972e failed | at org.jboss.cache.pojo.impl.PojoCacheImpl.init(PojoCacheImpl.java:75) | at org.jboss.cache.pojo.PojoCacheFactory.createCache(PojoCacheFactory.java:54) | at com.fiserv.detection.eventcache.jboss.JBossPojoCacheStorage.init(JBossPojoCacheStorage.java:26) | at com.fiserv.detection.eventcache.jboss.JBossPojoCacheStorageFactory.getCacheStorage(JBossPojoCacheStorageFactory.java:100) | at com.fiserv.detection.eventcache.statemachine.CacheAccessorFactory.createAccessor(CacheAccessorFactory.java:38) | at com.fiserv.detection.eventcache.api.EventCacheService.createCacheAccessor(EventCacheService.java:62) | at com.fiserv.detection.patternmatching.PatternMatching.init(PatternMatching.java:99) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | at java.lang.reflect.Method.invoke(Method.java:618) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) | ... 88 more | Caused by: org.jboss.cache.CacheException: java.lang.reflect.InvocationTargetException | at org.jboss.cache.util.reflect.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:148) | at org.jboss.cache.factories.ComponentRegistry$PrioritizedMethod.invoke(ComponentRegistry.java:970) | at org.jboss.cache.factories.ComponentRegistry.internalStart(ComponentRegistry.java:746) | at org.jboss.cache.factories.ComponentRegistry.start(ComponentRegistry.java:610) | at org.jboss.cache.invocation.CacheInvocationDelegate.start(CacheInvocationDelegate.java:355) | at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:121) | at org.jboss.cache.pojo.impl.PojoCacheImpl.init(PojoCacheImpl.java:71) | ... 101 more | Caused by: java.lang.reflect.InvocationTargetException | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | at java.lang.reflect.Method.invoke(Method.java:618) | at org.jboss.cache.util.reflect.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:144) | ... 107 more | Caused by: org.jboss.cache.CacheException: Unable to start cache loaders | at org.jboss.cache.loader.CacheLoaderManager.startCacheLoader(CacheLoaderManager.java:467) | ... 112 more | Caused by: java.sql.SQLException: ORA-02089: COMMIT is not allowed in a subordinate session | | at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331) | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288) | at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743) | at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216) | at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955) | at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168) | at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285) | at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3390) | at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.pmiExecute(WSJdbcPreparedStatement.java:735) | at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.execute(WSJdbcPreparedStatement.java:503) | at org.jboss.cache.loader.AdjListJDBCCacheLoader.createDummyTableIfNeeded(AdjListJDBCCacheLoader.java:296) | at org.jboss.cache.loader.AdjListJDBCCacheLoader.start(AdjListJDBCCacheLoader.java:269) | at org.jboss.cache.loader.JDBCCacheLoader.start(JDBCCacheLoader.java:376)
[jboss-user] [JBoss Portal] - Re: What happened to JBoss Portal 2.7.2 bundled download?
Sourceforge had issues yesterday/today, from their mouth an hour ago it was supposed to get back to normal in 4 hours View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241529#4241529 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Lifecycle management of jBPM classes
Hi, I would like to use Spring or TapestryIOC to manage the lifecycle of custom objects used by my process (jBPM4 RC1), ie. my DecisionHandler and ExternalActivityBehaviour classes. Is there a simple way to do this? I can probably write a delegate but a more direct way would be preferable. Many thanks, Alfie. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241530#4241530 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241530 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Getting DB connection from jboss pool via JNDI
anonymous wrote : Is a Tomcat that runs on the same physical machine but in another process than JBoss a 'remote' client? Yes. Any Java app that runs in another java process (not the java process running JBoss AS) is a remote client. And app that runs within the same java process as JBoss AS is considered to be a local client. anonymous wrote : how do you go about letting also JSP's and JSP Beans used in Tomcat profit from the JBoss connection pooling WITHOUT using the Antipattern of putting db resources in the global JNDI namespace You can't. I'm not exactly sure of why this was declared an anti-pattern, but I think it has more to do with the remote access to the datasource than to placing the datasource's name in the global JNDI area. Thus, even with the datasource name in global JNDI, any local access to the datasource is not exhibiting the anti-pattern. anonymous wrote : Is the only alternative to run the tomcat instance embedded in jboss? There is already a Tomcat instance embedded within JBoss AS. Though since 4.2.0 it is called JBoss Web which is based on Tomcat. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241533#4241533 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241533 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message bridge performance in WAN
Thanks for quick response. The bridge is deployed at JBoss Messaging side View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241511#4241511 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241511 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader with Oracle 10g problem
Hi Mircea, Thanks for the response. Do you mean the version I am using does not work for Oracle? I actually have two problems: 1. Running with 1 thread, as pasted above, there are 3 exception traces logged by JBossCache at both WARN and ERROR level, they are not thrown by JbossCache as runtime exception. But these logs contain the exception stack trace which seems internally handled by JbossCache, but I am not sure what JbossCache does except for logging only. These log messages happen a short while after I put something into pojo cache, and not to each put I do. These messages are related to transactions. They are pasted below: | | [2009-07-02 16:57:21,067] [Detection1] ERROR JDBCCacheLoader - Failed to insert node :ORA-01461: can bind a LONG value only for insert into a LONG column | | [2009-07-02 16:57:21,067] [Detection1] WARN TxInterceptor - Caught exception, will now set transaction to roll back | java.lang.IllegalStateException: Failed to insert node: ORA-01461: can bind a LONG value only for insert into a LONG column | | at org.jboss.cache.loader.AdjListJDBCCacheLoader.insertNode(AdjListJDBCCacheLoader.java:514) | at org.jboss.cache.loader.JDBCCacheLoader.addNewSubtree(JDBCCacheLoader.java:345) | at org.jboss.cache.loader.JDBCCacheLoader.put(JDBCCacheLoader.java:147) | at org.jboss.cache.loader.AbstractCacheLoader.put(AbstractCacheLoader.java:294) | at org.jboss.cache.loader.AdjListJDBCCacheLoader.prepare(AdjListJDBCCacheLoader.java:211) | at org.jboss.cache.interceptors.CacheStoreInterceptor.prepareCacheLoader(CacheStoreInterceptor.java:386) | at org.jboss.cache.interceptors.CacheStoreInterceptor.handlePrepareCommand(CacheStoreInterceptor.java:214) | at org.jboss.cache.interceptors.base.SkipCheckChainedInterceptor.visitPrepareCommand(SkipCheckChainedInterceptor.java:310) | at org.jboss.cache.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:68) | at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) | at org.jboss.cache.interceptors.MVCCLockingInterceptor.handlePrepareCommand(MVCCLockingInterceptor.java:320) | at org.jboss.cache.interceptors.base.PrePostProcessingCommandInterceptor.visitPrepareCommand(PrePostProcessingCommandInterceptor.java:383) | at org.jboss.cache.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:68) | at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) | at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131) | at org.jboss.cache.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:140) | at org.jboss.cache.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:68) | at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) | at org.jboss.cache.interceptors.NotificationInterceptor.visitPrepareCommand(NotificationInterceptor.java:50) | at org.jboss.cache.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:68) | at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) | at org.jboss.cache.interceptors.TxInterceptor.runPreparePhase(TxInterceptor.java:638) | at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1041) | at org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:81) | at org.jboss.cache.transaction.DummyTransaction.notifyBeforeCompletion(DummyTransaction.java:284) | at org.jboss.cache.transaction.DummyTransaction.commit(DummyTransaction.java:84) | at org.jboss.cache.transaction.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:99) | at org.jboss.cache.pojo.impl.PojoCacheImpl.endTransaction(PojoCacheImpl.java:152) | at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:116) | at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:93) | at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:88) | at com.fiserv.detection.eventcache.jboss.JBossPojoCacheStorage.update(JBossPojoCacheStorage.java:50) | at com.fiserv.detection.eventcache.statemachine.CacheAccessor.save(CacheAccessor.java:121) | at com.fiserv.detection.eventcache.statemachine.CacheAccessor.matchAll(CacheAccessor.java:62) | at com.fiserv.detection.patternmatching.PatternMatching.doDetection(PatternMatching.java:44) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) |
[jboss-user] [JBoss Messaging] - Re: Bridge Stuck after reconnect
Hi Markus, Are there not 4 queues involved? anonymous wrote : | outgoing ---OutgoingBridge_Liberte2--- local_outgoing | incoming ---IncomingBridge_Liberte2--- local_incoming | Also where are the two bridges deployed, i mean which bridge with which server? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241534#4241534 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: I got a problem when I start the server
Which version of JBoss AS? And where was this file placed? Also are you sure that there were no other dependent items which depended on the existence of this file? Can you post the entire console log (not server.log)? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241538#4241538 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241538 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Creating datasources which needs to be dynamic
mvb wrote : Can any one help me in creating data sources | | Datasource creation is explained here http://www.jboss.org/community/wiki/DSdotXML http://www.jboss.org/community/wiki/ConfigDataSources You can find example files in %JBOSS_HOME%/docs/examples/jca folder. But what do you mean by mvb wrote : that I can use them dynamically? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241540#4241540 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Asynchronous continuations in Weblogic 10.x using MDB (jBPM
After struggling for a few days with asynchronous continuations with the following configuration: Weblogic 10.3 jBPM 3.3.1.GA we could finally make them work. Although we followed configuration instructions from the manual thoroughly, things didn't work as expected. The most weird thing was that the very same configuration worked fine in JBoss 4.2.3.GA. We finally detected that the problem was that the messages sent to JobListenerBean were not being commited. The reason for this is that JBoss and Weblogic handle Non-transacted JMS sessions within a JTA transaction just in the opposite way. For details please read: Weblogic http://e-docs.bea.com/wls/docs103/jms/trans.html#wp1025537 and JBoss http://www.odi.ch/prog/jms-tx.php Unfortunately the kind of session (transacted vs. non-transacted) that jBPM uses is not configurable: it is hardcoded in JmsMessageService.java | /* | * If the connection supports XA, the session will always take part in the global transaction. | * Otherwise the first parameter specifies whether message productions and consumptions | * are part of a single transaction (TRUE) or performed immediately (FALSE). | * Messages are never meant to be received before the database transaction commits, | * hence the transacted is preferable. | */ | session = connection.createSession(true, Session.SESSION_TRANSACTED); | so we had to change that line to: | session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE) ; | Let me emphasize that the change in the first parameter value (true - false) is NOT meant to achieve different behaviors in both application servers. It's just that they both interpret it in the opposite way. (If you don't trust me read the above links :-) ) Hope that this can save other people's time ;-) BTW: I don't know if future releases of jBPM are going to deal with asynchronous continuations in the same way, but if they are, it could be good idea to make this behavior configurable. Best regards, Claudio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241543#4241543 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBOSS Negotiate using AdvancedLdapLoginModule throws bin
OK I solved the bind issue by setting a value in adsiedit dcHeuristics 002 which allows anonymous access to read or list AD. I would have thought that the UPN would be reading the AD and not an anonymous conn. I now have a new error: 2009-07-02 15:56:29,763 DEBUG [org.jboss.security.negotiation.spnego.AdvancedLdapLoginModule] (http-0.0.0.0-8080-1) Obtained LdapContext | 2009-07-02 15:56:29,768 INFO [STDOUT] (http-0.0.0.0-8080-1) [Krb5LoginModule]: Entering logout | 2009-07-02 15:56:29,768 INFO [STDOUT] (http-0.0.0.0-8080-1) [Krb5LoginModule]: logged out Subject | 2009-07-02 15:56:29,768 TRACE [org.jboss.security.negotiation.spnego.SPNEGOLoginModule] (http-0.0.0.0-8080-1) abort | 2009-07-02 15:56:29,768 TRACE [org.jboss.security.negotiation.spnego.AdvancedLdapLoginModule] (http-0.0.0.0-8080-1) abort | 2009-07-02 15:56:29,768 TRACE [org.jboss.security.plugins.auth.JaasSecurityManagerBase.SPNEGO] (http-0.0.0.0-8080-1) Login failure | javax.security.auth.login.LoginException: Unable to find user DN | at org.jboss.security.negotiation.AdvancedLdapLoginModule.findUserDN(AdvancedLdapLoginModule.java:528) | at org.jboss.security.negotiation.AdvancedLdapLoginModule.innerLogin(AdvancedLdapLoginModule.java:343) | at org.jboss.security.negotiation.AdvancedLdapLoginModule$AuthorizeAction.run(AdvancedLdapLoginModule.java:734) | at java.security.AccessController.doPrivileged(Native Method) | at javax.security.auth.Subject.doAs(Unknown Source) | at org.jboss.security.negotiation.AdvancedLdapLoginModule.login(AdvancedLdapLoginModule.java:279) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at javax.security.auth.login.LoginContext.invoke(Unknown Source) | at javax.security.auth.login.LoginContext.access$000(Unknown Source) | at javax.security.auth.login.LoginContext$4.run(Unknown Source) | at java.security.AccessController.doPrivileged(Native Method) | at javax.security.auth.login.LoginContext.invokePriv(Unknown Source) | at javax.security.auth.login.LoginContext.login(Unknown Source) | at org.jboss.security.plugins.auth.JaasSecurityManagerBase.defaultLogin(JaasSecurityManagerBase.java:552) | at org.jboss.security.plugins.auth.JaasSecurityManagerBase.authenticate(JaasSecurityManagerBase.java:486) | at org.jboss.security.plugins.auth.JaasSecurityManagerBase.isValid(JaasSecurityManagerBase.java:365) | at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:160) | at org.jboss.web.tomcat.security.JBossWebRealm.authenticate(JBossWebRealm.java:384) | at org.jboss.security.negotiation.NegotiationAuthenticator.authenticate(NegotiationAuthenticator.java:127) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Unknown Source) | Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - 208D: NameErr: DSID-03151EFD, problem 2001 (NO_OBJECT), data 0, b | est match of: | 'DC=base,DC=myco,DC=com' | ]; remaining name 'OU=Clients,DC=base,DC=myco,DC=com' | at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source) | at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) | at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) | at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source) | at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source) | at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source) | at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source) | at
[jboss-user] [Clustering/JBoss] - Re: HASingletonDeployer ERROR upon secondary server startup
Yes, please do. In the JBAS project. Actually, I see two issues in this thread: 1) Figuring out why the @Depends on your EJB results in a different error message than the expected one that I got when I deployed my example POJO. 2) Coming up with a mechanism to avoid the ERROR message altogether when the missing dependency is due to a known, acceptable condition. Perhaps some SPI, where processors can register themselves with the service that logs this and be given access to the objects that drive the logging. An impl of the SPI that works with/is part of a BarrierController would flag relevant missing dependencies as not being error conditions. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241545#4241545 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Creating datasources which needs to be dynamic
That means I need to configure data sources to access different databases and schema and that need to be selected dynamically. For Example: I have client db clientA--- has client1schema,client2schema,client3schema ect.. clientB--- has client1schema,client2schema,client3schema ect.. In this situation I need to configure data sources. I need to to look up through JNDI name. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241547#4241547 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241547 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa
I (or you or nbelaevski if either is up for it) need to review the session replication code to see how much of an issue this is. I haven't had cycles to do that, which is why my comments here are vague. If the issue is only protecting the attributes, then synching on the facade in the places where we serialize it is fine. If something broader is needed, the best way to decide what to do is the perf test the two approaches. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241548#4241548 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241548 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - PermGen error
We're getting this error when we redeploy a Seam application: 2009-07-02 10:11:30,745 WARN [org.jboss.system.ServiceController] Problem starting service jboss.web.deployment:war=forms_new_employee.war,id=-1855897005 | java.lang.OutOfMemoryError: PermGen space | | 2009-07-02 10:11:59,745 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space We've bumped up the memory and ran into the issue again and again; from what we've read, no matter how much memory you allocate to it, it's only a matter of time before the problem occurs between JBoss and the Sun JVM. Is the solution to switch to the JRockIt JVM? Here are two articles that suggest switching the JVM, among other solutions: http://www.jroller.com/agileanswers/entry/preventing_java_s_java_lang http://blog.yannis-lionis.gr/2007/06/01/javalangoutofmemoryerror-permgen-space-in-jboss/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241541#4241541 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241541 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - SQL error executing test process
Hi, I have developed a simple process but when I run it with a unit test I've got this error: 18:32:46,762 SEV | [Db] FIXME: JBPM-2004 2 records left in table JBPM4_HIST_PROCINST | 18:32:46,800 WRN | [JDBCExceptionReporter] SQL Error: 1025, SQLState: HY000 | 18:32:46,800 SEV | [JDBCExceptionReporter] Error on rename of '.\jbpmdb\jbpm4_comment' to '.\jbpmdb\#sql2-8f8-30' (errno: 152) Im using jBPM 4.0CR1 + jBoss 5.0.0GA + MySQL 5.0 Thank you!!. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241553#4241553 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241553 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: I got a problem when I start the server
Continuing rest of the console log Problem starting service jboss.web.deployment:war=jmx-console.war,id=-985175184 | java.lang.NoSuchMethodError: org.jboss.metadata.WebMetaData.isUseJBossWebLoader()Z | at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:138) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:392) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy31.start(Unknown Source) | at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy32.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy9.deploy(Unknown Source) | at
[jboss-user] [JBoss Messaging] - Re: Clusted FailOver doesn't seem to work correctly with Bri
I forgot to mention that we have the bridge running as a HASingleton on cluster A. The JMSProvider, has two nodes(ie Cluster B nodes B0,B1) configured in the url provider. | mbean code=org.jboss.jms.server.bridge.BridgeService | name=jboss.messaging:service=Bridge,name=OTSPackageBridge | xmbean-dd=xmdesc/Bridge-xmbean.xml | | !-- The JMS provider loader that is used to lookup the source destination -- | depends optional-attribute-name=SourceProviderLoader | jboss.messaging:service=JMSProviderLoader,name=HAJNDIJMSProvider/depends | | !-- The JMS provider loader that is used to lookup the target destination -- | depends optional-attribute-name=TargetProviderLoader | jboss.messaging:service=JMSProviderLoader,name=OTS-HAJNDIJMSProvider/depends | | !-- The JNDI lookup for the source destination -- | attribute name=SourceDestinationLookupcom.company.wop.ots.event.queue/attribute | | !-- The JNDI lookup for the target destination -- | attribute name=TargetDestinationLookupcom.company.wop.ots.event.queue/attribute | attribute name=QualityOfServiceMode0/attribute | | !-- The maximum number of messages to consume from the source | before sending to the target -- | attribute name=MaxBatchSize5/attribute | | !-- The maximum time to wait (in ms) before sending a batch to the target | even if MaxBatchSize is not exceeded. |-1 means wait forever -- | attribute name=MaxBatchTime5000/attribute |!-- The number of ms to wait between connection retrues in the event connections | to source or target fail -- | attribute name=FailureRetryInterval5000/attribute | | !-- The maximum number of connection retries to make in case of failure, | before giving up -1 means try forever-- | attribute name=MaxRetries-1/attribute | | !-- If true then the message id of the message before bridging will be added | as a header to the message so it is available to the receiver. Can then be | sent as correlation id to correlate in a distributed request-response -- | attribute name=AddMessageIDInHeaderfalse/attribute | | /mbean | Here is a snippet of our hajndi-jms-ds.xml | !-- The JMS provider loader -- | mbean code=org.jboss.jms.jndi.JMSProviderLoader | name=jboss.messaging:service=JMSProviderLoader,name=HAJNDIJMSProvider | attribute name=ProviderNameDefaultJMSProvider/attribute | attribute name=ProviderAdapterClass | org.jboss.jms.jndi.JNDIProviderAdapter | /attribute | !-- The combined connection factory -- | attribute name=FactoryRefXAConnectionFactory/attribute | !-- The queue connection factory -- | attribute name=QueueFactoryRefXAConnectionFactory/attribute | !-- The topic factory -- | attribute name=TopicFactoryRefXAConnectionFactory/attribute | !-- Access JMS via HAJNDI -- | attribute name=Properties |java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory |java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces |java.naming.provider.url=${jboss.bind.address:localhost}:1100 |jnp.disableDiscovery=false |jnp.partitionName=${jboss.partition.name:DefaultPartition} |jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4} |jnp.discoveryPort=1102 |jnp.discoveryTTL=16 |jnp.discoveryTimeout=5000 |jnp.maxRetries=1 | /attribute | /mbean | Note:We changed the connection provider to ConnectioFactory, since ClusteredConnectionFactory didn't work | mbean code=org.jboss.jms.jndi.JMSProviderLoader | name=jboss.messaging:service=JMSProviderLoader,name=OTS-HAJNDIJMSProvider | attribute name=ProviderNameOTSJMSProvider/attribute | attribute name=ProviderAdapterClass | org.jboss.jms.jndi.JNDIProviderAdapter | /attribute | !-- The combined connection factory -- | attribute name=FactoryRefConnectionFactory/attribute | !-- The queue connection factory -- | attribute name=QueueFactoryRefConnectionFactory/attribute | !-- The topic factory -- | attribute name=TopicFactoryRefConnectionFactory/attribute | !-- Access JMS via HAJNDI -- | attribute name=Properties |java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory |java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=dev-ots01.test.company.com:1100,dev-ots02.test.company.com:1100 |jnp.disableDiscovery=false |jnp.partitionName=OTS-dev |jnp.discoveryGroup=228.1.2.21 |
[jboss-user] [Clustering/JBoss] - Farm deployment errors with large WAR files
Hi, I am having a problem using the farm deployment model with a large WAR file. My setup: two ubuntu 9.04 servers running sun java 1.6.0_14 and JBoss AS 5.1.0_GA The two systems are connected through a 1 GB link and the default clustering settings are used (meaning UDP multicast, some settings are overridden on startup) Here is the startup command for each server: Server1 ./run.sh -c all -b 10.200.90.105 -Djboss.messaging.ServerPeerID=10 -Djboss.messaging.groupname=TestPostOffice -g TestPartition1 ./run.sh -c all -b 10.200.90.105 -Djboss.messaging.ServerPeerID=11 -Djboss.messaging.groupname=TestPostOffice -g TestPartition1 My first test worked fine, I was using a small war file (410K) pcl...@bks:~/development/servers/jboss-5.1.0.GA/server/all/farm$ ls -l total 440 -rw-r--r-- 1 pclark pclark 6830 2009-06-30 11:12 cluster-examples-service.xml -rw-r--r-- 1 pclark pclark 441162 2009-07-02 12:02 test.war And the file deployed on both servers with: 12:03:50,614 INFO [TomcatDeployment] deploy, ctxPath=/test However, the problem comes in with a larger war file. The second test was with a 120MB file. The file deploys on one server, but not on the other. It fails with the error: 2009-07-02 11:16:57,801 INFO [org.jboss.profileservice.cluster.repository.DefaultRepositoryClusteringHandler] (HDScanner) Unable to acquire local lock: Unable to acquire lock as it is held by 10.200.90.105:1099 2009-07-02 11:16:57,801 ERROR [org.jboss.system.server.profileservice.repository.clustered.ClusteredDeploymentRepository] (HDScanner) getModifiedDeployments(): Cannot acquire local lock In addition, if I bring the master server up by itself and deploy through the farm directory, it deploys successfully. I will then bring up a second server and it will deploy successfully. However, if I bring them all up at once it fails with the locking error. Or if I try to deploy once all servers in the cluster are up it fails with the locking error. We were thinking that the size of the file was the problem. So we iteratively scaled down the war file until we could get it to successfully deploy. It appears that the limit is around 2MB. Does anyone know what might be happening here? Are there any ideas on how to get the farm deployment to work reliably with large war files? Thanks for your time, Patrick View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241567#4241567 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241567 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Farm deployment errors with large WAR files
I made a mistake in my post. the two servers are started up with the commands: Server1 ./run.sh -c all -b 10.200.90.103 -Djboss.messaging.ServerPeerID=10 -Djboss.messaging.groupname=TestPostOffice -g TestPartition1 Server2 ./run.sh -c all -b 10.200.90.105 -Djboss.messaging.ServerPeerID=11 -Djboss.messaging.groupname=TestPostOffice -g TestPartition1 Thanks for your time, Patrick View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241568#4241568 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241568 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: High CPU on JSF auto-complete
Strangely enough, I went back to eclipse 3.3 with jboss richfaces vpe / jboss tools core 2.1.1 GA and it works great like it used to. First time a brief delay to compile, then fast all around. That will teach me to upgrade. :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241570#4241570 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241570 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Stand-Alone Messaging: Trouble Configuring a Core Bridge
I'm trying to set up a simple core bridge from a queue on server0 to a queue on server1 using JBoss 2.0.0 BETA3, and can't seem to make it work. Both JMS servers start, but when I put messages on the queue with my producer on server0 the messages are never read by the consumer on server1. Any ideas why? If I run producer and consumer on the same host the consumer receives all of the messages produced, so I know each server works by itself. The problem is with the bridging. Also interesting is that if I change the remote connector port in the server0 configuration it complains, so I know server0 is making some sort of connection to server1. The config files for server0 (forgive typos, I have to re-type the config files here because I can't access the Internet from the system I'm working on): jbm-jms.xml | configuration xmlns=urn:jboss:messaging |xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; |xsi:schemaLocation=urn:jboss:messaging /schema/jbm-jms.xsd |connection-factory name=ConnectionFactory | connector-ref connector-name=netty / | entries | entry name=ConnectionFactory / | /entries |/connection-factory |queue name=amessage | entry name=/queue/amessage / |/queue | /configuration | jbm-configuration.xml | configuration xmlns=urn:jboss:messaging |xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; |xsi:schemaLocation=urn:jboss:messaging /schema/jbm-configuration.xsd |clusteredtrue/clustered |connectors | connector name=netty | factory-classorg.jboss.messaging.integration.transports.netty.NettyConnectorFactory/factory-class | param key-jbm.remoting.netty.port value=5445 type=Integer / | /connector | connector name=remote | factory-classorg.jboss.messaging.integration.transports.netty.NettyConnectorFactory/factory-class | param key-jbm.remoting.netty.port value=5446 type=Integer / | param key-jbm.remoting.netty.host value=server1 type=Strnig / | /connector |/connectors |acceptors | acceptor name=netty | factory-classorg.jboss.messaging.integration.transports.netty.NettyAcceptorFactory/factory-class | param key-jbm.remoting.netty.port value=5445 type=Integer / | /acceptor |/acceptors |queues | queue name=jms.queue.amessage | addressjms.queue.amessage/address | /queue |/queues |bridges | bridge name=server1-amessage-bridge | queue-namejms.queue.amessage/queue-name | forwarding-addressjms.queue.amessage/forwarding-address | connector-ref connector-name=remote / | /bridge |/bridges |security-enabledfalse/security-enabled | /configuration | The configuration for server1: jbm-jms.xml is identical to that for server0. jbm-configuration.xml | configuration xmlns=urn:jboss:messaging |xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; |xsi:schemaLocation=urn:jboss:messaging /schema/jbm-configuration.xsd |clusteredtrue/clustered |connectors | connector name=netty | factory-classorg.jboss.messaging.integration.transports.netty.NettyConnectorFactory/factory-class | param key-jbm.remoting.netty.port value=5446 type=Integer / | /connector |/connectors |acceptors | acceptor name=netty | factory-classorg.jboss.messaging.integration.transports.netty.NettyAcceptorFactory/factory-class | param key-jbm.remoting.netty.port value=5446 type=Integer / | /acceptor |/acceptors |security-enabledfalse/security-enabled | /configuration | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241571#4241571 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Stand-Alone Messaging: Trouble Configuring a Core Bridge
Also you have a typo here: param key-jbm.remoting.netty.host value=server1 type=Strnig / (Strnig) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241573#4241573 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241573 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - bindCredential encryption issue on JBoss 5.0.1
Hello, Running into an issue with encrypted bindCredential in a LdapExtLoginModule login module, which is working fine using JBoss 4.2.3 (encryption setup done according to the instructions found here: http://www.jboss.org/community/wiki/LdapExtLoginModuleWithJaasSecurityDomain) the following error shows up in the server logs. Any ideas of what could be wrong? thanks in advance 2009-07-02 10:18:00,968 DEBUG [org.jboss.security.auth.spi.LdapExtLoginModule] (http-127.0.0.1-8080-1) Bad password for username=x java.security.NoSuchAlgorithmException: No transformation given at javax.crypto.Cipher.a(Unknown Source) at javax.crypto.Cipher.b(Unknown Source) at javax.crypto.Cipher.getInstance(Unknown Source) at org.jboss.security.auth.spi.DecodeAction.decode(DecodeAction.java:89) at org.jboss.security.auth.spi.DecodeAction.decode64(DecodeAction.java:72) at org.jboss.security.auth.spi.DecodeAction.run(DecodeAction.java:62) at java.security.AccessController.doPrivileged(AccessController.java:246) at org.jboss.security.auth.spi.DecodeAction.decode(DecodeAction.java:102) at org.jboss.security.auth.spi.LdapExtLoginModule.createLdapInitContext(LdapExtLoginModule.java:326) at org.jboss.security.auth.spi.LdapExtLoginModule.validatePassword(LdapExtLoginModule.java:276) at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:210) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:795) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:209) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:709) at java.security.AccessController.doPrivileged(AccessController.java:246) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:706) at javax.security.auth.login.LoginContext.login(LoginContext.java:603) at org.jboss.security.plugins.auth.JaasSecurityManagerBase.defaultLogin(JaasSecurityManagerBase.java:552) at org.jboss.security.plugins.auth.JaasSecurityManagerBase.authenticate(JaasSecurityManagerBase.java:486) at org.jboss.security.plugins.auth.JaasSecurityManagerBase.isValid(JaasSecurityManagerBase.java:365) at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:160) at org.jboss.security.javaee.EJBAuthenticationHelper.isValid(EJBAuthenticationHelper.java:87) at org.jboss.ejb.plugins.SecurityActions$13.run(SecurityActions.java:543) at org.jboss.ejb.plugins.SecurityActions$13.run(SecurityActions.java:541) at java.security.AccessController.doPrivileged(AccessController.java:197) at org.jboss.ejb.plugins.SecurityActions.isValid(SecurityActions.java:539) at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityContext(SecurityInterceptor.java:314) at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:243) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:205) at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:136) at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invokeHome(PreSecurityInterceptor.java:88) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107) at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:639) at org.jboss.ejb.Container.invoke(Container.java:1046) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:362) at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241574#4241574 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241574 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Clusted FailOver doesn't seem to work correctly with Bri
We're using postgres to persist messages. In the file postgresql-persistence-service.xml, I configured the PostOffice to | attribute name=Clusteredtrue/attribute | attribute name=FailoverOnNodeLeavetrue/attribute | Is this correct? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241577#4241577 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241577 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jBoss and Hibernate
Sorry, already solved it, i didnt have the right jars. Thanks anyway! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241581#4241581 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jBoss and Hibernate
Which version of JBoss AS are you using? I found the QuerySyntaxException in common/lib/hibernate-core.jar, so it should be available. Could you post your JAR or EAR file that contains the EJB? Use: jar -tf xxx.jar where xxx.jar is the name of your JAR (or EAR) file. Also, is the code that you posted from and EJB3 session bean? If so, where are the entity beans located relative to the session bean? The stack trace suggests that you are attempting to access the entity beans remotely... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241579#4241579 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241579 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user