[JBoss-user] [Security JAAS/JBoss] - Bug: security-domain-and-application make impossible to cr
Hi All, JBoss has great feature to specify custom login module for Data Sources via Security-Domains (Application-Policy). So configured modules will be used by ds.CreateConnetion(...) calls. It's excelent. There are three possibility to configure each datasource: application-managed-security/ security-domain/ and mixed security-domain-and-application First both working excelent, but security-domain-and-application makes impossible application login, when some domain is specified. It's my configuration files: 1. Domain Configuration: application-policy name = DummyDomain login-module code=org.jboss.resource.security.ConfiguredIdentityLoginModule flag=required module-option name=principaldummyuser/module-option module-option name=userdummy/module-option module-option name=passuser/module-option module-option name=managedConnectionFactoryNamejboss.jca:service=LocalTxCM,name=JBDB/module-option /login-module /application-policy So you can see it's just dummy domain, which has some username/password configurations (unexisting in database) in this example, but it malkes no sence which LoginModule is used. 2. DataSource Configuration: local-tx-datasource jndi-nameJBDB/jndi-name connection-urljdbc:oracle:thin:@[...]:[...]/connection-url driver-classoracle.jdbc.driver.OracleDriver/driver-class security-domain-and-applicationDummyDomain/security-domain-and-application exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name type-mappingOracle9i/type-mapping /local-tx-datasource Like it described in documentation and I saw in the source-code, it should work following way: 1. It will use Domain Configuration (user, configured in Login-Module) by ds.GetConnection() call (w/o params) 2. It will use Application Configuration by ds.GetConnection(userName, password) (application I mean that will be used parameters username/password instead configured in LoginModule). Bug Description: Also by ds.GetConnection(userName, password) call, JBoss trying to make connection by credentials specified for Security-Domain. So if we change Security-Domain-and-application just to security-domain - it will make no difference. Only application-managed-security/ setting make Application working. In other words security-domain-and-application disables Application Login and make same job as security-domain. I debuged the source and probably found the place, where it happens: BasedWrapperConnectionManagedConnectionFactory: ... Properties props = new Properties(); props.putAll(connectionProps); if (subject != null) { if (SubjectActions.addMatchingProperties(subject, props, this) == true) return props; throw new JBossResourceException(No matching credentials in Subject!); } ... But subject is always created (can be with null principials), if DataSource has security domain associated: BaseConnectionManager2: ... private Subject getSubject() { Subject subject = null; if (securityDomain != null) { /* Authenticate using the caller info and obtain a copy of the Subject state for use in establishing a secure connection. A copy must be obtained to avoid problems with multiple threads associated with the same principal changing the state of the resulting Subject. */ Principal principal = GetPrincipalAction.getPrincipal(); Object credential = GetCredentialAction.getCredential(); subject = new Subject(); if (securityDomain.isValid(principal, credential, subject) == false) { throw new SecurityException(Invalid authentication attempt, principal= + principal); } // end of if } // end of if () ... Or I'm wrong and it's not a bug and it's a feature? :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891740#3891740 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891740 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Problems with JBossCache
I am using the latest one: 1.2.3 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891744#3891744 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891744 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: How to get the value in switch case ?
Would you please to give me a simple example to do that ? Eric View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891745#3891745 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891745 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Startup servlet invoking Secured EJB
Hi, I have a startup servlet which is invoking an secured EJB. I am able to invoke the method the bean without any exceptions. My question is, what role does the startup servlet use for invoking the bean, since no user has yet logged in? How is it able to invoke the method on the bean, which is secured? Thank you View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891747#3891747 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891747 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - could not find deserializer for type
Hi , I'm new to Web services. I'm trying to call a web service which is running in Jboss-4.0.2. I'm returning Data Object from Web service method. When I call that method, I'm getting the following error from the Standalone client. Please help me to find out the solution for this. Console anonymous wrote : | | ulr :: http://T5-1FB-140531:8080/csda/csda/AcceptRequest?wsdl | Contacting webservice at http://T5-1FB-140531:8080/csda/csda/AcceptRequest?wsdl | New approach | log4j:WARN No appenders could be found for logger (org.jboss.webservice.EngineConfigurationFinder). | log4j:WARN Please initialize the log4j system properly. | AxisFault | faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client | faultSubcode: | faultString: Deserializing parameter 'getMetaData': could not find deserializer for type {http://com.test.csda.imaging/ws_acceptrequest/types}getMetaData | faultActor: | faultNode: | faultDetail: | | org.jboss.axis.AxisFault: Deserializing parameter 'getMetaData': could not find deserializer for type {http://com.test.csda.imaging/ws_acceptrequest/types}getMetaData | at org.jboss.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:303) | at org.jboss.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:142) | at org.jboss.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1249) | at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) | at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) | at javax.xml.parsers.SAXParser.parse(Unknown Source) | at org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:257) | at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:684) | at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428) | at org.jboss.axis.client.Call.invokeEngine(Call.java:3077) | at org.jboss.axis.client.Call.invoke(Call.java:3039) | at org.jboss.axis.client.Call.invoke(Call.java:2629) | at org.jboss.axis.client.Call.invoke(Call.java:2538) | at org.jboss.axis.client.Call.invokeInternal(Call.java:1976) | at org.jboss.axis.client.Call.invoke(Call.java:1914) | at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265) | at com.test.csda.imaging.client.CSDAAcceptRequestWsClient.doProcess(CSDAAcceptRequestWsClient.java:87) | at com.test.csda.imaging.client.CSDAAcceptRequestWsClient.main(CSDAAcceptRequestWsClient.java:39) | Exception in thread main | | Client anonymous wrote : | | | /* | * Created on Jul 21, 2005 | * | * TODO To change the template for this generated file go to | * Window - Preferences - Java - Code Style - Code Templates | */ | package com.test.csda.imaging.client; | | | import java.net.URL; | import java.net.URLClassLoader; | | import javax.xml.namespace.QName; | import javax.xml.rpc.Service; | import javax.xml.rpc.ServiceFactory; | import org.jboss.webservice.client.ServiceFactoryImpl; | import javax.naming.*; | import java.util.*; | import javax.xml.rpc.Service; | import javax.xml.rpc.ServiceException; | | | import com.test.csda.imaging.common.WebServiceDO; | import com.test.csda.imaging.ws_acceptrequest.AcceptRequest; | | import javax.xml.rpc.Call; | | | /** | * @author satya | * | * TODO To change the template for this generated type comment go to | * Window - Preferences - Java - Code Style - Code Templates | */ | public class CSDAAcceptRequestWsClient { | | public static void main(String[] args) throws Exception{ | | new CSDAAcceptRequestWsClient().doProcess(); | } | | public void doProcess() throws Exception { | | String urlstr = http://T5-1FB-140531:8080/csda/csda/AcceptRequest?wsdl;; | | | | System.out.println(ulr :: +urlstr); | String jobId = A123; | String jobtype = JobType; | String colorCode = MONO; | String grFormat = jpeg; | int height=123; | int width=123; | | System.out.println(Contacting webservice at + urlstr); | URL wsdlURL = new URL(urlstr);
[JBoss-user] [Security JAAS/JBoss] - Re: saving j_username as session/request parameter
madalvi wrote : Few questions: | 1. Where do I put cotext.xml file? | 2. Where do I put the FormAuthValve class? | 1. I put it in the application WEB-INF folder 2. If you're using jboss 4.0.2 you just link your project to the library root_of_jboss\server\default\deploy\jbossweb-tomcat55.sar\tomcat55-service.jar which contains the class you need, then you configure it as in the wiki example. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891750#3891750 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891750 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Looking for example code
With J2EE-1.4 compliant WS clients, you add the handler to the service-ref element, like this | enterprise-beans | session | ejb-nameHelloEjb/ejb-name | homeorg.jboss.test.webservice.handlerflow.HelloHome/home | remoteorg.jboss.test.webservice.handlerflow.HelloRemote/remote | ejb-classorg.jboss.test.webservice.handlerflow.HelloBean/ejb-class | session-typeStateless/session-type | transaction-typeContainer/transaction-type | service-ref | service-ref-nameservice/HelloService/service-ref-name | service-interfacejavax.xml.rpc.Service/service-interface | wsdl-fileMETA-INF/wsdl/HelloService.wsdl/wsdl-file | jaxrpc-mapping-fileMETA-INF/jaxrpc-mapping.xml/jaxrpc-mapping-file | handler | handler-nameClientHandler1/handler-name | handler-classorg.jboss.test.webservice.handlerflow.ClientHandler1/handler-class | soap-headerimpl:HelloHeader/soap-header | /handler | handler | handler-nameClientHandler2/handler-name | handler-classorg.jboss.test.webservice.handlerflow.ClientHandler2/handler-class | soap-headerimpl:HelloHeader/soap-header | /handler | /service-ref | /session | /enterprise-beans | There is no portable API that allows you to do that in WS4EE. Access to HandlerRegistry is not allowed. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891752#3891752 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891752 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Can I use log4j 1.3 in JBoss 4.0.3?
Can I somehow replace the log4j with the latest alpha (log4j 1.3 alpha 6)? I tried to just replace the log4j jar with the new one, but I got the following error: 09:31:20,671 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml | 09:31:20,734 WARN [ServiceController] Problem creating service jboss.system:type=Log4jService,service=Logging | java.lang.IncompatibleClassChangeError | at org.apache.log4j.joran.spi.JoranDocument.resolveEntity(JoranDocument.java:125) | at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source) | at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source) | at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) | at javax.xml.parsers.SAXParser.parse(Unknown Source) | at javax.xml.parsers.SAXParser.parse(Unknown Source) | at org.apache.log4j.joran.JoranConfigurator$1.parse(JoranConfigurator.java:87) | at org.apache.log4j.joran.JoranConfigurator.doConfigure(JoranConfigurator.java:153) | at org.apache.log4j.joran.JoranConfigurator.doConfigure(JoranConfigurator.java:90) | at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:61) | at org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(Log4jService.java:624) | at org.jboss.logging.Log4jService$URLWatchTimerTask.run(Log4jService.java:563) | at org.jboss.logging.Log4jService.setup(Log4jService.java:450) | at org.jboss.logging.Log4jService.createService(Log4jService.java:466) | at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:233) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:215) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) | at $Proxy0.create(Unknown Source) | at org.jboss.system.ServiceController.create(ServiceController.java:342) | at org.jboss.system.ServiceController.create(ServiceController.java:281) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy4.create(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:229) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:919) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:773) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:721) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[JBoss-user] [JBossWS] - Re: Looking for example code
In case you don't know how to do this for a standalone java client, have a look at application-client.xml. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891754#3891754 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891754 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: saving j_username as session/request parameter
niwhsa wrote : Why dont you put a servlet filter for the j_security_check servlet in your web.xml. In the filter code, you will have access to the request object from where you can read j_username and store it in the session. This would be the easiest way of doing this without tampering with the app server code. read this http://wiki.jboss.org/wiki/Wiki.jsp?page=CustomizingSecurityUsingValves and you'll have the answers you are looking for. If you don't like having jboss classes configured in your project, you may define your own valve extendig the tomcat native one Cheers View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891755#3891755 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891755 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Time out
Default tx timeout in jboss is 5 minutes. This can be configured in conf/jboss-service.xml under TransactionManagerService. I would assume your SLSB does a lot of work and surpasses this 5 minute timeframe. You may have to either increase the tx timeout or split up your transaction. Joachim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891746#3891746 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891746 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Accessing a JSP outside the APllication Server..
Well the JSP will have to be running in some form of app server wether this be JBoss, Tomcat or whatever?? So all you can do is use the URI of the JSP/servlet on that app server i.e. hostname:port(optional)/dir/file.jsp - if you are trying to forward the servlet dispatcher onto that jsp then use the uri as above or am I missing the point here? Shaun View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891760#3891760 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891760 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Error while deploying web service
Praneeth, two things. First, you might want to go into the log4j.xml file under the conf directory and change the org.jboss.axis setting from 'info' to 'debug'. However, this will give you LOTS of messages, but may be what you need to see why your app isn't working. Second, it could be that you've not called the Adobe Policy Server correctly. Can you run the code (assuming that it's a POJO) outwith the webservice ok? I've not used this before, so I'm just speculating on what I'd do. Good luck. Bruce View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891761#3891761 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891761 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Error while running the webservice thru JSP client in Jboss
Hi I created a webservice which runs fine when the client is a java application but it gives the error when i tries to invoke the same webservice in Struts Action class. java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.net.jmx.adaptor.AttributeSerFactory Please reply ASAP. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891763#3891763 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891763 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: org.jboss.webservice.client.PortProxy - Port error NullP
Yes this is a known issue http://jira.jboss.com/jira/browse/JBWS-187 When posting can you please include the JBoss version and JDK version you are using. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891765#3891765 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891765 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - URLDeploymentScanner absolute path and log4j error
I have an application using its own log4j.xml (as explain on Wiki). A RollingFileAppender is define. Deploying this application on default path (deploy/) work fine. Log file is created. Deploying on absolute path (file://d:/java/jboss/default), log file is not created. Definition of absolute path in jboss-server.xml deploy/,file://d:/java/jboss/default Any idea ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891766#3891766 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891766 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Problem with custom data type holder
Correct me if I am wrong. I don't see a J2EE spec violation for JAX-RPC accepted value types if my WSStatus class looks like this. | public class WSStatus extends Status { | public WSStatus() {} | //...no other methods | } | where Status looks like | public class Status implements Serializable { | public static final int OK = 0; | public static final int SYSTEMERR = -1; | //and similar other constants | | private int type; | private String fieldName; | private String fieldValue; | | public Status() {} | //...other constructors and accessor methods for the private fields | } | I thought such value classes can implement any interface except Remote. Funny enough, when I redeclared the WSStatus as | public class WSStatus { | private int type; | private String fieldName; | private String fieldValue; | | public WSStatus() {} | //...other constructors and accessor methods for the private fields | } | and its RPC holder class as I mentioned before, it started working fine. Was I missing something? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891767#3891767 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891767 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - JBoss Portal 2.0.1RC1 released
The portal team is proud to release JBoss Portal 2.0.1RC1 JBoss Portal http://download.jboss.org/jbossportal/2.0.1RC1/jboss-portal-2.0.1RC1.zip JBoss Portal bundled with JBoss 4.0.2 : http://download.jboss.org/jbossportal/2.0.1RC1/jboss-portal-2.0.1RC1-jboss-4.0.2.zip JBoss Portal sources http://download.jboss.org/jbossportal/2.0.1RC1/jboss-portal-2.0.1RC1-src.tar.gz JBoss Forums http://download.jboss.org/jbossportal/2.0.1RC1/jboss-forums-2.0.1RC1.zip JBoss Forums sources http://download.jboss.org/jbossportal/2.0.1RC1/jboss-forums-2.0.1RC1-src.tar.gz Changelog http://download.jboss.org/jbossportal/2.0.1RC1/changes.txt View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891769#3891769 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891769 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBoss Portal 2.0.1RC1 released
Thanks to Boleslaw which did most of the work and helped to release View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891770#3891770 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891770 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Need to specify class name in environment or system prop
Hoe are you starting your application? You need to make sure the directory containing the jndi.properties is on the classpath but how to do this will depend on how you are running the client. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891768#3891768 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891768 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Fedora,JBoss 3.2.7, MySQL 4.1.2 Access denied
Hi All, I can't set up this environment. All I did is: 1) I unpacked the installation package of JBoss (just downloaded from jboss.com) 2) Copied mysql-connector-java-3.1.10-bin.jar into default/lib directory 3) As written in many tutorials, I edited files in conf direcotry as follows: login-config.xml: Added |application-policy name = MySqlDbRealm | authentication | login-module code = org.jboss.resource.security.ConfiguredIdentityLoginModule flag = required | module-option name =principalroot/module-option | module-option name =userNameroot/module-option | module-option name =passwordmySecret/module-option | module-option name =managedConnectionFactoryNamejboss.jca:service=LocalTxCM,name=MySqlDS/module-option | /login-module | /authentication |/application-policy | standardjaws.xml Changed type-mappingmySQL/type-mapping for java:/DefaultDS datasource standardjbosscmp-jdbc.xml Changed datasource-mappingmySQL/datasource-mapping for java:/DefaultDS datasource Under deploy directory Added file mysql-ds.xml with following content: | datasources | local-tx-datasource | jndi-nameDefaultDS/jndi-name | connection-urljdbc:mysql://localhost:3306/test/connection-url | driver-classcom.mysql.jdbc.Driver/driver-class | user-nameroot/user-name | passwordmySecret/password | exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter/exception-sorter-class-name | /local-tx-datasource | /datasources | Under deploy/jms I added the mysql-jdbc2-service.xml file I deleted files hsqldb-jdbc2-service.xml and hsqldb-ds.xml During the booting of JBoss I get many exceptions, the main of them is: | MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: | ObjectName: jboss.mq:service=StateManager | state: FAILED | I Depend On: jboss.jca:service=LocalTxCM,name=DefaultDS | | Depends On Me: jboss.mq:service=DestinationManager | javax.management.MBeanException: org.jboss.mq.SpyJMSException: Error creating connection to the database.; - nested throwable: (org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'root'@'localhost.localdomain' (using password: YES)); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'root'@'localhost.localdomain' (using password: YES | ObjectName: jboss.mq:service=PersistenceManager | state: FAILED | I Depend On: jboss.jca:service=LocalTxCM,name=DefaultDS | | Depends On Me: jboss.mq:service=DestinationManager | javax.management.MBeanException: org.jboss.mq.SpyJMSException: Could not get a connection for jdbc2 table construction ; - nested throwable: (org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'root'@'localhost.localdomain' (using password: YES)); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'root'@'localhost.localdomain' (using password: YES | Of course mysqld is running and I can connect to it using 'mysql -u root -p'. In Wiki page http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAMysqlDatasource I found that there's an issue with RedHat's systems. Please, how can I solve this problem? I would like to deploy EJBs to this server with local mysql database running. Thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891772#3891772 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891772 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Error while running the webservice thru JSP client in Jb
I am using axis with Jboss View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891773#3891773 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891773 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Fedora,JBoss 3.2.7, MySQL 4.1.2 Access denied
You need to read the MySQL documentation and look at how to grant users access to your database. It is possible that the root account has not been given permission to connect over TCP/IP. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891774#3891774 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891774 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Fedora,JBoss 3.2.7, MySQL 4.1.2 Access denied
In mysql console I called: GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'mySecret' WITH GRANT OPTION; flush privileges; Unfortunately the JBoss still can't properly boot. As I read in MySQL documentation, the TCP connection is prefered and used SHOULD be used by 'mysql' command too. Thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891776#3891776 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891776 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Deploying .ear file in the farm folder of one node is not ge
Hi, Deploying .ear file in the farm folder of one node is not getting pushed to other nodes. Please suggest. Thanks Regards, -GnanaShekar- View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891779#3891779 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891779 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Listener is not notified with nodeRemoved
Hi, I am using jboss cache version 1.2.1 and the listeners I register to caches are not notified with nodeRemoved when a node is removed from cache. I searched to see whether there is a bug reported for this and I found [http://jira.jboss.com/jira/browse/JBCACHE-119]. The bug is reported as fixed in 1.2.3. I took the jboss-cache.jar from 1.2.3 distribution but I still have the problem. Is this still a problem in jboss-cache? Is there some newer fix in some newer version? thanks, Claudiu [/url] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891780#3891780 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891780 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Deploying .ear file in the farm folder of one node is no
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891781#3891781 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891781 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - AbstractPersistetCollection local class incompatible
Hi, all. I'm developing an application in JBoss 4.0.2 with Hibernate 3 and Jbpm 3. Also, I have an EJB for give access to a Swing remote client. Also, the EJB is a BMP (I'm going to put another topic that why I've chosed BMP instead CMP, beacuse something was wrong). I have the next problem: If I call the next method of the EJB List getInstancesByUser(Tercero user){ ... } I obtain the next exception: | | java.lang.reflect.UndeclaredThrowableException | at $Proxy1.executeCommand(Unknown Source) | at test.command.WorkFlowEJBTerceroCommandTest.testClientEJB(WorkFlowEJBTerceroCommandTest.java:28) | 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:324) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) | at junit.framework.TestCase.run(TestCase.java:118) | at junit.framework.TestSuite.runTest(TestSuite.java:208) | at junit.framework.TestSuite.run(TestSuite.java:203) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:474) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:342) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:194) | Caused by: java.io.InvalidClassException: org.hibernate.collection.AbstractPersistentCollection; local class incompatible: stream classdesc serialVersionUID = 7663409046372276524, local class serialVersionUID = -7982170513654570219 | at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463) | at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) | at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) | at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) | at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) | at java.util.ArrayList.readObject(ArrayList.java:547) | 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:324) | at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) | at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) | at java.rmi.MarshalledObject.get(MarshalledObject.java:135) | at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:119) | at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227) | at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167) | at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)No existen tramites para el tercero cuyo dni es
[JBoss-user] [Clustering/JBoss] - Load balancing
Hi all, can anyone help me on this issue I have two jboss4.0.2 instances running on two different machines with ip 10.1.1.131 and 10.1.1.69. I am using mod_jk_1.2 load balancer and Apache webserver. I have deployed my ear on node1 which is 10.1.1.131 and its successfully deployed on node2 also. I have got my EJBs clustered by setting true and defaultpartition tag in jboss.xml. when i run my application seperately on both machines everything is working fine. Both machines are recognising each other. Can anyone please tell me how can i send a request to one unique ip address which is then load balanced to different machines using the load balancer. I am using the following url on node1 and node2 machines http://10.1.1.131:8080/xlWebApp http://10.1.1.69:38080/xlWebApp I will be very very thankful if anyone can suggest me. I am new to jboss clustering so please help me. My workers.properties file is # Define list of workers that will be used # for mapping requests worker.list=loadbalancer,status # Define Node1 worker.node1.port=8009 worker.node1.host=10.1.1.131 worker.node1.type=ajp13 worker.node1.lbfactor=1 #worker.node1.local_worker=1 (1) worker.node1.cachesize=10 # Define Node2 worker.node2.port=8009 worker.node2.host=10.1.1.69 worker.node2.type=ajp13 worker.node2.lbfactor=1 #worker.node2.local_worker=1 (1) worker.node2.cachesize=10 # Load-balancing behaviour worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=node1, node2 worker.loadbalancer.sticky_session=1 worker.loadbalancer.local_worker_only=1 worker.list=loadbalancer # Status worker for managing load balancer worker.status.type=status My mod-jk_conf file is # Load mod_jk module # Specify the filename of the mod_jk lib LoadModule jk_module modules/mod_jk.so # Where to find workers.properties JkWorkersFile conf/workers.properties # Where to put jk logs JkLogFile logs/mod_jk.log # Set the jk log level [debug/error/info] JkLogLevel info # Select the log format JkLogStampFormat [%a %b %d %H:%M:%S %Y] # JkOptions indicates to send SSK KEY SIZE JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories # JkRequestLogFormat JkRequestLogFormat %w %V %T # Mount your applications JkMount /application/* loadbalancer # You can use external file for mount points. # It will be checked for updates each 60 seconds. # The format of the file is: /url=worker # /examples/*=loadbalancer JkMountFile conf/uriworkermap.properties # Add shared memory. # This directive is present with 1.2.10 and # later versions of mod_jk, and is needed for # for load balancing to work properly JkShmFile logs/jk.shm # Add jkstatus for managing runtime data Location /jkstatus/ JkMount status Order deny,allow Deny from all Allow from all My server.xml is Server !-- Use a custom version of StandardService that allows the connectors to be started independent of the normal lifecycle start to allow web apps to be deployed before starting the connectors. -- !-- A HTTP/1.1 Connector on port 8080 -- !-- A AJP 1.3 Connector on port 8009 -- !-- SSL/TLS Connector configuration using the admin devl guide keystore -- !-- The JAAS based authentication and authorization realm implementation that is compatible with the jboss 3.2.x realm implementation. - certificatePrincipal : the class name of the org.jboss.security.auth.certs.CertificatePrincipal impl used for mapping X509[] cert chains to a Princpal. -- !-- A subclass of JBossSecurityMgrRealm that uses the authentication behavior of JBossSecurityMgrRealm, but overrides the authorization checks to use JACC permissions with the current java.security.Policy to determine authorized access. -- !-- Uncomment to enable request dumper. This Valve logs interesting contents from the specified Request (before processing) and the corresponding Response (after processing). It is especially useful in debugging problems related to headers and cookies. -- !-- -- !-- Access logger -- !-- -- !-- Uncomment to enable single sign-on across web apps deployed to this host. Does not provide SSO across a cluster. If this valve is used, do not use the JBoss ClusteredSingleSignOn valve shown below. -- !-- -- !-- Uncomment to enable single sign-on across web apps deployed to this host AND to all other hosts in the cluster with the same virtual hostname. If this valve is used, do not use the standard Tomcat SingleSignOn valve
[JBoss-user] [JBossCache] - Can not retrieve object from nodeCreated method of listener
Hi, I am using jboss-cache version 1.2.1. I have a listener registered to a cache. When a new object is added to the cache the listener is notified with nodeCreated event. In the nodeCreated method I try to read the object from the cache, based on the key I receive, using a get call but I receive NULL. Is this a defect? I searched to see whether there is a defect reported for this and I found http://jira.jboss.com/jira/browse/JBCACHE-192 Is there a fix or it is still an open issue? thanks, Claudiu View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891784#3891784 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891784 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Problems with ibmjdk-1.4.2 and JBossCache
I'm using JBossCache (1.2.3) with ibmjdk-1.4.2. While runnung test on the JBossCache (putting objects, in the LOCAL IsolationLevel) the VM problem ossurs. While running it in REPL_SYNC/REPL_ASYNC IsolationLevel the following exception was thrown: org.jboss.cache.lock.TimeoutException: rsp=sender=172.30.186.107:1121, retval=null, received=false, suspected=false at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2205) at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2227) at org.jboss.cache.interceptors.ReplicationInterceptor.handleReplicatedMethod(ReplicationInterceptor.java:120) at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:85) at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3116) at org.jboss.cache.TreeCache.put(TreeCache.java:1762) at org.jboss.cache.TreeCache.put(TreeCache.java:1702) Is is important to notice that each time new instance of TreeCache is created (despite of previous closing) members list is from the previous instance kept ... INFO org.jboss.cache.TreeCache - viewAccepted(): new members: [172.30.186.107:1121, 172.30.186.146:2582, 172.30.186.156:2193, 172.30.186.138:2670, 172.30.186.116:2535, 172.30.186.138:2677] To close the TreeCache i call: cache.stopService(); cache.destroyService(); cache = null; What can be the reason of that behaviour ? Does JBossCache work with the IBM VM ??? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891785#3891785 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891785 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Problems with ibmjdk-1.4.2 and JBossCache
I'm using JBossCache (1.2.3) with ibmjdk-1.4.2. While runnung test on the JBossCache (putting objects, in the LOCAL IsolationLevel) the VM problem ossurs. While running it in REPL_SYNC/REPL_ASYNC IsolationLevel the following exception was thrown: org.jboss.cache.lock.TimeoutException: rsp=sender=172.30.186.107:1121, retval=null, received=false, suspected=false at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2205) at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2227) at org.jboss.cache.interceptors.ReplicationInterceptor.handleReplicatedMethod(ReplicationInterceptor.java:120) at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:85) at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3116) at org.jboss.cache.TreeCache.put(TreeCache.java:1762) at org.jboss.cache.TreeCache.put(TreeCache.java:1702) Is is important to notice that each time new instance of TreeCache is created (despite of previous closing) members list is from the previous instance kept ... INFO org.jboss.cache.TreeCache - viewAccepted(): new members: [172.30.186.107:1121, 172.30.186.146:2582, 172.30.186.156:2193, 172.30.186.138:2670, 172.30.186.116:2535, 172.30.186.138:2677] To close the TreeCache i call: cache.stopService(); cache.destroyService(); cache = null; What can be the reason of that behaviour ? Does JBossCache work with the IBM VM ??? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891786#3891786 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891786 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Listener is not notified with nodeRemoved
Can you provide a unit test ? TreeCacheListenerTest tests this, and we *do* get the notification. Can you take a look at TreeCacheListenerTest ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891788#3891788 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891788 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - EJB CMP problem with Hibernate
Hi, all. I have an application with JBoss 4.0.2 with Hibernate 3 and Jbpm 3. Also, the application has an EJB to give remote access to the application. The issue is that my first intention was to have a CMT EJB. In this way, my application didn't have any persistent code (no transaction was started , commited or rollbacked). The method only gets a JbpmSession (a Jbpm object that wraps an Hibernate Session object) and closes it at its end. On the other hand, the ejb-jar.xml has the next code | ?xml version=1.0 encoding=UTF-8? | | !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; | | ejb-jar | |enterprise-beans | | !-- Session Beans -- | session | descriptionEJB Gateway entre la aplicación stand-alone SWING de Savia y la interfaz de reglas de negocio de la Web del Funcionario/description | display-nameWorkFlow/display-name | | ejb-nameWorkFlow/ejb-name | | homeorg.ildefe.ejb.interfaces.WorkFlowHome/home | remoteorg.ildefe.ejb.interfaces.WorkFlow/remote | local-homeorg.ildefe.ejb.interfaces.WorkFlowLocalHome/local-home | localorg.ildefe.ejb.interfaces.WorkFlowLocal/local | ejb-classorg.ildefe.ejb.impl.WorkFlowSession/ejb-class | session-typeStateless/session-type | transaction-typeContainer/transaction-type | | /session | |/enterprise-beans | |assembly-descriptor | container-transaction | method | ejb-nameWorkFlow/ejb-name | method-name*/method-name | /method | trans-attributeRequired/trans-attribute | /container-transaction |/assembly-descriptor | | /ejb-jar | But, when I executed a method that writes data in the DB, the method works well (no exception is thrown and the return value is correct), but NO COMMIT was executed by the container on the DB ,i.e., the data was not persisted in the DB. So, I had to change to BMP instead CMP. In the new EJB the data is persisted (in the code, I begin the transaction and commit the transaction). Why doesn't CMP work well? Thanks in advance to any comment. Bye. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891789#3891789 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891789 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Can not retrieve object from nodeCreated method of liste
Again, it helps if you have a unit test, take a look at TreeCacheListener test and see whether your case is covered or not. If not, I'd be happy to add another unit test so we can cover this use case. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891790#3891790 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891790 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Web service client error, Jboss doesn't conform WS-I
Hi all, I encountered with one issue that is related to Axis that is used in JBoss. I developed J2EE web service client and deployed to Sun App server 8.1. There the client is working without any complication. Since the client is based on JSR-109 and therefore is portable bewteen server I was trying to deploy same app to JBoss 4.0.2 FCS. I got error JAXRPCTIE01: caught exception while handling request: deserialization error: XML reader error: unexpected character content: every time. I sniffed SOAP messages and there are: 1) from Sun App server: ?xml version=1.0 encoding=UTF-8? env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:enc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:ns0=urn:HelloWebService/types env:Body ns0:getHello String_1JBoss/String_1 /ns0:getHello /env:Body /env:Envelope 2) from JBoss soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; soapenv:Body ns1:getHello xmlns:ns1=urn:HelloWebService/typesJBoss/ns1:getHello /soapenv:Body /soapenv:Envelope Element String_1 is missing here. According to WSDL file Sun's message is right: Web service used document/literal encoding. I don't know why JBoss used a little different message and how setup to use correct according to WS-I. Maybe, Axis that is included in JBoss doesn't conform J2EE spec? Thanks to all for any advice. Petr View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891794#3891794 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891794 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Load balancing
I think your web requests need to be directed to the Apache server where you have mod_jk configured. The requests will then be distributed per your configuration. e.g., http://your_apache_server:8080/xlWebApp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891795#3891795 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891795 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Web service client error, Jboss doesn't conform WS-I
Snapshot from WSDL: | complexType name=getHello |sequence | element name=String_1 type=string nillable=true/ |/sequence | /complexType | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891796#3891796 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891796 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - MyFaces and EJB3 app skeleton
Hello Has anybody a skeleotn app with MyFaces and EJB3 for Eclipse if possible. It would very accelerate my work. [EMAIL PROTECTED] Thanks Urs PS: The same for Struts and EJB3 for Eclipse would also interest me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891799#3891799 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891799 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Load balancing
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891800#3891800 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891800 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Load balancing
Hi Jerry, Thanks for your reply. As i have my apache running on 10.1.1.131 that is my node1 so the url should now be http://10.1.1.131:8080/xlWebApp now the request is directed to node 1 ie my jboss running on 10.1.1.131 but if i close my this jboss instance then the request is not redirected to my node2 ie 10.1.1.69 Do I need to make any other configuration chnages. Please advice me. Thanks and Regards, Gunjan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891803#3891803 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891803 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Load balancing
yes apache is running on port 80 I tries that http://10.1.1.131:80/xlwebapp but it gives page cannot be found error. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891805#3891805 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891805 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: MyFaces and EJB3 app skeleton
The DVD Store application shows EJB3 + JSF. I have never used eclipse, so I have no idea if there are any integration issues there. but otherwise it is a good example. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891806#3891806 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891806 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Using JBoss Transactional Cache in distributed clustered env
Hello, I want to implement JBoss Transactional Cache in distributed clustered environment. I want to know that if i implement distributed cache will there be any performance/transactional issues due to cache replication? For example, I have two nodes 'A' and 'B' which are using distributed cache. If Node 'A' commits a transaction and Node 'B' is working on the same data on cache what will be the result? Does the cache on Node 'B' gets updated before the transaction is commited? Please suggest me. Thanks Regards. Lokesh. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891807#3891807 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891807 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Can not retrieve object from nodeCreated method of liste
I did not have the chance to look over the TreeCacheListener test but below I put the source of the unit test which fails with the problems I reported: | import junit.framework.TestCase; | import org.jboss.cache.TreeCache; | import org.jboss.cache.TreeCacheListener; | import org.jboss.cache.Fqn; | import org.jboss.cache.CacheException; | import org.jgroups.View; | | import java.util.List; | import java.util.ArrayList; | | /** | * Responsible to test the [EMAIL PROTECTED] TreeCache} outside AS. | * | * @author Claudiu Anghel | * @version 1.0 | */ | public class TreeCacheListenerTest extends TestCase { | private TreeCache treeCache; | | protected void setUp() throws Exception { | super.setUp(); | treeCache = new UnitTestableTreeCache(); | } | | public void testNodeCreated() throws Exception { | SimpleTreeCacheListener listener = new SimpleTreeCacheListener(treeCache); | treeCache.addTreeCacheListener(listener); | String key = String.valueOf(System.currentTimeMillis()); | treeCache.put(/UT/TestObjects/String: + key, key, TestValue); | assertNotNull(The added object could not be retrieved by cache listener upon nodeCreated event., | listener.getObjRetrievedByNodeCreated()); | } | | public void testNodeRemoved() throws Exception { | SimpleTreeCacheListener listener = new SimpleTreeCacheListener(treeCache); | treeCache.addTreeCacheListener(listener); | String key = String.valueOf(System.currentTimeMillis()); | String fqn = /UT/TestObjects/String: + key; | treeCache.put(fqn, key, TestValue); | treeCache.remove(fqn, key); | List removedNodeFqns = listener.getRemovedNodeFqns(); | assertEquals(Wrong number of nodes are reported as removed., 1, removedNodeFqns.size()); | } | | private static class UnitTestableTreeCache extends TreeCache { | public UnitTestableTreeCache() throws Exception { | createInterceptorChain(); | } | } | | private static class SimpleTreeCacheListener implements TreeCacheListener { | private TreeCache treeCache; | private Object objRetrievedByNodeCreated; | private List removedNodeFqns = new ArrayList(); | | public SimpleTreeCacheListener(TreeCache treeCache) { | this.treeCache = treeCache; | } | | public void nodeCreated(Fqn fqn) { | try { | if (fqn.size() 3) { | return; | } | objRetrievedByNodeCreated = treeCache.get(fqn, getKey(fqn)); | } | catch (CacheException e) { | e.printStackTrace(); | } | } | | public void nodeRemoved(Fqn fqn) { | if (fqn.size() 3) { | return; | } | removedNodeFqns.add(fqn); | } | | public void nodeLoaded(Fqn fqn) { | /* do nothing */ | } | | public void nodeEvicted(Fqn fqn) { | /* do nothing */ | } | | public void nodeModified(Fqn fqn) { | /* do nothing */ | } | | public void nodeVisited(Fqn fqn) { | /* do nothing */ | } | | public void cacheStarted(TreeCache cache) { | /* do nothing */ | } | | public void cacheStopped(TreeCache cache) { | /* do nothing */ | } | | public void viewChange(View new_view) // might be MergeView after merging | { | /* do nothing */ | } | | public Object getObjRetrievedByNodeCreated() { | return objRetrievedByNodeCreated; | } | | public List getRemovedNodeFqns() { | return removedNodeFqns; | } | | private String getKey(Fqn fqn) { | String lastPart = (String) fqn.get(2); | return lastPart.substring(lastPart.indexOf(:)); | } | } | } | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891810#3891810 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891810 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net
[JBoss-user] [Clustering/JBoss] - Re: sar files for MBeans in a cluster
So, If I have a cluster consisting of two servers, one will have to mannually deploy the sar to both machines. Interesting. Any insight into when this would be supported ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891812#3891812 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891812 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Fedora,JBoss 3.2.7, MySQL 4.1.2 Access denied
Solved. I was wrong when thinking about using TCP connection by 'mysql' utility. In fact it primary uses the unix socket. After correct handling the mysql.user table, the boot process finishes without any exception. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891814#3891814 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891814 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Can not retrieve object from nodeCreated method of liste
I had a small bug in the UT; I fixed it and the UT still reproduces the problems. | import junit.framework.TestCase; | import org.jboss.cache.TreeCache; | import org.jboss.cache.TreeCacheListener; | import org.jboss.cache.Fqn; | import org.jboss.cache.CacheException; | import org.jgroups.View; | | import java.util.List; | import java.util.ArrayList; | | /** | * Responsible to test the [EMAIL PROTECTED] TreeCache} outside AS. | * | * @author Claudiu Anghel | * @version 1.0 | */ | public class TreeCacheListenerTest extends TestCase { | private TreeCache treeCache; | | protected void setUp() throws Exception { | super.setUp(); | treeCache = new UnitTestableTreeCache(); | } | | public void testNodeCreated() throws Exception { | SimpleTreeCacheListener listener = new SimpleTreeCacheListener(treeCache); | treeCache.addTreeCacheListener(listener); | String key = String.valueOf(System.currentTimeMillis()); | treeCache.put(/UT/TestObjects/String: + key, key, TestValue); | assertNotNull(The added object could not be retrieved by cache listener upon nodeCreated event., | listener.getObjRetrievedByNodeCreated()); | } | | public void testNodeRemoved() throws Exception { | SimpleTreeCacheListener listener = new SimpleTreeCacheListener(treeCache); | treeCache.addTreeCacheListener(listener); | String key = String.valueOf(System.currentTimeMillis()); | String fqn = /UT/TestObjects/String: + key; | treeCache.put(fqn, key, TestValue); | treeCache.remove(fqn, key); | List removedNodeFqns = listener.getRemovedNodeFqns(); | assertEquals(Wrong number of nodes are reported as removed., 1, removedNodeFqns.size()); | } | | private static class UnitTestableTreeCache extends TreeCache { | public UnitTestableTreeCache() throws Exception { | createInterceptorChain(); | } | } | | private static class SimpleTreeCacheListener implements TreeCacheListener { | private TreeCache treeCache; | private Object objRetrievedByNodeCreated; | private List removedNodeFqns = new ArrayList(); | | public SimpleTreeCacheListener(TreeCache treeCache) { | this.treeCache = treeCache; | } | | public void nodeCreated(Fqn fqn) { | try { | if (fqn.size() 3) { | return; | } | objRetrievedByNodeCreated = treeCache.get(fqn, getKey(fqn)); | } | catch (CacheException e) { | e.printStackTrace(); | } | } | | public void nodeRemoved(Fqn fqn) { | if (fqn.size() 3) { | return; | } | removedNodeFqns.add(fqn); | } | | public void nodeLoaded(Fqn fqn) { | /* do nothing */ | } | | public void nodeEvicted(Fqn fqn) { | /* do nothing */ | } | | public void nodeModified(Fqn fqn) { | /* do nothing */ | } | | public void nodeVisited(Fqn fqn) { | /* do nothing */ | } | | public void cacheStarted(TreeCache cache) { | /* do nothing */ | } | | public void cacheStopped(TreeCache cache) { | /* do nothing */ | } | | public void viewChange(View new_view) // might be MergeView after merging | { | /* do nothing */ | } | | public Object getObjRetrievedByNodeCreated() { | return objRetrievedByNodeCreated; | } | | public List getRemovedNodeFqns() { | return removedNodeFqns; | } | | private String getKey(Fqn fqn) { | String lastPart = (String) fqn.get(2); | return lastPart.substring(lastPart.indexOf(:) + 1); | } | } | } | Claudiu View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891815#3891815 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891815 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Load balancing
Are you directing the requests to the port on which Apache is running? If node 1 is running on port 8080 and Apache is running on port 80, the requests need to be directed to port 80 on the Apache server. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891804#3891804 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891804 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Listener is not notified with nodeRemoved
I had a small bug in the UT; I fixed it and the UT still reproduces the problems: | import junit.framework.TestCase; | import org.jboss.cache.TreeCache; | import org.jboss.cache.TreeCacheListener; | import org.jboss.cache.Fqn; | import org.jboss.cache.CacheException; | import org.jgroups.View; | | import java.util.List; | import java.util.ArrayList; | | /** | * Responsible to test the [EMAIL PROTECTED] TreeCache} outside AS. | * | * @author Claudiu Anghel | * @version 1.0 | */ | public class TreeCacheListenerTest extends TestCase { | private TreeCache treeCache; | | protected void setUp() throws Exception { | super.setUp(); | treeCache = new UnitTestableTreeCache(); | } | | public void testNodeCreated() throws Exception { | SimpleTreeCacheListener listener = new SimpleTreeCacheListener(treeCache); | treeCache.addTreeCacheListener(listener); | String key = String.valueOf(System.currentTimeMillis()); | treeCache.put(/UT/TestObjects/String: + key, key, TestValue); | assertNotNull(The added object could not be retrieved by cache listener upon nodeCreated event., | listener.getObjRetrievedByNodeCreated()); | } | | public void testNodeRemoved() throws Exception { | SimpleTreeCacheListener listener = new SimpleTreeCacheListener(treeCache); | treeCache.addTreeCacheListener(listener); | String key = String.valueOf(System.currentTimeMillis()); | String fqn = /UT/TestObjects/String: + key; | treeCache.put(fqn, key, TestValue); | treeCache.remove(fqn, key); | List removedNodeFqns = listener.getRemovedNodeFqns(); | assertEquals(Wrong number of nodes are reported as removed., 1, removedNodeFqns.size()); | } | | private static class UnitTestableTreeCache extends TreeCache { | public UnitTestableTreeCache() throws Exception { | createInterceptorChain(); | } | } | | private static class SimpleTreeCacheListener implements TreeCacheListener { | private TreeCache treeCache; | private Object objRetrievedByNodeCreated; | private List removedNodeFqns = new ArrayList(); | | public SimpleTreeCacheListener(TreeCache treeCache) { | this.treeCache = treeCache; | } | | public void nodeCreated(Fqn fqn) { | try { | if (fqn.size() 3) { | return; | } | objRetrievedByNodeCreated = treeCache.get(fqn, getKey(fqn)); | } | catch (CacheException e) { | e.printStackTrace(); | } | } | | public void nodeRemoved(Fqn fqn) { | if (fqn.size() 3) { | return; | } | removedNodeFqns.add(fqn); | } | | public void nodeLoaded(Fqn fqn) { | /* do nothing */ | } | | public void nodeEvicted(Fqn fqn) { | /* do nothing */ | } | | public void nodeModified(Fqn fqn) { | /* do nothing */ | } | | public void nodeVisited(Fqn fqn) { | /* do nothing */ | } | | public void cacheStarted(TreeCache cache) { | /* do nothing */ | } | | public void cacheStopped(TreeCache cache) { | /* do nothing */ | } | | public void viewChange(View new_view) // might be MergeView after merging | { | /* do nothing */ | } | | public Object getObjRetrievedByNodeCreated() { | return objRetrievedByNodeCreated; | } | | public List getRemovedNodeFqns() { | return removedNodeFqns; | } | | private String getKey(Fqn fqn) { | String lastPart = (String) fqn.get(2); | return lastPart.substring(lastPart.indexOf(:) + 1); | } | } | } | thanks, Claudiu View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891817#3891817 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891817 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Security questions and issues
Hi All, I've noticed that the login-config.xml in the Portal indicates a (new?) LoginModule (org.jboss.portal.core.security.jaas.IdentityPropagationLoginModule) that appears to take the place of ClientLoginModule for propogation. Is this assumption correct? I have tried using both but am getting different errors with each. The IdentityPropogationLoginModule fails when initializing our Portlet with a NullPointerException (I believe because our Portlet calls EJBCreate on a session bean, and there is no logged in user yet... the ejbCreate method is set as unchecked=true, but this hasn't helped; I've been pouring over docs looking at the intricacies / conflicts of dealing with roles, groups, etc - our LoginModule worked great until we started to place our apps under a security domain - it might still be working great, but now I'm not so sure ;). The ClientLoginModule fails with this security notice: 09:11:05,713 INFO [STDOUT] Caused by: java.lang.SecurityException: Insufficient method permissions, principal=[roles=[Authenticated],principal=anonymous], ejbName=UserManagement, method=getRootUsers, interface=REMOTE, requiredRoles=[Authenticated], principalRoles=null Note that the principal is flagged with an Authenticated role, but principalRoles is null... I think that is what's causing our problem there. Which way should I pursue? Should I even track down the problems with ClientLoginModule or should I chase down what's going on with the IdentityPropagationLoginModule? Thanks! Steve View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891822#3891822 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891822 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - JBoss 4.0.2 versus IBM WAS5.1.0.4
hi, we are relative new to jboss - just testing the migration from IBM WebSphere Application Server 5.1.0.4 to JBoss 4.0.2. Today we tested the performance between the two application servers...with no good result for JBoss, i think! :( Our systems: -Linux/s390 (kernel 2.4) running under a zVM5.1 in an IBM z900 zSeries beast (production running z990). -IBM HTTP Server 1.3.28.1 -IBM DB2 8.1 -IBM CICS Transaction Gateway 5.1 (using IBM Java131 SDK) Our Application: It's a webfrontend, replacing the simple 3270 emulation (HOST) and using a DB2-Enterprise located at our mainframe. Connection to CICS is done via the CICS-gateway (haha). Server 1 runs JBoss 4.0.2 (with IBM SDK 142), server 2 runs IBM WAS5.1.0.4. Testtool is the LoadRunner/WinRunner Suite by Mercury. In first run, the Servers were virtually equipped with Hardware configured as: -server1(jboss): 1024MB, 1 VCPU -server2(WAS5.1) : 768MB, 1VCPU. WAS5.1 JVM Heap was min256 and max512 - same for JBoss = the winner was...IBM WebSphere Second run i reserved more memory for server1 within the zVM. Pushing it up to 1280MB. The winner was...IBM WebSphere. In the third run i changed the JVM max. heapsize of JBoss to 768M...the winner was WAS5.1 again but JBoss performance increased a bit. It can't be a result of HTTPD-JBoss - when testing with JBoss' native 8080 the performance decreases...another bit slower. It can't be the VCPU - zVM is running with 3 dedicated Linux-IFLs. Their load when benchmark is running is round about 20% each...no problem here! Question is: where to look for? Or: Does IBM WebSphere always perform better than JBoss? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891824#3891824 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891824 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss Clustering -- Node shut down after all transaction
Hello? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891813#3891813 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891813 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Listener is not notified with nodeRemoved
I did not have the chance to look over the TreeCacheListener test but below I put the source of the unit test which fails with the problems I reported: | import junit.framework.TestCase; | import org.jboss.cache.TreeCache; | import org.jboss.cache.TreeCacheListener; | import org.jboss.cache.Fqn; | import org.jboss.cache.CacheException; | import org.jgroups.View; | | import java.util.List; | import java.util.ArrayList; | | /** | * Responsible to test the [EMAIL PROTECTED] TreeCache} outside AS. | * | * @author Claudiu Anghel | * @version 1.0 | */ | public class TreeCacheListenerTest extends TestCase { | private TreeCache treeCache; | | protected void setUp() throws Exception { | super.setUp(); | treeCache = new UnitTestableTreeCache(); | } | | public void testNodeCreated() throws Exception { | SimpleTreeCacheListener listener = new SimpleTreeCacheListener(treeCache); | treeCache.addTreeCacheListener(listener); | String key = String.valueOf(System.currentTimeMillis()); | treeCache.put(/UT/TestObjects/String: + key, key, TestValue); | assertNotNull(The added object could not be retrieved by cache listener upon nodeCreated event., | listener.getObjRetrievedByNodeCreated()); | } | | public void testNodeRemoved() throws Exception { | SimpleTreeCacheListener listener = new SimpleTreeCacheListener(treeCache); | treeCache.addTreeCacheListener(listener); | String key = String.valueOf(System.currentTimeMillis()); | String fqn = /UT/TestObjects/String: + key; | treeCache.put(fqn, key, TestValue); | treeCache.remove(fqn, key); | List removedNodeFqns = listener.getRemovedNodeFqns(); | assertEquals(Wrong number of nodes are reported as removed., 1, removedNodeFqns.size()); | } | | private static class UnitTestableTreeCache extends TreeCache { | public UnitTestableTreeCache() throws Exception { | createInterceptorChain(); | } | } | | private static class SimpleTreeCacheListener implements TreeCacheListener { | private TreeCache treeCache; | private Object objRetrievedByNodeCreated; | private List removedNodeFqns = new ArrayList(); | | public SimpleTreeCacheListener(TreeCache treeCache) { | this.treeCache = treeCache; | } | | public void nodeCreated(Fqn fqn) { | try { | if (fqn.size() 3) { | return; | } | objRetrievedByNodeCreated = treeCache.get(fqn, getKey(fqn)); | } | catch (CacheException e) { | e.printStackTrace(); | } | } | | public void nodeRemoved(Fqn fqn) { | if (fqn.size() 3) { | return; | } | removedNodeFqns.add(fqn); | } | | public void nodeLoaded(Fqn fqn) { | /* do nothing */ | } | | public void nodeEvicted(Fqn fqn) { | /* do nothing */ | } | | public void nodeModified(Fqn fqn) { | /* do nothing */ | } | | public void nodeVisited(Fqn fqn) { | /* do nothing */ | } | | public void cacheStarted(TreeCache cache) { | /* do nothing */ | } | | public void cacheStopped(TreeCache cache) { | /* do nothing */ | } | | public void viewChange(View new_view) // might be MergeView after merging | { | /* do nothing */ | } | | public Object getObjRetrievedByNodeCreated() { | return objRetrievedByNodeCreated; | } | | public List getRemovedNodeFqns() { | return removedNodeFqns; | } | | private String getKey(Fqn fqn) { | String lastPart = (String) fqn.get(2); | return lastPart.substring(lastPart.indexOf(:)); | } | } | } | I hope you can give me more details based on this unit test. thanks, Claudiu View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891811#3891811 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891811 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing
[JBoss-user] [Javassist user questions] - Re: How to get the value in switch case ?
Unfortunately, it is not simple at all. Section 5.3 of Tutorial would help you but you must be an expert of Java bytecode. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891832#3891832 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891832 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Load balancing
Hi All, I got the solution actually I havenot done my application mappings in uriworkers.properties file. Thanks gunjans View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891826#3891826 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891826 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - dvd app does not work
I have installed JBoss including eclipse. The dvd application does not work. I get the error message: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114) org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316) org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:147) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543) org.apache.jasper.compiler.Parser.parse(Parser.java:126) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211) org.apache.jasper.compiler.ParserController.parse(ParserController.java:100) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146) org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) org.apache.jasper.compiler.Compiler.compile(Compiler.java:267) org.apache.jasper.compiler.Compiler.compile(Compiler.java:255) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891839#3891839 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891839 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss 4.0.2 versus IBM WAS5.1.0.4
It depends on how you configure/use JBoss. Also, are you using CMP. What are you doing? What tests are you using with Loadrunner? (Did you create your own tests?) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891840#3891840 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891840 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: dvd app does not work
You are correct. standard.jar was incorrectly removed from the src image I put up on wednesday. I meant to delete the one the was distributed with the trailblazer and not with the actual app. I've fixed it. Let me know if you have any other problems with it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891841#3891841 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891841 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Change Password: FailedLoginException
Hi! I have exactly the same problem. I'm also using JBoss 4.0.2 with the patch. Did you accomplished to solve your problem? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891842#3891842 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891842 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: EQL not generating correct SQL
Could you try with MySQL 4.1.13 ? I have sse some stranges with 4.1.14... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891844#3891844 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891844 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss 4.0.2 versus IBM WAS5.1.0.4
hi, thanks for your reply. no - we aren't using CMP/EJBs. forgot to say in the leading post: i'm a sysadmin - i'm *not* a java/webapp developer. what we are doing: loadrunner-scripts are done by our developers. better: the script is a recording of a simple end-user action our employees would to. -searching DB2 tables located at our mainframe (DB2) -CICS transactions the test-script doesn't change anything. the recording is a simple reading task. 1) searching a customer via name, customerid or anything else (CICS-transaction) 2) viewing the customers data (CICS-transaction/DB2) 3) do another search 4) view data... 5) and so on. the application is *far* more complex, but the test itself is quiet as simple as written above. point is: the server hasn't got much to do. test runs in T-environment. DB2 responses and CICS-transactions running at normal speed - the server hasn't to wait long for other systems to deliver it's data. DB2 stuff is done via DCS-connection (DB2 connect on webserver) to our mainframe. regards, -Case View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891847#3891847 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891847 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - java.sql.SQLException: Table not found: JMS_ROLES
I'm receiving this error on JBoss restart. There seems to be very little information about it on the web...has anyone had this happen before...or can they point me in the right direction on how to fix? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891851#3891851 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891851 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - JDBC Connection Pool and Data source configuration.
Hi, I am using a Oracle database. I would like to know how I can setup connection pools and also setup data sources that use these connection. I setup configuration in oracle-ds.xml, but I think that would just be data sources directly connecting to database and not through connection pool. This is how my oracle-ds file looks, for e.g . local-tx-datasource jndi-namePool1/jndi-name connection-urljdbc:oracle:thin:@101.1.9.51:1521:db1/connection-url driver-classoracle.jdbc.driver.OracleDriver/driver-class user-namedbuser/user-name dbuser exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name type-mappingOracle9i/type-mapping /local-tx-datasource But this is, I think, is a data source configuration. How do I do connection pools and have data sources use that connection pool? Thank You View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891852#3891852 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891852 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - JSF and Portlet (Theme)
One suggestion for future implementations in integration of jboss-portal and JSF is to make RenderKit implementations part of Theme. So when I change a theme of a portlal I change the renderkit of the UIComponents of JSF. Other suggestion is a way to specify an action of any ManagedBean to execute when Portlet Mode or Window State changes. And another is to specify window-state changes in navigation-case. E. G. when a navigation case occur window is maximized. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891854#3891854 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891854 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - JDBC Connection Pool and Data source configuration.
Hi, I am using a Oracle database. I would like to know how I can setup connection pools and also setup data sources that use these connection. I setup configuration in oracle-ds.xml, but I think that would just be data sources directly connecting to database and not through connection pool. This is how my oracle-ds file looks, for e.g . local-tx-datasource jndi-namePool1/jndi-name connection-urljdbc:oracle:thin:@101.1.9.51:1521:db1/connection-url driver-classoracle.jdbc.driver.OracleDriver/driver-class user-namedbuser/user-name dbuser exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name type-mappingOracle9i/type-mapping /local-tx-datasource But this is, I think, is a data source configuration. How do I do connection pools and have data sources use that connection pool? Thank You View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891856#3891856 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891856 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - 3 Clustered JBoss Behind a firewall
Hi: I followed the guide UsingJBossBehindAFirewall and I managed to get an EJB to work correctly behind a firewall (I'm using the default ports). I opened TCP ports 1098, 1099, and 8083 and everything works great when making a call like jnp://jbossone:1099. But now I have 3 JBoss clustered using the DefaultPartition and need to use HAJNDI, so I tried to call my EJB using jbossone:1100,jbosstwo:1100,jbossthree:1100 and also opened port 1100 on my firewall but I get no response... I doesn't even time out, it seems to be frozen! I'm using 3 JBoss in different PCs, all version 4.0.1sp1. All JBoss have the default cluster configuration and are behind the same firewall (there's no firewall between each Jboss). I added the true tag to the jboss.xml for my EJB and deployed it on all Jboss servers. I tried telnet jbossone 1100 and I get this response: ??srjava.rmi.MarshalledObject|???c?IhashlocBytest[BobjBytesq~xp?w?srjava.rmi.MarshalledObject|???c?IhashlocBytest[BobjBytesq~xp?w??ur[B???T?xpB??thttp://jbossone:8083/q~q~q~q~q~q~q~uq~??s}org.jnp.interfaces.Naming,org.jboss.ha.framework.interfaces.HARMIProxyxrjava.lang.reflect.Proxy?'? ?C?Lht%Ljava/lang/reflect/InvocationHandler;xpsr-org.jboss.ha.framework.interfaces.HARMIClient???j???LfamilyClusterInfot5Lorg/jboss/ha/framework/interfaces/FamilyClusterInfo;LkeytLjava/lang/String;LloadBalancePolicyt5Lorg/jboss/ha/framework/interfaces/LoadBalancePolicy;xpwDefaultPartition/HAJNDIsrjava.util.ArrayListxa?Isizexpwsr2org.jboss.ha.framework.server.HARMIServerImpl_Stubxrjava.rmi.server.RemoteStub?exrjava.rmi.server.RemoteObject?a?? a3xpw6 UnicastRef2 172.17.1.65?%s?xxa6?sr,org.jboss.ha.framework.interfaces.RoundRobinx.???:xpxConnection closed by foreign host. So I guess it can communicate well through the firewall, but I don't know why it is freezing when I call an EJB using jnp://jbossone:1100. (or using a list separeted by , ) Something weird is that it doesn't even give me an exception or time out... Am I missing some important ports or other configuration? JNDI works great (port 1099), it is just HAJNDI that doesn't work (port 1100) Thanks for your help Aaron View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891858#3891858 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891858 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Bridge Interceptor
When I try to get the servletcontext (servletContextProvider.getServletContext(this)) I get a IllegalStateException | java.lang.IllegalStateException: No bridge set | at org.jboss.portal.bridge.JBossServletContextProvider.getServletContext(JBossServletContextProvider.java:53) | I have this in my portlet.xml and jboss-portlet.xml | init-param |nameServletContextProvider/name |valueorg.jboss.portal.bridge.JBossServletContextProvider/value | /init-param | | portlet | portlet-nameStrutsPortletDemo/portlet-name | config-nameStrutsPortlet/config-name |/portlet | The init method in my portlet sets up a ServletContextProvider like the StrutsPortlet does. Also struts-demo is running fine. Any help would be much appreciated. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891862#3891862 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891862 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - How can I have jboss call a method during its startup? The a
How can I have jboss call a method during its startup? The actuall class is located in the jar in the jboss class path. Thank you so much in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891864#3891864 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891864 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: EQL not generating correct SQL
fbiaggi wrote : Could you try with MySQL 4.1.13 ? | I have sse some stranges with 4.1.14... I can try and post the results. However, I don't expect it to change. I say that because I recently upgraded MySQL on Windows from 4.1.10, as well as upgrading MySQL's J driver to try to fix the same problem. On Linux I'm still running MySQL 4.1.10 and I get the same errors. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891865#3891865 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891865 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: Port 1098 is taken
How I tell Jboss server to use a different port Thanks LN View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891867#3891867 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891867 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Error Starting Jboss Server
When I start run.bat, I a get error that port 1098, is already in use. Is there a way for me to set Jboss to run against differnt port number View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891868#3891868 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891868 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Persistent Queue Messages
From what I understand u cannot do that purely by configuration, i.e. set up different Persistance Managers for different destinations. Looks like the invoker is tied to a specific Persistance Manager... Thereis another post on this: http://www.jboss.org/index.html?module=bbt=47828op=viewtopic View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891871#3891871 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891871 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: NoSuchFieldError when deploying .wsr
I am getting the same error while deploying my application after migrating from JBoss 3.2.5 to JBoss 4.0.2. However, even with the error I am able to invoke my web services mapped to my session beans. Please let me know if you got rid of the error you are getting during deployment. Satish View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891872#3891872 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891872 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Querry!!
Hello there, Can JMS accept XML messages. thanks, Nishanth View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891874#3891874 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891874 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Dynamic creation of MDBs in runtime?
A question for the gurus, is possible by any means to spawn up new MDBs programatically at runtime? Background We are developing an telecom operator SMSC delivering mobile SMS to external clients. The application uses a single MDB for the delivery, the SMSes are put on the queue and posted by the MDB using HTTP to the client. This is not very optimal since it is possible for a singel client to drain all MDB threads if it responds to slow. It would be really nice to have a dedicated MDB per client to prevent this, and since clients come and go it requires us to do it dynamically at runtime... (The application runs on a JBoss4) Again, is it possible by any means to spawn up new MDBs programatically at runtime? Many thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891876#3891876 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891876 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB extends base class: Verification of Enterprise Beans
I'm getting this in 4.0.2, only I can't find a workaround. In my case, two conrete MDBs subclass an abstract one that contains the onMessage(), declared public void onMessage(javax.jms.Message message) To try to get around the validation error, I subclassed and had the conrete classes call super: public void onMessage(Message message) { | super.onMessage(message); | } I'm really confused why this doesn't work. I can understand a bug that can't find the method signature via the parent class; but not one that's clearly defined in the concrete classes as well. Is there a fix? Is there a way I can work around this until we can upgrade? We just spent a month upgrading to 4.0.2 from 3.2.7, so 4.0.3 probably won't be an option this year. Erik View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891878#3891878 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891878 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Error trying to get a BYTEA field from POSTGRES databace.
Im trying to get a BYTEA field in postgres RDBMS using JBOSS 4.0.2, the problem is that when i try to get the values from the database i get this Exception : 2005-08-26 16:37:14,804 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.FlujodetrabajoBean] Executing SQL: SELECT id, objeto, navegacion, nombre, descripcion FROM flujodetrabajo WHERE (id=?) OR (id=?) 2005-08-26 16:37:14,874 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.lang.String com.ig.nucleo.flujodetrabajo.beans.FlujodetrabajoLocalBusiness.getNombre(), causedBy: java.sql.SQLException: Unable to load to deserialize result: java.io.StreamCorruptedException: invalid stream header at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.convertToObject(JDBCUtil.java:290) at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.convertToObject(JDBCUtil.java:239) at org.jboss.ejb.plugins.cmp.jdbc.JDBCResultSetReader$5.readResult(JDBCResultSetReader.java:136) ... . this is the interest part of my jbosscmp-jdbc.xml file: java:/jdbc/Nucleo datasource-mapping PostgreSQL 8.0/datasource-mapping so, im using the PostgreSQL 8.0 datasource-mapping wich maps an BYTEA type to a java.lang.Object, correct??, now the real problem is that when i deploy the application (all entities and session beans deployed OK), and run it, the applicaction works great (i can create new values in the database, i can get the values from database etc.), but when i restart the server i can get the old values saved in the db, getting the same exception, over and over again. I think the problem has to be with JBoss since the application was OK running in SJSAS, the key must be anywhere in the configuration files. i would apreciatte any suggestion thanks in advance for your help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891879#3891879 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891879 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Newbie Help with CMP
Hi All, Can someone direct me to the best source of documentation or information regarding understanding what the contents of the various deployment and configuration files should contain to support CMP under JBoss? I'm converting an application from an Oracle App Server over to JBoss and am sure I don't have a bunch of stuff right. Thanks for any help! - Jim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891882#3891882 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891882 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Many databases or many tables?
It's fairly unlikely that either solution would work out. I would think that the best idea would be to find the performance problem and fix it. MySQL is very fast, even with very large databases, if you construct your queries properly. Here are some suggestions: 1) Make sure that as much database access as possible is done via primary keys. When you have to retreive data by something other than a primary key, make sure that you have a proper index, and that the index is being used (Google MySQL Explain Plan for more info). 2) Don't use functions in your WHERE clauses See Explain Plan for this too. 3) Make sure that you don't do any unneccessary database access. Consider some means of caching wherever possible. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891884#3891884 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891884 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: When deploy mdb,durable attribute is failure,,,
I am getting the exact same error !! with JBoss 4.0.2. Please post a response if anybody has solved this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891886#3891886 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891886 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Arrays Clarification
Are Java arrays of JAX-RPC supported types, like String[], supported as params/return values without the need for wrapping in a JavaBean? Is it only arrays of complex types that need to wrapped in a JavaBean. Or all arrays even of primitive types? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891887#3891887 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891887 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection Pooling
Hai , I am releasing the connections and even I put the trace status true and it notified nothing... To avoid this, I tried by connecting to the database directly by using Drivermanager.connect() method and even i could see those connections comming and mixing up with this.. So plz kindly let me know how to seperate them to the connections in the datasource.. Thanks Regards, Hari Babu Nunna View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891889#3891889 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891889 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user