[jboss-user] [Performance Tuning] - How good is Perfomance with JDK 1.5_15 ?
Was wondering if Anyone knows if the Perfomance is better with the JDK 6 or the JDK 5 ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161656#4161656 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161656 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Hibernate Exception - javax.naming.NameNotFoundException: jb
Hi All, I am trying to deploy a BPEL Process using API's. I have figured that out using the help in forum. (http://www.jboss.com/index.html?module=bbop=viewtopicp=4161648#4161648). But when I am running the code - I am getting the following exception. 11:50:05,675 DEBUG [Configuration] resolving reference to class: com.ibm.wsdl.MessageImpl | 11:50:05,675 DEBUG [Configuration] resolving reference to class: org.jbpm.bpel.graph.def.ImportDefinition | 11:50:05,754 INFO [NamingHelper] JNDI InitialContext properties:{} | 11:50:06,035 FATAL [DatasourceConnectionProvider] Could not find datasource: java:/DefaultDS | javax.naming.NameNotFoundException: jbpmbpel-client not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) The Sample Code is attached: | | import java.io.File; | import java.io.FileInputStream; | import java.io.FileNotFoundException; | import java.util.zip.ZipInputStream; | | import org.jbpm.JbpmConfiguration; | import org.jbpm.JbpmContext; | import org.jbpm.bpel.graph.def.BpelProcessDefinition; | import org.jbpm.bpel.persistence.db.BpelGraphSession; | import org.jbpm.bpel.tools.WebModuleBuilder; | import org.jbpm.graph.def.ProcessDefinition; | import org.jbpm.jpdl.par.ProcessArchive; | | | public class DeployProcess { | | public static void main(String[] args) | { | String fileName = E:\\WorkFlowProjects\\JBoss-BPEL-Deployments\\Workflow3\\src\\Workflow3.zip; | | DeployProcess deployObj = new DeployProcess(); | deployObj.InitDeployDirectory(); | try { | deployObj.Deploy(fileName,args); | } catch (Exception e) { | // TODO Auto-generated catch block | e.printStackTrace(); | } | | | | } | | private void InitDeployDirectory() { | String deployDirectoryName = null; | // deduce the deploy directory from environment information | String serverHomeDirectory; | try { | serverHomeDirectory = D:\\JBOSS\\jboss-4.2.0.GA; | } | catch (SecurityException e) { | serverHomeDirectory = null; | } | deployDirectoryName = serverHomeDirectory + File.separatorChar + deploy; | deployDirectory = new File(deployDirectoryName); | | } | | private File deployDirectory = null; | | private void Deploy(String fileName, String[] args) throws Exception { | String xmlResource =args[0]; //D:\\JBOSS\\jbpm-bpel-1.1.GA\\config\\jbpm.cfg.xml; | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(xmlResource); | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | FileInputStream fisProcess = new FileInputStream(fileName); | ProcessArchive processArchive = new ProcessArchive(new ZipInputStream(fisProcess)); | ProcessDefinition processDefinition = processArchive.parseProcessDefinition(); | | | if (processDefinition instanceof BpelProcessDefinition) | { | BpelGraphSession graphSession = BpelGraphSession.getContextInstance(jbpmContext); | graphSession.deployProcessDefinition((BpelProcessDefinition) processDefinition); | } | else | jbpmContext.deployProcessDefinition(processDefinition); | if (processDefinition instanceof BpelProcessDefinition) | deployWebModule((BpelProcessDefinition) processDefinition, fileName); | } | | private void deployWebModule(BpelProcessDefinition processDefinition, | String fileName) { | File moduleFile = new File(deployDirectory, extractFilePrefix(fileName) + .war); | | WebModuleBuilder builder = new WebModuleBuilder(); | builder.setModuleFile(moduleFile); | builder.buildModule(processDefinition); | | | } | | private static String extractFilePrefix(String fileName) { | int dotIndex = fileName.lastIndexOf('.'); | return dotIndex != -1 ? fileName.substring(0, dotIndex) : fileName; | } | } | | This issue i have already reported in the earlier post. But I am posting this again hoping more people will notice the exception in the Post Title and respond. Please let me know if you have come across this exception. And if you know the solution please let me know. Thanks Regards Dhanush View the original post :
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Tomcat 6 comet support in 4.2.2
As said previously: JBossWEB has now it own implementation of Comet the TC6 one can't be used. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161658#4161658 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161658 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Displaying XSL as UI.
Hai all, Can anyone help me regarding this problem. Hey i am using XML-XSL as GUI in my portlet. How can i specify my action url in the XSL. I have placed a button in the XSL when i click that it should come to my protlet process action method and i want to get the values displayed in the UI. Can anyone tell me the XSL declaration of portlet action url View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161659#4161659 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161659 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Seam, Do I need for production Enviroments ?
Well, the first question was about the need of Seam in production to work the apps. The second was about the possible improvement of having seam. Is like Java, you can run Jboss with a Jre, but if u use SDK you have more tools to monitor ... more options on JVM (Correct me, plz, if I'm wrong in that point) So, those were the differences :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161660#4161660 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: problem with deploy file jboss
Thanks Its Now Working View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161662#4161662 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161662 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: java.lang.ClassCastException: javax.naming.Reference whi
Topic: java.lang.ClassCastException i have same problem can you pls explain what's problem behind this? i put all the JNDI properties and set sessioncontext also still i am getting same error? is there problem in Jar file? i have included- Jboss-client-all.jar,activation-jar also can anybody explain what is the problem and solution View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161666#4161666 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161666 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: java.lang.ClassCastException: javax.naming.Reference whi
i have same problem can you pls explain what's problem behind this? i put all the JNDI properties and set sessioncontext also still i am getting same error? is there problem in Jar file? i have included- Jboss-client-all.jar,activation-jar also can anybody explain what is the problem and solution View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161665#4161665 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161665 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Failed to update deployment descriptor
Hello friends, I am working on creating the webservice using JBOSS IDE for Eclipse. When I am publishing a service as webservice I am getting the fallowing error message. It seems like configuration issue. If anyone of you know the solution for this please reply back .. Thanks in advance.. Here is the error I am getting Running JBossWS wstools for [TrueChoice] directory: C:\projects\TrueChoice command: cmd.exe /C C:\tcs-dev\jboss-4.0.5.GA\bin\wstools.bat -cp 3.0.1/Java_Projects/Salestool_Base/build -config C:\DOCUME~1\pramodk\LOCALS~1\Temp\wstools-config9035.xml -dest C:\projects\TrueChoice\src\gen = . WSTools Environment . JBOSS_HOME: C:\tcs-dev\jboss-4.0.5.GA\bin\\.. . JAVA: C:\jdk1.5.0_09\bin\java . JAVA_OPTS: . = . Failed to update deployment descriptor View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161667#4161667 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161667 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss federated SSO setup
Thank you for the reply. I changed the domain to ssosite1 and ssosite2, and all other locations (login-config.xml, jboss-web.xml, as the security domain names), but that didn't help. Is that true the domain in the server.cfg.xml file should match the security domain associated with the web apps (which is what I did)? And where should I start with debugging the problem myself while waiting for helps from forum? Thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161668#4161668 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161668 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jbossws Tutorial.
Here is the error, why I get this error? 10:55:03,796 INFO [DefaultEndpointRegistry] register: jboss.ws:context=sum,endpoint=Sum | 10:55:04,062 INFO [TomcatDeployer] deploy, ctxPath=/sum, warUrl=.../tmp/deploy/tmp32805sum-exp.war/ | 10:55:04,281 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/deploy/sum.war | java.lang.StringIndexOutOfBoundsException: String index out of range: -1 | at java.lang.String.substring(String.java:1938) | at org.jboss.wsf.common.JavaUtils.getPackageName(JavaUtils.java:535) | at org.jboss.ws.metadata.wsdl.WSDLUtils.getTypeNamespace(WSDLUtils.java:700) | at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.processWebService(JAXWSWebServiceMetaDataBuilder.java:315) | at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:109) | at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:52) | at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:63) | at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:66) | at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118) | at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97) | at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy200.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy9.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at
[jboss-user] [Security JAAS/JBoss] - Re: Jboss SecurityDomaijn Annotation
Hi, can anyone please assist? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161674#4161674 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161674 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Port does not contain operation meta data for: {http://www.w
Hi i have a similiar problem using a client which should be able to encrypt soaprequests | javax.xml.ws.soap.SOAPFaultException: Endpoint {urn:com:tools:wsse}... Port does not contain operation meta data for: {http://www.w3.org/2001/04/xmlenc#}EncryptedData | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:72) | at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:109) | at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:579) | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:383) | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:304) | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172) | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152) | at $Proxy9.get6From49(Unknown Source) | | did the community solve this problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161676#4161676 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161676 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss-5 Beta4 - Redeploy exploded EAR not supported?
jaikiran wrote : I am using JBoss-5 Beta4 on my test setup with Sun Java 1.5 and Windows 2003 Operating System. I have a very simple EAR file which is deployed in exploded format. The deployment works fine without issues. However when i touch (change last modified time) the application.xml file as mentioned at http://wiki.jboss.org/wiki/RedeployAnApplicationWhenChangeAFileInAnExplodedDeploymentDirectory, the application is not re-deployed. There's no indication in the logs which suggests that the changes to application.xml has been noticed. | | Downloaded the just released JBoss-5.0 CR1. Works fine on this version. The exploded EAR application is redeployed when the application.xml is touched. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161677#4161677 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161677 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm-bpel. Deploy new process
Hi to everybody, I'm novice in jbpm-bpel. I have jbpm-bpel-1.1.GA. I deployed all examples and everything was fine. But how can I CREATE my own process to deploy it in jbpm-bpel-1.1.GA? I will be very gratefully for any help, lincs, etc. Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161680#4161680 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161680 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-bpel. Deploy new process
Hi, You can use any IDE (Netbeans for eg) and then create your process and wsdls and then zip it and deploy using the web page. Thanks Dhanush View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161681#4161681 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Virtual Host : How to route all subdomains
So is there nobody who can help me how to use all subdomains in my application? Offers JBoss support so I can get this solved for money? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161682#4161682 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161682 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jbossws Tutorial.
I tried also the zeeshan.javeed hello world example (foo.war in the log) but it also doesn't work. I cannot run any simple web services??? 11:40:08,000 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/deploy/foo.war | java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/tmp/deploy/tmp8820jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/) | at com.sun.xml.bind.v2.model.impl.ModelBuilder.clinit(ModelBuilder.java:172) | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422) | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.init(JAXBContextImpl.java:286) | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139) | at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105) | at org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory.createContext(CustomizableJAXBContextFactory.java:110) | at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBContext(JAXWSMetaDataBuilder.java:951) | at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:156) | at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:52) | at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:63) | at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:66) | at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118) | at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97) | at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy200.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy9.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
[jboss-user] [JBoss Messaging] - Re: classpath question about jboss-remoting and jbossall-cli
Take a look on session 4.4: http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.1.Beta1/html/installation.html#inst.remoteclient Let me know if you still have problems with the classpath [/url] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161686#4161686 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161686 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: classpath question about jboss-remoting and jbossall-cli
Hmmm... sorry.. that's actually referring to jbossall-client... Let me take a look real quick.. I will be right with you with an answer. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161689#4161689 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161689 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: classpath question about jboss-remoting and jbossall-cli
I could guess but I want to do something better. I will test the client jars and add that to the next doc release. Can you repack the jbossall-client.jar striping out org.jboss.remoting for now? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161694#4161694 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161694 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: deploy.last and the applications therein.
In the end, I found that the problem was limited to the deploy.last directory. I created a directory called webs in the server/custom1/deploy and put my apps in their. Applications in this new directory deploy and undeploy as expected - i.e. touching one of them results in only that application being redeployed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161697#4161697 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161697 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6.5 released
Try to download from other mirror. I had the same problema and that solve it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161698#4161698 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161698 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Can't deploy MBeans on JBoss5 Beta4
We use MBeans loads in JBoss404 but I'm having trouble deploying any to JBoss5 Beta4. As a baasic test I've created the following bean: Interface: import org.jboss.annotation.ejb.Management; | | @Management | public interface ServiceProviderMBean | { | public String viewServiceProviders(); | } and class: import org.jboss.annotation.ejb.Service; | | @Service(objectName = mpee:service=ServiceProviderMBean) | public class ServiceProviderMBeanImpl implements ServiceProviderMBean | { | public String viewServiceProviders() | { | return hello; | } | } There are a load of other EJB3 beans in this application that all get deployed fine. However, this MBean isn't even seen by the deployer. It is simply not deployed. I've checked the documentation and my imports seem to be correct. Am I missing something obvious? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161703#4161703 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161703 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBossAS 5.0.0CR1 compile error building from source
Hello, i've just downloaded the jboss5 CR1 source package and tried to build it with default target. The build failed with compile errors in the j2se module (see output below). Should i take another target to build the CR1 from source or what i#m doing wrong ? My environment: Maven version: 2.0.9 | Java version: 1.6.0 | OS name: linux version: 2.6.25.5-1.1-pae arch: i386 Family: unix and the build output: _buildmagic:init: | Trying to override old definition of task property | | _buildmagic:init:local-properties: | | _buildmagic:init:buildlog: | | configure: | [echo] groups: default | [echo] modules: main,bootstrap,j2se,mbeans,jmx,system,system-jmx,security,server,deployment,jbossas/remoting,jmx-remoting,jbossas/jmx-remoting,messaging,jbossmq,cluster,varia,iiop,aspects,profileservice,connector,management,ejb3,tomcat,webservices,hibernate-int,console,spring-int | | init: | | check.inhibit.downloads: | | check.proxy: | | set.proxy.withoutauth: | | set.proxy.auth: | | set.proxy: | | createthirdparty: | [echo] Calling mvn command located in /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/build/../tools/maven | [java] [INFO] Scanning for projects... | [java] WAGON_VERSION: 1.0-beta-2 | [java] [INFO] | [java] [INFO] Building JBoss Application Server Thirdparty Build | [java] [INFO]task-segment: [package] | [java] [INFO] | [java] Downloading: http://repository.jboss.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.6/jaxb-impl-2.1.6.pom | [java] Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.6/jaxb-impl-2.1.6.pom | [java] Downloading: http://repository.jboss.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.6/jaxb-xjc-2.1.6.pom | [java] Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.6/jaxb-xjc-2.1.6.pom | [java] Downloading: http://repository.jboss.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.2.2/FastInfoset-1.2.2.pom | [java] Downloading: http://repo1.maven.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.2.2/FastInfoset-1.2.2.pom | [java] Downloading: http://repository.jboss.org/maven2/com/sun/xml/ws/jaxws-tools/2.1.3/jaxws-tools-2.1.3.pom | [java] Downloading: http://repo1.maven.org/maven2/com/sun/xml/ws/jaxws-tools/2.1.3/jaxws-tools-2.1.3.pom | [java] Downloading: http://repository.jboss.org/maven2/woodstox/wstx-lgpl/3.1.1/wstx-lgpl-3.1.1.pom | [java] Downloading: http://repo1.maven.org/maven2/woodstox/wstx-lgpl/3.1.1/wstx-lgpl-3.1.1.pom | [java] Downloading: http://repository.jboss.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom | [java] Downloading: http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom | [java] [INFO] [enforcer:enforce {execution: enforce-versions}] | [java] [INFO] [buildmagic-thirdparty:build-thirdparty {execution: build-thirdparty}] | [java] [INFO] Copying dependencies to thirdparty directories... | [java] [INFO] Generating component info files... | [java] [INFO] Creating libraries.ent... | [java] [INFO] [buildmagic-thirdparty:build-thirdparty {execution: build-thirparty-testsuite}] | [java] [INFO] Copying dependencies to thirdparty directories... | [java] [INFO] Generating component info files... | [java] [INFO] Creating testsuite-libraries.ent... | [java] [INFO] [site:attach-descriptor] | [java] [INFO] Preparing source:jar | [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. | [java] [INFO] [enforcer:enforce {execution: enforce-versions}] | [java] [INFO] [source:jar {execution: attach-sources}] | [java] [INFO] | [java] [INFO] BUILD SUCCESSFUL | [java] [INFO] | [java] [INFO] Total time: 18 seconds | [java] [INFO] Finished at: Tue Jul 01 11:37:51 CEST 2008 | [java] [INFO] Final Memory: 28M/86M | [java] [INFO] | | _buildmagic:modules:most: | | == | == Executing 'most' in module 'main'... | == | | _buildmagic:init: | | configure: | [echo] Classpath = /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/thirdparty/gnu-getopt/lib/getopt.jar | | _default:task-init: | | init: | | _buildmagic:build-bypass-checker: | | _buildmagic:build-bypass-notice: | | _buildmagic:build-bypass-check: | | jars: | |
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't deploy MBeans on JBoss5 Beta4
How do you package these services? By the way, JBoss-5.0 CR1 just got released. You may want to start using that instead of JBoss-5.0 Beta. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161707#4161707 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161707 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't deploy MBeans on JBoss5 Beta4
They're packaged by an ant build script into a JAR which in turn resides in an EAR. The application.xml of that EAR has an entry for the JAR that contains the beans. The Management bean is in the same JAR as the Session beans that are being deployed ( I've checked that they are actually in the JAR by exploding it and inspecting). Great news about JBoss5 CR1. I will download and install immediately! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161711#4161711 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161711 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss as window service
thanks! you help me to solve the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161710#4161710 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161710 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss Portlet Container 2.0.0 - Getting a Portal Page workin
Hello, I'm trying to get a simple portal page working, but I always get Exceptions. Here is my Page: | %@ page contentType=text/html % | %@ page language=java % | %@ taglib prefix=xportal tagdir=/WEB-INF/tags/portal % | %@ taglib uri=/WEB-INF/portal.tld prefix=portal % | %@ page isELIgnored=false % | | | | portal:page |xportal:2columns | jsp:attribute name=leftcol | xportal:portlet name=HelloWorld55 applicationName=Test666/ | /jsp:attribute | jsp:attribute name=rightcol | xportal:portlet name=HelloWorld55 applicationName=Test666/ | /jsp:attribute |/xportal:2columns |xportal:portlet name=HelloWorld55 applicationName=Test666/ | /portal:page | | Here is the content of my WEB-INF-Folder: classes jsp lib tags jboss-web.xml portal.tld portlet.xml web.xml Here are the libraries in my WEB-INF/lib-Folder (some are not important for this question, just using JMaki): ajax-wrapper-comp-1.8.0.jar org.json-0.0.1.jar common-common-1.2.0.jar portaltaglib.jar jsfcompounds-0.0.2.jar portlet-portlet-2.0.0.jar jstl.jar The portlet is the simple netbeans generated default portlet with jsps for all modes. After deployment of my war-archive and visiting the default page this error occurs: | org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 9 | | 6: | 7: | 8: | 9: portal:page | 10:xportal:2columns | 11: jsp:attribute name=leftcol | 12: xportal:portlet name=HelloWorld55 applicationName=Test666/ | | | Stacktrace: | org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504) | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:415) | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) | javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | | root cause | | java.lang.ClassCastException: org.apache.catalina.connector.ResponseFacade | org.jboss.portal.portlet.portal.jsp.taglib.PortalBodyTagSupport.getPortalResponse(PortalBodyTagSupport.java:42) | org.jboss.portal.portlet.portal.jsp.taglib.PortalBodyTagSupport.doStartTag(PortalBodyTagSupport.java:47) | org.apache.jsp.index_jsp._jspx_meth_portal_005fpage_005f0(index_jsp.java:96) | org.apache.jsp.index_jsp._jspService(index_jsp.java:72) | org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) | javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) | javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | | I tried to include the filters from simple-portal in my web.xml, but this causes a deployment-failure: | 11:45:52,150 ERROR [MainDeployer] Could not start deployment: file:/H:/portlets/jboss-portletcon | tainer-2.0.0-jbossas42/server/default/deploy/Test666.war | org.jboss.deployment.DeploymentException: URL file:/H:/portlets/jboss-portletcontainer-2.0.0-jbo | ssas42/server/default/tmp/deploy/tmp9325Test666-exp.war/ deployment failed | at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java | :379) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java: | 245) | at sun.reflect.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:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) |
[jboss-user] [JBoss jBPM] - Re: jbpm-bpel. Deploy new process
Hi, Thank you! But can I use something else, not IDE? May be something ***.bat (like wstools..)? I use jbossws as web services layer. Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161713#4161713 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161713 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Error on Jboss 4.2.2
HI Friends, I have been working towards migrating from Jboss 4.0.2 to Jboss 4.2.2. Now for some details we have three different server configured using the binding.xml Where one server handles web requests, One where we have our sessions beans and other where we have our web server Api. As earlier we were using Jboss 4.0.2 we are unable to have the latest jboss portal bundled. which has resulted in doing the migration from 4.0.2 to 4.2.2 Now just to start I just followed the build process which creates the servers for me inside jboss-4.2.2/server folder. Just to test whether things work on jboss-4.2.2, I am just starting one of the server without deploying any of our application code. But this give me the below error and server stops. stack trace | | 14:56:49,083 INFO [Server] Starting JBoss (MX MicroKernel)... | 14:56:49,083 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139) | 14:56:49,083 INFO [Server] Home Dir: D:\server\jboss-4.2.2 | 14:56:49,099 INFO [Server] Home URL: file:/D:/server/jboss-4.2.2/ | 14:56:49,099 INFO [Server] Patch URL: null | 14:56:49,099 INFO [Server] Server Name: Business | 14:56:49,099 INFO [Server] Server Home Dir: D:\server\jboss-4.2.2\server\Business | 14:56:49,099 INFO [Server] Server Home URL: file:/D:/server/jboss-4.2.2/server/Business/ | 14:56:49,099 INFO [Server] Server Log Dir: D:\server\jboss-4.2.2\server\Business\log | 14:56:49,099 INFO [Server] Server Temp Dir: D:\server\jboss-4.2.2\server\Business\tmp | 14:56:49,208 INFO [Server] Root Deployment Filename: jboss-service.xml | 14:56:49,911 INFO [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc. | 14:56:49,911 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_09-b03,Sun Microsystems Inc. | 14:56:49,911 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 | Failed to boot JBoss: | org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) | at org.jboss.system.ServiceController.install(ServiceController.java:226) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585)14:56:50,474 INFO [Server] Core system initialized | 14:56:52,083 INFO [SystemPropertiesService] Loaded system properties from: file:/D:/server//properties/business.properties | 14:56:52,083 INFO [SystemPropertiesService] Loaded system properties from: file:/D:/server//properties/reporting.properties | 14:56:52,083 INFO [SystemPropertiesService] Loaded system properties from: file:/D:/server//license/License.properties | 14:56:52,817 ERROR [MainDeployer] Could not create deployment: file:/D:/server/jboss-4.2.2/server/Business/conf/jboss-service.xml | org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) | at org.jboss.system.ServiceController.install(ServiceController.java:226) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Reverse Engineering one-to-one in mysql
This is such a simple thing, but I am trying to use the Hibernate Reverse Engineering tools to generate a one-to-one mapping from a mysql table structure, but instead a one-to-many mapping is generated instead. My mysql ddl is the following: | CREATE TABLE Guest ( | id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, | firstName VARCHAR(45) NULL, | lastName VARCHAR(45) NULL, | lastLogin DATETIME NULL, | PRIMARY KEY(id) | ) | TYPE=InnoDB; | | CREATE TABLE Tracking ( | Guest_id INTEGER UNSIGNED NOT NULL, | login DATETIME NULL, | PRIMARY KEY(Guest_id), | UNIQUE INDEX Tracking_FKIndex1(Guest_id), | FOREIGN KEY(Guest_id) | REFERENCES Guest(id) | ) | TYPE=InnoDB; | | The ddl is generated using a tool (DBDesigner4) but it looks correct to me. I want a one-to-one association between Guest and Tracking entities. Can someone spot what I'm doing wrong, or at least suggest an alternative strategy, please. Thanks in advance... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161716#4161716 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161716 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Retrieve Object from JBoss-Cache in memory
Put the cache somewhere where both objects can access it. Or inject a constructed and started cache instance into the two objects A and B. The A can do cache.put(...) and B can do cache.get(...). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161719#4161719 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161719 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't deploy MBeans on JBoss5 Beta4
Looks like I'm the first person to download JBoss5 CR1! Excellent. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161717#4161717 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Flexible Expiration Times
You can - look at the ExpirationPolicy under Eviction Policies in the User Guide. (JBC 2.X only though) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161720#4161720 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Standalone cache, what TransactionManager to use?
If you want a good production-grade standalone JTA transaction manager, try JBossTS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161723#4161723 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161723 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error on Jboss 4.2.2
anonymous wrote : Now just to start I just followed the build process which creates the servers for me inside jboss-4.2.2/server folder. Are you sure the server configurations are being created correctly? How do you do it through the build process? Just copy from default configuration? anonymous wrote : Caused by: java.lang.NoClassDefFoundError: org/jboss/xml/binding/ObjectModelFactory Looks like you are missing some jboss related jar file from the classpath of the server configuration you created ( D:\server\jboss-4.2.2\server\Business) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161724#4161724 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161724 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: classpath question about jboss-remoting and jbossall-cli
ok we already delete remoting dir in jbossall-client use winrar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161728#4161728 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161728 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Excessive ReentrantLock$NonfairSync objects
16 per node doesn't sound correct. I can see 1 per node for the child map, as well as another one for the locks, but that's about it. You must remember though that this is per NODE - so an Fqn like /a/b/c involves 3 nodes. A lot of this stuff is due for major improvements in JBC 3.x where there won't be a CHM per node for locks, just one for children. Perhaps the CHMs you see are uncollected objects? Does your app frequently create and delete nodes? Does this change significantly after a System.gc() call? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161727#4161727 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Setting layouts according to User/Admin level
Hi, Currently we can change view of a portal according to INDIVIDUAL USER. But how can I set layout and theme of a portal Based on User Level, like i need to show a view if he logged in as ADMIN and show a Different view if he logged in as USER. Which descriptor I need to change? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161714#4161714 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161714 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Server Sizing
Maybe cos the logical One answer is the right one. Just sum: Java Jboss folder Portal folder and Add the Database if it will be local. U just dont need too much space, but good CPU and tons of memory if it's for production enviroment. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161715#4161715 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Impersonating users
http://jira.jboss.org/jira/browse/JBPORTAL-2063 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161731#4161731 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161731 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't deploy MBeans on JBoss5 Beta4
Thanks again! What documentation were you looking at that gave these imports? I looked around and saw some obscure documentation giving the imports as they were in my original post. If you could give me a URL to the stuff you're looking at it would be much appeciated. Also, unfortunately I ran into trouble right off the bat with JBoss5 CR1. I'm getting lots of nasty stack traces when I deploy the previously mentioned EAR files to JBoss5 CR1. Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to resolve schema nsURI= location=persistence I'll dig around for the solution to that a little later though. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161732#4161732 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161732 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't deploy MBeans on JBoss5 Beta4
jimmycallaghan wrote : | Also, unfortunately I ran into trouble right off the bat with JBoss5 CR1. I'm getting lots of nasty stack traces when I deploy the previously mentioned EAR files to JBoss5 CR1. | | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to resolve schema nsURI= location=persistence | | I too got the same error when i ported my sample app from Beta4 to CR1. XML parsing has become stricter in CR1. You probably had not specified the schema declaration in the persistence.xml. You will have to change the persistence.xml to: ?xml version=1.0 encoding=UTF-8? | | persistence xmlns=http://java.sun.com/xml/ns/persistence; |xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; |xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; |version=1.0 | | | persistence-unit name=blah | jta-data-sourceblah.../jta-data-source | | /persistence-unit | /persistence View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161733#4161733 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161733 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't deploy MBeans on JBoss5 Beta4
jimmycallaghan wrote : | | What documentation were you looking at that gave these imports? I looked around and saw some obscure documentation giving the imports as they were in my original post. If you could give me a URL to the stuff you're looking at it would be much appeciated. | | I was using this http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/index.html for EJB3. But when i started using JBoss-5 Beta, i also ran into similar issues. I had found a post/article (i couldn't locate it now) which mentioned this change in imports for JBoss-5. These days, i just include the JBoss-5 client jars in my eclipse classpath and rely on Eclipse's auto-complete option while using these annotations. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161736#4161736 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161736 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - JBoss performance
Hello, How does call-by-value affect JBoss's performance ? Could anyone tell me which are the advantages / disadvantages ? I'd like to see some benchmarks as well. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161735#4161735 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161735 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Unable to download GPD sources
Hello, I'm entering http://www.jboss.org/jbossjbpm/gpd_sources/ and configuring my cvs client as the example on the site shows. I can see folders, but there are no files in cvs !!! What should i do to access files in cvs ? Best regards, Damian Pawlaczyk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161737#4161737 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBossAS 5.0.0CR1 compile error building from source
anonymous wrote : Java version: 1.6.0 Try building with Java 1.5 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161738#4161738 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161738 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't deploy MBeans on JBoss5 Beta4
anonymous wrote : import org.jboss.annotation.ejb.Management; | | import org.jboss.annotation.ejb.Service; Just noticed - In JBoss-5, these imports should be: | import org.jboss.ejb3.annotation.Management; | | import org.jboss.ejb3.annotation.Service; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161729#4161729 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161729 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't deploy MBeans on JBoss5 Beta4
Its been written in the release notes of cr1: https://sourceforge.net/project/shownotes.php?release_id=610469group_id=22866 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161739#4161739 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Error:
Describe your environment: JBoss Portal Version: jboss-portal-2.6.5.SP1.zip Did you get Portal from CVS? or download it? Download JBoss AS Version 4.2.2.GA Database Vendor and Version: Hyper JDBC Connector and Version: Integrated OS Platform: Window 2003 Server Sp2 Java Version:JDK 1.5.0_15-b04 Describe the problem: I have a running Jboss Server, with 3 deployed aplications, 2 from our developers and another bought. The aplications use SQL 2005 (correct JDBC and so on) The problem comes when I try to deploy portal (for future development) in this server. I want to use the integrated database in jboss (yep, it's running and show on Console) So what i do is: Modify: portal-hsqldb-ds.xml with my sa password Copy:jboss-portal.sar folder and the file to the deploy server: thanks in advice for the help, have checked the forums, the http://docs.jboss.com/jbportal/v2.6.5/userGuide/pdf/JBossPortalUserGuide.pdf http://docs.jboss.com/jbportal/v2.6.5/referenceGuide/pdf/JBossPortalreferenceGuide.pdf And no luck I That is what I get: Running Server, I paste the folder and file and... 13:20:35,020 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 3m | :49s:784ms | 13:28:43,451 INFO [DefaultEndpointRegistry] register: jboss.ws:context=portal-wsrp,endpoint=ServiceDescriptionService | 13:28:43,498 INFO [DefaultEndpointRegistry] register: jboss.ws:context=portal-wsrp,endpoint=MarkupService | 13:28:43,529 INFO [DefaultEndpointRegistry] register: jboss.ws:context=portal-wsrp,endpoint=RegistrationService | 13:28:43,576 INFO [DefaultEndpointRegistry] register: jboss.ws:context=portal-wsrp,endpoint=PortletManagementService | 13:28:43,607 WARN [AbstractServerConfig] Unable to calculate 'WebServicePort', using default '8080' | 13:28:47,951 INFO [TomcatDeployer] deploy, ctxPath=/portal-admin, warUrl=.../deploy/jboss-portal.sar/portal-admin.sar/porta | l-admin.war/ | 13:28:48,482 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml | 13:28:48,638 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.2.2.GA/server/default/./deploy/jboss-portal.sar/p | ortal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/faces-config.xml | 13:28:48,716 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml | 13:28:48,857 INFO [FacesConfigurator] MyFaces-package : myfaces-api not found. | 13:28:48,888 INFO [FacesConfigurator] MyFaces-package : myfaces-impl not found. | 13:28:48,919 INFO [FacesConfigurator] MyFaces-package : tomahawk-sandbox not found. | 13:28:48,966 INFO [FacesConfigurator] MyFaces-package : tomahawk not found. | 13:28:49,263 WARN [LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : es_ES And here he comes! 13:28:49,529 INFO [FacesConfigurator] Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSeri | alFactory | 13:28:49,607 INFO [StartupServletContextListener] ServletContext 'C:\jboss-4.2.2.GA\server\default\.\deploy\jboss-portal.sa | r\portal-admin.sar\portal-admin.war\' initialized. | 13:28:49,763 INFO [TomcatDeployer] deploy, ctxPath=/portal-cms, warUrl=.../deploy/jboss-portal.sar/portal-cms.sar/portal-cm | s.war/ | 13:28:50,247 INFO [TomcatDeployer] deploy, ctxPath=/portal-identity, warUrl=.../deploy/jboss-portal.sar/portal-identity.sar | /portal-identity.war/ | 13:28:50,685 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml | 13:28:50,841 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.2.2.GA/server/default/./deploy/jboss-portal.sar/p | ortal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/faces-config.xml | 13:28:50,904 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml | 13:28:51,029 INFO [FacesConfigurator] MyFaces-package : myfaces-api not found. | 13:28:51,060 INFO [FacesConfigurator] MyFaces-package : myfaces-impl not found. | 13:28:51,076 INFO [FacesConfigurator] MyFaces-package : tomahawk-sandbox not found. | 13:28:51,107 INFO [FacesConfigurator] MyFaces-package : tomahawk not found. | 13:28:51,263 WARN [LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : es_ES | 13:28:51,638 INFO [FacesConfigurator] Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSeri | alFactory | 13:28:51,732 INFO [StartupServletContextListener] ServletContext 'C:\jboss-4.2.2.GA\server\default\.\deploy\jboss-portal.sa | r\portal-identity.sar\portal-identity.war\' initialized. | 13:28:52,154 INFO [NativeServiceRefBinderJAXRPC] setupServiceRef [jndi=wsrp-client/service/PortletManagementService] | 13:28:52,216 INFO [NativeServiceRefBinderJAXRPC] setupServiceRef [jndi=wsrp-client/service/MarkupService] |
[jboss-user] [Installation, Configuration DEPLOYMENT] - How to authenticate to the JBoss server from a desktop (Swin
- JBoss 4.2.2.GA - Java 5 Update 15 Hello, everybody! I have already finished my web application using the JBoss server. It's already deployed, running and working well. This web application uses the FORM authentication method to authenticate users (so users must provide a user name and password to log in), being helped by a custom login module that does the real authentication behind the scenes. All the JavaBeans and entity beans that this web application uses are in a EJB jar file deployed on the same server (so the business logic is separated from the presentation). But now I want to use this same EJB jar file that contains the business logic from desktop applications (Swing clients). I suppose (correct me if I'm wrong) that in order to make method calls on the session beans from the Swing clients, these Swing clients also have to be authenticated on the server, like the web application is. But the problem is that I have no idea how to authenticate from desktop applications, as the process to do that could be very different from the web applications authentication process. I also would like to know how to log out from the desktop applications. Below are some extracts from my web application related to the authentication. I think that showing this here is really not necessary, but I chose to do so in the hope that it can be helpful to you to find an answer to me and to show you more precisely how I'm authenticating from the web application. IN THE WEB APPLICATION: = web.xml -- ?xml version=1.0 encoding=UTF-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; id=WebApp_ID version=2.5 display-nameLaboratorio de Informatica/display-name !-- more configuration... -- security-constraint web-resource-collection web-resource-namerestrito/web-resource-name url-pattern/*/url-pattern /web-resource-collection auth-constraint role-nameADMINISTRADOR/role-name role-nameUSUARIO/role-name /auth-constraint user-data-constraint transport-guaranteeNONE/transport-guarantee /user-data-constraint /security-constraint security-constraint web-resource-collection web-resource-namepermitido/web-resource-name url-pattern/css/*/url-pattern url-pattern/script/*/url-pattern url-pattern/imagens/*/url-pattern /web-resource-collection user-data-constraint transport-guaranteeNONE/transport-guarantee /user-data-constraint /security-constraint login-config auth-methodFORM/auth-method form-login-config form-login-page/login.jsp/form-login-page form-error-page/errologin.jsp/form-error-page /form-login-config /login-config security-role role-nameADMINISTRADOR/role-name /security-role security-role role-nameUSUARIO/role-name /security-role !-- more configuration... -- /web-app jndi.properties - java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=jnp://localhost:1099 jboss-web.xml - ?xml version=1.0 encoding=UTF-8? jboss-web security-domainjava:/jaas/laboratorio-informatica/security-domain /jboss-web login.jsp -- h5Informe o seu nÃÂúmero de matrÃÂÃÂcula e senha para acessar o sistema./h5 MatrÃÂÃÂcula: Senha: IN THE EJB APPLICATION: = ModuloLoginFuncionarios.java (this is the custom login module) I'm showing you here just the methods that I override -- package br.urca.www.laboratorioinformatica.seguranca.jboss; | | import org.jboss.security.auth.spi.UsernamePasswordLoginModule; | // other imports... | | public class ModuloLoginFuncionarios extends UsernamePasswordLoginModule | { | @Override | protected String getUsersPassword() throws LoginException | { | // code... | } | | @Override | protected boolean validatePassword(String inputPassword, String expectedPassword) | { | // code... | } | | @Override | protected Throwable getValidateError() | { | // code... | } | | @Override | protected Group[] getRoleSets() throws LoginException | { | // code... | } | } IN THE SERVER: === C:\jboss-4.2.2.GA\server\default\conf\login-config.xml
[jboss-user] [Security JAAS/JBoss] - Client for SSL WebService
Hi! I'm trying to connect to SSL-secured webservice; my client code looks like this: System.setProperty(javax.net.ssl.trustStore, trustStoreLocation); System.setProperty(javax.net.ssl.trustStorePassword, trustStorePass); this.service = Service.create(new URL(wsdl), new QName(nameSpace, serviceName)); Now, this works fine when I run it as a stand-alone application and I'm able to use the webservice without problems... but when I use it as a part of application deployed on Jboss I get: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:236) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:194) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:216) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:145) at sun.security.validator.Validator.validate(Validator.java:203) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172) at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320) ... Can anyone help me with this :(? Regards, Anne View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161745#4161745 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm sen mail error
Hi I use jbpm 3.2.1 version.I want to send mail.I made necessary configuration.On the testcase my application execute well and can send mail.But when I deployed project on jboss and run it this error has been occured: | 2008-07-01 14:53:09,016 ERROR [org.jbpm.graph.def.GraphElement] action threw exception: couldn't send email | org.jbpm.JbpmException: couldn't send email | at org.jbpm.mail.Mail.send(Mail.java:149) | at org.jbpm.mail.Mail.send(Mail.java:113) | at org.jbpm.mail.Mail.execute(Mail.java:63) | at org.jbpm.graph.def.Action.execute(Action.java:122) | at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:255) | at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:220) | at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:190) | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:174) | at org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(generated) | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) | at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163) | at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$7e22fdfe.fireEvent(generated) | at org.jbpm.graph.exe.Token.signal(Token.java:191) | at org.jbpm.graph.exe.Token.signal(Token.java:157) | at org.jbpm.jsf.core.action.SignalActionListener.handleAction(SignalActionListener.java:56) | at org.jbpm.jsf.core.impl.JbpmActionListenerWrapper.processAction(JbpmActionListenerWrapper.java:82) | at javax.faces.event.ActionEvent.processListener(ActionEvent.java:77) | at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:758) | at javax.faces.component.UICommand.broadcast(UICommand.java:368) | at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:448) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752) | at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:810) | Caused by: | javax.mail.SendFailedException: Sending failed; | nested exception is: | class javax.mail.MessagingException: Exception reading response; | nested exception is: | java.net.SocketException: Connection reset | at javax.mail.Transport.send0(Transport.java:218) | at javax.mail.Transport.send(Transport.java:80) | at org.jbpm.mail.Mail.send(Mail.java:147) | ... 43 more | | and here is my processdefinition.xml for sendin mail. | | | ?xml version=1.0 encoding=UTF-8? | | process-definition | xmlns=urn:jbpm.org:jpdl-3.2 | name=simple |start-state name=start | transition name=to_state to=first | action name=action class=com.sample.action.MessageActionHandler | messageGoing to the first
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBossAS 5.0.0CR1 compile error building from source
It doesn't matter which Java version i try. With Maven version: 2.0.9 | Java version: 1.5.0_15 | OS name: linux version: 2.6.25.5-1.1-pae arch: i386 Family: unix i got the same 100 compile errors in module j2se. Before trying the new build with java 1.5, i executed build.sh clobber to wipe out the old output. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161751#4161751 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - MappingException: JDBC Type -1(MySQL 5)
Hi? I'm using JBOSS-4.2.2, Mysql - 5.0.51a-0. Connector driver - mysql-connector-java-5.1.6. When using Native Queries (for example : Query query =getEntityManager().createNativeQuery(SELECT agr.AGREEMENTID , enc.NAME\n + | \tFROM GEL$DOC$AGREEMENT agr INNER JOIN GEL$DOC$AGR$ENCLOSURE enc ON (enc.AGREEMENTID = agr.AGREEMENTID)\n + | UNION\n + | SELECT template.TEMPLATEID, tenc.NAME\n + | \tFROM GEL$DOC$TEMPLATE template INNER JOIN GEL$DOC$TPL$PARAGRAPH tenc ON (tenc.TEMPLATEID = template.TEMPLATEID)) ; | | ListObject[] obj = query.getResultList() ; | ) I get an error: 15:54:53,509 ERROR [STDERR] javax.ejb.EJBException: javax.persistence.Persistenc eException: org.hibernate.MappingException: No Dialect mapping for JDBC type: -1 | 15:54:53,510 ERROR [STDERR] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptio nInOurTx(Ejb3TxPolicy.java:63) | 15:54:53,510 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(T xPolicy.java:83) | 15:54:53,510 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.i nvoke(TxInterceptor.java:191) | 15:54:53,510 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invo keNext(MethodInvocation.java:101) | 15:54:53,510 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor .invoke(TxPropagationInterceptor.java:95) | 15:54:53,510 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invo keNext(MethodInvocation.java:101) | 15:54:53,510 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInt erceptor.invoke(StatelessInstanceInterceptor.java:62) | 15:54:53,511 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invo keNext(MethodInvocation.java:101) | 15:54:53,511 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInte rceptor.invoke(AuthenticationInterceptor.java:77) | 15:54:53,511 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInt erceptor.invoke(Ejb3AuthenticationInterceptor.java:110) | 15:54:53,511 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invo keNext(MethodInvocation.java:101) | 15:54:53,511 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invo ke(ENCPropagationInterceptor.java:46) | 15:54:53,511 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invo keNext(MethodInvocation.java:101) | 15:54:53,511 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInter ceptor.invoke(AsynchronousInterceptor.java:106) | 15:54:53,511 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invo keNext(MethodInvocation.java:101) | 15:54:53,511 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.l ocalInvoke(StatelessContainer.java:240) | 15:54:53,511 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.l ocalInvoke(StatelessContainer.java:210) | 15:54:53,511 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy. invoke(StatelessLocalProxy.java:84) | 15:54:53,511 ERROR [STDERR] at $Proxy314.store(Unknown Source) | 15:54:53,511 ERROR [STDERR] at ru.geckoSoftware.geleos.documents.faces.agree ment.AgreementInfo.store(Unknown Source) | 15:54:53,511 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0( Native
[jboss-user] [Security JAAS/JBoss] - Re: JBoss federated SSO setup
Just to be clear, the values in server.cfg.xml should be ssosite1.com and ssosite2.com and not just ssosite1, and ssosite2. If that is in place, looks like you need to do some debugging on your end to see whats happening. Here are some tips for debugging 1/ Use the LiveHeaders or something like that to see the sequence of requests that happen when going from ssosite1 to ssosite2. Expected behavior would be, when hitting ssosite2, the SSOFederationRouter valve on ssosite2 must redirect back through ssosite1's federation server (redirect). This is based on the partner federation server value specified in server.cfg.xml file. Debug and see if this redirecting occurs to move the SAML token from one domain to another 2/ If from step2, you are seeing that the SAML token is in fact propagated from ssosite1 to ssosite2, then debug the SSOAutoLogin valve to see if the AutoLogin is actually getting processed correspondingly calling your LoginModule, and the login is actually occuring successfully. The missing link is somewhere here Hope this provides some clues Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161754#4161754 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBossAS 5.0.0CR1 compile error building from source
I haven't yet tried building for CR1 source, so not sure what's the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161763#4161763 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - LinkageError starting JBossAS 5.0.0CR1
Hi all, I've just downloaded and unzipped the JBossAS 5.0.0CR1 package, and eager as I am, I immediately started it using bin\run.bat. This error appeared on the console: 14:58:48,222 ERROR [AbstractKernelController] Error installing to Create: name=ManagedConnectionFactoryParserDeployer state=Configured | java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from vfszip:/C:/Java/jboss-5.0.0.CR1/lib/jaxb-impl.jar/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/) | at com.sun.xml.bind.v2.model.impl.ModelBuilder.clinit(ModelBuilder.java:173) | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422) | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.init(JAXBContextImpl.java:286) | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139) | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210) | at javax.xml.bind.ContextFinder.find(ContextFinder.java:368) | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574) | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522) | at org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer.create(ManagedConnectionFactoryParserDeployer.java:120) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:56) | at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:110) | at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241) | at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:45) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70) | at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:624) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:442) | at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:88) | at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at
[jboss-user] [JBoss jBPM] - Re: Unable to download GPD sources
cvs is closed use the jbpm subversion repository...( I do not know where that is by hart, please look it up at another project for now). Thanks for reporting... so the site has to be changed View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161774#4161774 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161774 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Clustering JBoss 4.0.5, not working, stuck
I am using the All profile, to which I have made the changes at http://wiki.jboss.org/wiki/UsingMod_jk1.2WithJBoss?action=ewindowstate=normalmode=view This includes adding the jvmRoute=node1 and jvmRoute=node2 to the 2 instances, setting attribute name=UseJKtrue/attribute and ensuring that AJP connector is uncommented. Yet when I start up the 2 cluster members, the first and second servers to be brought up are not finding each other. I allowed the first server to completely start then started the second server. I have also setup apache 2.2 using mod_proxy_http as per the instructions on http://wiki.jboss.org/wiki/UsingMod_proxyWithJBoss However if the 2 cluster members can not see each other, the Apache configuration is not really an issue yet. First Cluster Member: GMS: address is oraclelinuxoracle11clusterA:1420 (additional data: 16 bytes) | --- | 21:42:32,178 INFO [DefaultPartition] Number of cluster members: 1 | 21:42:32,180 INFO [DefaultPartition] Other members: 0 | 21:42:32,190 INFO [DefaultPartition] Fetching state (will wait for 3 milliseconds): | 21:42:32,216 INFO [DefaultPartition] State could not be retrieved (we are the first member in group) | 21:42:32,244 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta: 0) : [172.19.2.10:1099] | 21:42:32,462 INFO [DefaultPartition] I am (172.19.2.10:1099) received membershipChanged event: | 21:42:32,466 INFO [DefaultPartition] Dead members: 0 ([]) | 21:42:32,510 INFO [DefaultPartition] New Members : 0 ([]) | 21:42:32,515 INFO [DefaultPartition] All Members : 1 ([172.19.2.10:1099]) | 21:42:32,658 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/172.19.2.10 | 21:42:32,725 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /172.19.2.10:1102, group=230.0.0.4, HA-JNDI address=172.19.2.10:1100 | 21:42:35,774 INFO [CorbaNamingService] Naming: [IOR:002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3200E80001020C3137322E31392E322E313DC800114A426F73732F4E616D696E672F726F6F740500084A414301001C0001000100010501000100010109000105010001002100610024001E007E0001000C3137322E31392E322E313DC9004000100401000806066781020101010024001F00040003000100220024001F00040003] | 21:42:36,123 INFO [CorbaTransactionService] TransactionFactory: [IOR:003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E300200E80001020C3137322E31392E322E313DC800144A426F73732F5472616E73616374696F6E732F46000500084A414301001C0001000100010501000100010109000105010001002100610024001E007E0001000C3137322E31392E322E313DC9004000100401000806066781020101010024001F00040003000100220024001F00040003] | 21:42:37,447 INFO [Embedded] Catalina naming disabled | 21:42:37,659 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. | 21:42:37,708 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. | 21:42:38,558 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-172.19.2.10-8080 | 21:42:38,611 INFO [Catalina] Initialization processed in 856 ms | 21:42:38,614 INFO [StandardService] Starting service jboss.web | 21:42:38,667 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20 | 21:42:38,768 INFO [StandardHost] XML validation disabled | 21:42:38,850 INFO [Catalina] Server startup in 236 ms | Second Cluster Member: --- | GMS: address is oraclelinuxoracle11clusterB:1427 (additional data: 16 bytes) | --- | 21:43:56,137 INFO [DefaultPartition] Number of cluster members: 1 | 21:43:56,139 INFO [DefaultPartition] Other members: 0 | 21:43:56,185 INFO [DefaultPartition] Fetching state (will wait for 3 milliseconds): | 21:43:56,236 INFO [DefaultPartition] State could not be retrieved (we are the first member in group) | 21:43:56,422 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/172.19.2.11 | 21:43:56,499 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on
[jboss-user] [JBoss Portal] - Re: Error:
Do you use/need WSRP? If not, remove portal-wsrp.sar from jboss-portal.sar. For the sake of it, though, could you please include the complete stack trace so that I can try to figure out what's going on? It seems that you are running your server on a port that is not the default one, in which case, you would need to refer to the WSRP documentation as there are some adjustments to be done for WSRP to work properly in that context... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161776#4161776 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161776 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss federated SSO setup
anonymous wrote : | Is that true the domain in the server.cfg.xml file should match the security domain associated with the web apps (which is what I did)? | The domain for server.cfg.xml has nothing to do with the security domain specified with the low level JAAS authentication/login module setup. This value of domain in jboss-federation-server.sar/conf/server.cfg.xml must be the actual web domain at which the web application is hosted Also part of debugging make sure the SAML token is issued at the domain level. Like for instance ssosite1.com or ssosite2.com depending on which application you log into Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161777#4161777 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161777 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: LinkageError starting JBossAS 5.0.0CR1
Did you do any changes to the clean JBoss? Also do you have an jaxb related jar file in your classpath which might be causing this conflict? I have downloaded CR1 and have been able to get it running with this issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161781#4161781 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161781 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Universal per portlet instance configuration for all users
When portlet preference is enabled, difference preferences are stored for admin and normal user, for example, I have an attribute called name in portlet.xml, when changing the name as an admin user, the changes wouldn't be reflected to normal users. So basically normal user and admin user uses different set of preferences for each portlet instance. How do I overcome that? What I want to achieve is that by changing preferences in admin mode, normal users could also see those changes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161780#4161780 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss federated SSO setup
Maybe it's obvious but check your /etc/hosts.. and check how you are starting both JBoss configurations.. my /etc/hosts looks like: | 127.0.0.1 localhost | 127.0.1.1 node1.jboss.org | 127.0.2.1 node2.jboss.com | | and when i run the two Jboss configuration: | ./run.sh -c defaultOrg -b node1.jboss.org | | and the other | | ./run.sh -c defaultCom -b node1.jboss.com | | this is the basic configurations.. but maybe some typo.. or something missing... | Hope it helps | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161782#4161782 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error on Jboss 4.2.2
Hi Jaikiran, Thanks for the prompt reply. Before I try what you suggested ... I have some query. Our application has jboss/deploy , jboss/conf etc as part of our codebase (that is whatever minimal that is required is there, and as far as I have info it is from default jboss server only). Now using these files we have an ant script which creates the server for us inside Jboss/server folder. Now the query that I have does jboss-4.2.2 have any compatibility issue. (i.e. server created by my build process presently has default server setting from Jboss-4.0.2 If some one can give some direction on as what are changes in the Jboss 4.2.2 architechture compared jboss-4.0.2 Regards Amit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161784#4161784 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161784 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Clustering JBoss 4.0.5, not working, stuck
I also tried adding java.naming.provider.url=172.19.2.10:1100:172.19.2.11:1100 to the all/conf/jndi.properties file, which force the a set of nodes. This causes the first member to be brought up to throw exceptions, saying it can not contact the second member (which is understandable), but the second member (while not throwing any exceptions), also does not find the first cluster member: Example of the second server starting up: --- | GMS: address is oraclelinuxoracle11clusterA:1453 (additional data: 16 bytes) | --- | 22:15:41,835 INFO [DefaultPartition] Number of cluster members: 1 | 22:15:41,846 INFO [DefaultPartition] Other members: 0 | 22:15:41,847 INFO [DefaultPartition] Fetching state (will wait for 3 milliseconds): | 22:15:41,872 INFO [DefaultPartition] State could not be retrieved (we are the first member in group) | 22:15:42,578 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta: 0) : [172.19.2.10:1099] | 22:15:42,642 INFO [DefaultPartition] I am (172.19.2.10:1099) received membershipChanged event: | 22:15:42,645 INFO [DefaultPartition] Dead members: 0 ([]) | 22:15:42,645 INFO [DefaultPartition] New Members : 0 ([]) | 22:15:42,646 INFO [DefaultPartition] All Members : 1 ([172.19.2.10:1099]) | 22:15:42,874 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/172.19.2.10 | 22:15:43,118 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /172.19.2.10:1102, group=230.0.0.4, HA-JNDI address=172.19.2.10:1100 | 22:15:50,536 INFO [CorbaNamingService] Naming: [IOR:002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3200E80001020C3137322E31392E322E313DC800114A426F73732F4E616D696E672F726F6F740500084A414301001C0001000100010501000100010109000105010001002100610024001E007E0001000C3137322E31392E322E313DC9004000100401000806066781020101010024001F00040003000100220024001F00040003] | 22:15:51,522 INFO [CorbaTransactionService] TransactionFactory: [IOR:003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E300200E80001020C3137322E31392E322E313DC800144A426F73732F5472616E73616374696F6E732F46000500084A414301001C0001000100010501000100010109000105010001002100610024001E007E0001000C3137322E31392E322E313DC9004000100401000806066781020101010024001F00040003000100220024001F00040003] | 22:15:54,043 INFO [Embedded] Catalina naming disabled | 22:15:54,204 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. | 22:15:54,215 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. | 22:15:56,100 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-172.19.2.10-8080 | 22:15:56,160 INFO [Catalina] Initialization processed in 1940 ms | Notice it did not find the primary member 172.19.2.11 in this case, even though it is already started. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161783#4161783 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: LinkageError starting JBossAS 5.0.0CR1
No I haven't changed anything to the JBoss installation nor to the JVM installation. The classpath does not contain any jaxb related jar outside of the default as supplied with JBoss and the JDK Marcel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161785#4161785 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161785 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.
I am using JBoss 4.2.2 GA + jbossws-3.0.2 GA. i tried to downgrade my System using the same AS and jbossws-2.0.3 but the error resists. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161786#4161786 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: LinkageError starting JBossAS 5.0.0CR1
jaikiran wrote : I have downloaded CR1 and have been able to get it running with this issue. | Spoke too soon :) Was using JDK 5 with JBoss-5.0 CR1 and everything works. Switched to Java 1.6 and i see the same LinkageErrors: | 18:45:53,619 INFO [CopyMechanism] VFS temp dir: D:\jboss-5.0.0.CR1\server\jaikiran\tmp | 18:45:53,619 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled. | 18:45:58,307 INFO [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc. | 18:45:58,307 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0_03-b05,Sun Microsystems Inc. | 18:45:58,307 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86 | 18:45:58,401 INFO [JMXKernel] Legacy JMX core initialized | 18:46:00,963 INFO [MetaDataAwareProfile] Using profile root:D:\jboss-5.0.0.CR1\server\jaikiran | 18:46:05,557 INFO [WebService] Using RMI server codebase: http://ps3346:8083/ | 18:46:12,698 ERROR [AbstractKernelController] Error installing to Create: name=ManagedConnectionFactoryParserDeployer state=Configured | java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from vfszip:/D:/jboss-5.0.0.CR1/lib/jaxb-impl.jar/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/) | at com.sun.xml.bind.v2.model.impl.ModelBuilder.clinit(ModelBuilder.java:173) | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422) | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.init(JAXBContextImpl.java:286) | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139) | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210) | at javax.xml.bind.ContextFinder.find(ContextFinder.java:368) | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574) | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522) | at org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer.create(ManagedConnectionFactoryParserDeployer.java:120) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:56) | at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:110) | at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241) | at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:45) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70) | at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784) | at
[jboss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re:
Setting the property track-statementsfalse/track-statements the error become: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Object has been closed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161791#4161791 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Universal per portlet instance configuration for all use
Portlet preferences at the instance level are shared by anyone, there is no scoping per role. There are 3 scopes: - portlet - portlet instance - user View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161792#4161792 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: LinkageError starting JBossAS 5.0.0CR1
Based on what i see in one of the comments in JIRA issue, i copied %JBOSS_HOME%/lib/jaxb-api.jar to %JBOSS_HOME%\lib\endorsed. Restarted JBoss with Java 1.6. This time it booted without any errors. P.S: My sample application does not have webservices, so i am not sure if only this jar needs to be copied. There might be other jars too, as mentioned in one of the comments at http://jira.jboss.com/jira/browse/JBWS-1439 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161794#4161794 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM 140sp3cp02 threading problem
If you could provide a test case I'll take a look. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161797#4161797 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM 140sp3cp02 threading problem
It seems problem does not exist in jbm140sp3 but it shows itself in jbm140sp3cp02 and jbm140sp3cp03. Any way I can help in pinpointing this issue? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161796#4161796 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161796 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP: images, css, and javascript from ICEfaces not comi
Mailed you a small, non datasource war last night. Hope you get further with this one :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161801#4161801 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: LinkageError starting JBossAS 5.0.0CR1
Can you please specify O/S and JDK make/version? You probably need to move to the latest jdk1.6 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161805#4161805 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161805 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: LinkageError starting JBossAS 5.0.0CR1
Thanks this seems to do the job. I have no appliciaton at all running in it, just extracted the zip and ran it. Does this have any side-effect when running on JDK 5? If not this could be made the default. Ciao, Marcel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161807#4161807 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161807 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Excessive ReentrantLock$NonfairSync objects
The 16 refers to the internal data structures (e,g, java.util.concurrent.ConcurrentHashMap$Segment) of which by default CHM creates 16 per map. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161810#4161810 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161810 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: LinkageError starting JBossAS 5.0.0CR1
Again, which jdk are you using? JDK6 Update 4 introduced a significant change: http://weblogs.java.net/blog/ramapulavarthi/archive/2008/01/jaxws_21_and_ja.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161811#4161811 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161811 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: LinkageError starting JBossAS 5.0.0CR1
[EMAIL PROTECTED] wrote : Can you please specify O/S and JDK make/version? | | You probably need to move to the latest jdk1.6 19:46:35,039 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled. | 19:46:39,774 INFO [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc. | 19:46:39,774 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0_03-b05,Sun Microsystems Inc. | 19:46:39,774 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86 I'll see if there's a latest JDK 1.6 version available and try that one. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161812#4161812 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161812 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jbossws Tutorial.
the problem is solved. With java 1.6 it needs jaxb 2.1, i put it in /lib/endorsed directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161808#4161808 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161808 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Jboss tools seam views dont work in Ganymede
thats good that we its localised - do we have to wait or a v3 build to pick up a comptaible version - or would there be a 2.1.x release patch /build that would enable the 2.1.x line to operate within ganymede. any views from the team on how you expect to handle the incompatbility. trying toi figure out how much to look at ganymede and its new features vs stay on callisto until a major release sync point is laid out cheers Will View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161813#4161813 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161813 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: RPC WSDL and load balancing problem
WSDL report an include on a other *123456*.wsdl Where 123456 is a random number that change from a deploy to another! EAR is deployed as file (not exploded). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161814#4161814 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Redirect to another Portal Page after submiting data - JSF P
Hello, We are developing multipaged portal with JSF portlets. We need to able to switch between the pages after saving data in a JSFBean. We tried to use following code: JBossActionResponse response = (JBossActionResponse)faces.getExternalContext().getResponse(); | response.sendRedirect(http://localhost:8080/portal/auth/portal/default/Raporty/;); After submiting data with commandLink, portal redirects to strange url: anonymous wrote : http://localhost:8080/portal/auth/portal/default/Por%C3%B3wnanie/SylogicPorownanieWindow?com.sun.faces.portlet.VIEW_ID=%2Fjsp%2FSortingTable.jspaction=1com.sun.faces.portlet.NAME_SPACE=jbpns_2fdefault_2fPor%C3%B3wnanie_2fSylogicPorownanieWindowsnpbj The url does not change if we change the redirection target. Is sendRedirect method the right chose or is there another way to navigate between portal pages using JSF Portlets? I would be very thankful for any useful information or solution, Rafal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161815#4161815 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Checking DB connectivity from JMX console
So, it seems I didn't overlook anything, and there's no existing solution for what I was trying to do. My solution was to develop a custom MBean packaged in a .sar and put it in the deploy directory. It has a function where for simply typing the JNDI name of the datasource, and returning either a success string or the exception if the connection failed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161816#4161816 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: LinkageError starting JBossAS 5.0.0CR1
Downloaded the latest available version of Sun JDK 1.6 (Java SE 6 Update 10 Beta). A clean installation of JBoss CR1 with this version boots without any errors. | 20:21:57,171 INFO [CopyMechanism] VFS temp dir: D:\jboss-5.0.0.CR1\server\jaikiran\tmp | 20:21:57,171 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled. | 20:22:01,577 INFO [ServerInfo] Java version: 1.6.0_10-beta,Sun Microsystems Inc. | 20:22:01,577 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.0-b12,Sun Microsystems Inc. | 20:22:01,577 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161817#4161817 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: read a local properties file
Here is one possible way of doing this. Place the properties (or data) file into server/xxx/data. (I placed mine in a subdirectory such as server/xxx/data/mystuff) In your program, use the jboss.server.data.dir property to get the path for the data directory, and use that to access the properties file. For example: String dataDir = System.getProperty(jboss.server.data.dir); Properties prop = Properties.load(new FileInputStream(dataDir + /mystuff/my.properties)); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161818#4161818 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Checking DB connectivity from JMX console
Gap_Tooth wrote : Is there a way to check and see if you can get a valid database connection from the JMX console? Maybe not be exactly what you are looking for, but there's a new-connection-sql attribute you can configure in the -ds.xml. See this for more details http://wiki.jboss.org/wiki/ConfigDataSources View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161819#4161819 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Universal per portlet instance configuration for all use
How do I specify which preference to which scope? I just want to do portlet instance scope. I know for sure that different portlet instances of the same portlet definition can have different preferences. But those preferences varies for different users..thanks and please help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161820#4161820 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161820 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Seam, Do I need for production Enviroments ?
Seam does no good by itself, only in conjunction with an application that uses it do you get any benefit from it. I do not know if, for example, placing the Seam JAR files in server/xxx/lib (to make them available to all apps that use seam) would work or if it would cause problems (it would definitely cause problems if each app required a different version of Seam). By the way, there is no difference in capabilities between running JBossAS with a JRE or a JDK. You used to have to have a JDK because it had the tools necessary to compile JSPs. But that capability if now embedded within Tomcat, so a JRE is fine for running JBossAS. Of course, even if your are using a JRE to run JBossAS, you might still want to have the JDK available to make use of the extra tools provided. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161821#4161821 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - securityManagement not bound
Hi, I got a NameNotFoundException if I full restart the server, but if I deploy MDBs separately the exception doesnât occur. This starting to happen after I am using JBoss 5.0.0 CR1. I print the stacktrace below. Thanks in advance for the help. Regards, Aldian Fazrihady The stack trace: 20:36:53,531 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 20:36:53,578 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.units:ear=MBSCustomerAccountDAOEJB.jar.ear,jar=MBSCustomerAccountDAOEJB.jar,unitName=MBS 20:36:53,578 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext 20:36:53,578 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 20:36:53,593 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=MBSTwoIntChallengeDAOEJB.jar.ear,jar=MBSTwoIntChallengeDAOEJB.jar,unitName=MBS 20:36:53,593 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null. 20:36:53,593 INFO [AnnotationBinder] Binding entity from annotated class: com.balicamp.mbs.TwoIntChallenge 20:36:53,593 INFO [EntityBinder] Bind entity com.balicamp.mbs.TwoIntChallenge on table twointchallenge 20:36:53,656 ERROR [ExceptionUtil] ConnectionFactoryEndpoint[jboss.messaging.connectionfactory:service=ConnectionFactory] createFailoverConnectionDelegate [y3-g6fnj4if-1-2fvkj4if-tjthy4-159fa] java.lang.RuntimeException: javax.naming.NameNotFoundException: securityManagement not bound at org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore.authenticate(JBossASSecurityMetadataStore.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy93.authenticate(Unknown Source) at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:225) at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpoint.java:165) at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFactoryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:108) at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.createConnectionDelegate(ConnectionFactoryAdvised.java) at org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest.serverInvoke(ConnectionFactoryCreateConnectionDelegateRequest.java:91) at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:847) at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101) at org.jboss.remoting.Client.invoke(Client.java:1685) at org.jboss.remoting.Client.invoke(Client.java:589) at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:167) at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeTarget(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81) at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_25372302.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_25372302.java) at
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: LinkageError starting JBossAS 5.0.0CR1
See? :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161824#4161824 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161824 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBossAS 5.0.0CR1 compile error building from source
Ok, problem is solved. Whatever the untar/unzip were making corrupt java files, so some files doesn't end with .java ! Carzy ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161827#4161827 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161827 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error on Jboss 4.2.2
How are you creating the new server configuration? A straight copy from server/default to server/Business? What configuration files are you changing? Use the windiff tool (one of the support tools provided with XP) to get a listing of the files that have been renamed or moved (there are many). Or it might be easier to look at your ant script to see what files it is attempting to modify, and look at where they are in 4.2.2. We can help you on specific files that you might have trouble finding. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161829#4161829 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: 2 different PropertyEditorManagerService in the same JBo
AFAIK no, because the property editors are registered at the JVM level. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161833#4161833 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Clustering JBoss 4.0.5, not working, stuck
Have a look at first item on http://wiki.jboss.org/wiki/ClusteringFAQ and following the link from there to the Troubleshooting section on the JGroups wiki page. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161831#4161831 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - myfaces 1.2.3 issue with jboss 4.2.2 and Seam 2.0.2
Hello, I am having an issue where I see alot of posts but with no resolution stated. I was running Jboss 4.2.2 with myfaces 1.1.5. Everything worked fine. So I tried to bring in Seam 2.0.2 and it seems like it requires myfaces 1.2. So I upgraded myfaces to 1.2.3, but I get errors such as below when my jsp page is rendered. Caused by: org.apache.jasper.JasperException: Unable to convert string en to c lass javax.el.ValueExpression for attribute locale: Property Editor not regi stered with the PropertyEditorManager at org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEdito rManager(JspRuntimeLibrary.java:887) I am using myfaces 1.2.3 and jsp-api 2.1 and jstl 1.2 and the myfaces tag that causes this is: f:view locale=en Any pointers would be appreciated... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161834#4161834 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBossAS 5.0.0CR1 compile error building from source
I pulled the source from subversion yesterday just after they tagged CR1, and except for a minor maven glitch (had to run mvn -U -up to update various stuff, oh and make sure you have maven 2.0.9), it compiled just fine. Hold on while I compile the 'official' source. OK, it built for me. I used WinXP SP2, JDK 1.5.0_15. I compared my build.log with yours. Right before the errors, your build log shows: compile-classes: | [javac] Compiling 168 source files to /home/dersupai/Tools/Appserver/jboss-5.0.0.CR1-src/j2se/ou | tput/classes but mine shows: == | == Executing 'most' in module 'j2se'... | == | | _buildmagic:init: | | configure: | Overriding previous definition of reference to jboss.test.classpath | | _default:task-init: | | init: | | _buildmagic:build-bypass-checker: | | _buildmagic:build-bypass-notice: | | _buildmagic:build-bypass-check: | | jars: | | _buildmagic:init: | | init: | | compile-classes: | [mkdir] Created dir: F:\opt\jboss\download\jboss-5.0.0.CR1-src\j2se\output\classes | [mkdir] Created dir: F:\opt\jboss\download\jboss-5.0.0.CR1-src\j2se\output\gen-src | [javac] Compiling 260 source files to F:\opt\jboss\download\jboss-5.0.0.CR1-src\j2se\output\classes Why is mine compiling 260 classes while yours is compiling only 168 classes? It would appear that the untargzing of the file did not work correctly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161839#4161839 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user