[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
Hello, do i understand it correctly, 'Seam Generate Entities' does work for your databases, except for oracle? We have used it for generating entities out of our Oracle Express database. And we have it successfully used against Oracle 9. It was not an easy task for us to setup the database connection in a fully functinal way. But we succeded. In what i can remember, we have first tried to setup the oracle connection so that the 'hibernate' perspective does work in eclipse. In this perspective you get helpful information if something goes wrong. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132396#4132396 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - creating a portal for each org. unit
can i use the multiple portals feature to manage each portal separately by a different organization unit? say i have multiple organization units. i need to: 1. create a portal for each one. 2. each portal can be accessed only by the users of that org. unit. 3. an administrator of the org. unit can administrate the portal and its users, but not other portals. 4. all portals are made of the same template, i.e. are identical and subject to further customizations by the org. unit administrator. 5. when the master template changes all portal instances also change. can this be done? which of the above can't be done? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132393#4132393 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Restricting access to different portals.
Peter, Thanks for your reply. But this is not the one I want. I have multiple portals, say MyPortal1, MyPortal2, MyPortal3 etc... and I have muliple users. say User1, User2, User3 etc... Some of the user has Admin role and some of them had User role. Now I have to restrict access to MyPortal2 and MyPortal3 for User1. User1 should only have access to MyPortal1. Hope that I didnt confused you more.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132394#4132394 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: EHCACHE Mbean on Jboss
I walked into that one twice as well. It is there, you just cannot see it. If you use the ManagementFactory.getPlatformMBeanServer() method it will return something like your own private domain. Use this call instead: | MBeanServerFactory.findMBeanServer(null).get(0); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132397#4132397 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deploying applications programmatically
There's a MBean named MainDeployer which you could use to deploy the applications programatically. Access you jmx-console (http://localhost:8080/jmx-console) and on that page look for service=MainDeployer under the jboss.system domain. If you click on that link you will be forwarded to a page which shows you all the available APIs (one of which is the deploy method) on this MBean. The JBossJMX FAQ at http://wiki.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX will help you in using the MBean programatically. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132399#4132399 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Migrating from jBoss4.0.5GA to 4.2.2GA
Can you post the contents of your bean? Are you injecting any other beans? While posting the contents, remember to wrap it in a code block, using the Code button in the message editor window. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132402#4132402 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Changeing minOccurs possible?
Hi, according to http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#Customizing_WSDL_Schema_Generation the only possibility you have is to use javax.xml.bind.annotation.* annotations. Your object GetBillingAccountRequest must be JAXB de/serializable. However aforementioned annotations don't contain MinOccurs annotation, see: http://java.sun.com/javaee/5/docs/api/javax/xml/bind/annotation/package-tree.html Try to ask JAXB forum how to solve your problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132407#4132407 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Too many open files exception JBOSS 4.2
See this http://www.jboss.com/index.html?module=bbop=viewtopict=72154 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132410#4132410 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Relogin after 30 minutes
mircea.markus wrote : This is not related to JBossCache okay, I see, it's not related to JBoss Cache, but it's related on authenticated users cache. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132406#4132406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: java.lang.NoClassDefFoundError: org/quartz/SchedulerExce
gz2jbt, This is a 2 year old thread and its highly likely that you might not get an answer. You will have to provide more details about your setup - JBoss version, Java version, OS and the exception stacktrace. When does this exception occur? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132401#4132401 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Login from different hosts and brute force prevent
Hi all, I developed a portal application some time ago with Jboss Portal Server 2.2 , and I was looking for a way to enhance security settings. In particular, some users notify me that - it is possible for a user to login from different hosts - there is no a limit for login attempts, so the portal is vulnerable to a brute force attack. This JBoss instance was not setting up by me so even after some searches I wasn't able to find where to modify to enable these security setting, or, if necessary, which java class to edit and recompile... Does anywone have experience on it and/or can help me? Thank you so much! :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132408#4132408 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Changeing minOccurs possible?
Ups, I meant SLSB not a SFSB. :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132405#4132405 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - How can i get client's ip
Hi, i need to get client's ip in portlet, and all my tries failed :( If we use servlet, it's easy - ((ServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest()).getRemoteAddr(); Other try - Instead of getRemoteAddr(), i used getRemoteUser() cause the first one does not exists for PortletRequest but it return null. so from portlet all my research said - mission imposible. Does anyone found a solution ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132429#4132429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBoss JBPM Question~~~!!
Hi everyone, I am using jboss 4.0.4, jwsdp 2.0 and jbpm-bpel 1.1 beta 3. I am developing a simple web service that return two values from a operation. I have created the bpel and wsdl file and ServiceImpl.java. Inside ServiceImpl.java, It contains only one operation get(): public void get(float a, float b, FloatHolder c, FloatHolder d) throws RemoteException{ } -- this method it simple take in two float values and return the intake values back to the client. In wsdl file: part name=a type=xsd:flaot part name=b type=xsd:flaot part name=c type=xsd:flaot part name=c type=xsd:flaot ... After i run ant build.xml in terminal, It compile and create the required file and then deploy to jboss server. The generated endpoint interface is called ServicePT.java, public interface ServicePT extends Remote{ public void get(float a, float b, FloatHolder c, FloatHolder d) throws RemoteException; } It can deploy successfully, but when the get() is invoked, there is an error. In jboss server log, i found the following lines, it may be the reason to my problem. OperationMetaData: xmlName={http://example/test}get javaName=get style=rpc/literal oneWay=false soapAction=http://example/test ParameterMetaData: xmlName=a xmlType={http://www.w3.org/2001/XMLSchema}float javaType=java.lang.Float mode=IN inHeader=false ParameterMetaData: xmlName=b xmlType={http://www.w3.org/2001/XMLSchema}float javaType=java.lang.Float mode=IN inHeader=false ReturnMetaData: xmlName=d xmlType={http://www.w3.org/2001/XMLSchema}float javaType=java.lang.Float mode=OUT inHeader=false I have spent few days to figure out why there is an error when returning two values. Can anyone tell me how to fix it? And did anyone try to deploy a service to jboss server that return more than one values ? Thanks a lot. sim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132427#4132427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Developing EJB with JBoss Eclipse and JBossTools
read about JBoss Developer Studio: http://www.jboss.com/products/devstudio JBDS forum: http://www.jboss.com/index.html?module=bbop=viewforumf=258 JBDS is commercial, but it's just a combination of open source plugins. so you could assemble it yourself JBDS provides nice Hot Deployment View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132421#4132421 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: autocommit question
vickyk wrote : | Your problem is not related to this thread you would be calling the commit() on the connection whose autocommit property is set to true. | Maybe that's the case, but the same piece of code is working fine on tomcat and websphere and the problem occurs when i deploy it on jboss after configuring a JDBC datasource. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132419#4132419 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Jboss 4.2.1 clustering bug ?
The application is a war file and reads EDI files and applies these as updates to the database. There are few html pages where you can 'take the temperature' of the application, and it is on these pages that the error occurrs. One difference between Jboss 3.2.2 and jboss 4.2.1 is the use of Avalon framework. This is in 4.2.1 placed in lib directory whereas it was not present in 3.2.2. Since Cocoon uses Avalon framework I had to use isolation(http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration, updated jboss-web.xml and this made the application run as it should in deploy directory under 4.2.1. Here are the scenarios I have tried. All have been deployed in deploy-hasingleton 1) Put the war file in deploy-hasingleton, as it is described in the Jboss Clustering Guide. The error occurred and this is shown in the log Only the root deployment can set the loader repository, ignoring config=LoaderRepositoryConfig(repositoryName: jboss.dataintegration:war=dataintegration.war, repositoryClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, repositoryConfig: java2ParentDelegation=false) but according to 'http://wiki.jboss.org/wiki/Wiki.jsp?page=GetWARNquotOnlyTheRootDeploymentCanSetTheLoaderRepositoryquotOn3.2.5', this can be ignored 2) Created a SAR and a jboss-service.xml with isolation and and an mbean containing HASingletonController. The same error occurred, but again this is shown in the log Only the root deployment can set the loader repository, ignoring config=LoaderRepositoryConfig(repositoryName: jboss.dataintegration:sar=dataintegration.sar, repositoryClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, repositoryConfig: java2ParentDelegation=false) for both sar and war 3) Created a SAR and a jboss-service.xml with isolation and and an mbean containing HASingletonController but this time the isolation in jboss-web.xml in the war file is removed. The same error occurred, but again this is shown in the log: Only the root deployment can set the loader repository, ignoring config=LoaderRepositoryConfig(repositoryName: jboss.dataintegration:sar=dataintegration.sar, repositoryClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, repositoryConfig: java2ParentDelegation=false) I think it is odd that each time the application is deployed in deploy-hasingleton and fails, the text about root deployment that can be ignored, is showing. I used to think that this problem wa related to classpath, but I am not so sure Lasse Petersen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132416#4132416 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: how to configure the thread count of execute queues in J
The value specified in server.xml is the total number of threads available to service any client requests and does not discriminate between different servlets. You can however limit the number of available threads for a given ejb, so you could delegate the request to the crystal report server to an ejb. The pool size can then be specified in standardjboss.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132424#4132424 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Developing EJB with JBoss Eclipse and JBossTools
Hello, I'm making my first steps with EJB-Development on JBoss. I managed to Create a Session-Bean and a Client, but it seemed quite complicated to me. In my opinion the IDE should give me more support. Is there a good guide/tutorial on HowTo use The JBossTools? And how to deploy a EJB-Project as a jar-File without always having to Export - EJB-Jar File ? Thanks in advance Jan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132415#4132415 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Shutdown behavior
Hi! Is there a way to alter the default shutdown behavior? To be more exact, I have multiple MBeans and State*Beans (supplying web services) that might need to run longer then the shutdown mechanism allows. If that is not possible (crazy idea coming), might it be possible to create an interceptor that catches the system call, notifies the listeners and when they report back that I can shut down, then requests a server shutdown? I looked through the docs, faqs and xmls but could not find anything clearly indicating such a possibility. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132414#4132414 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: the client can't invoke the service
I have the same problem even if i use directly the SommeWSService class : //FLAG1 | SommeWSService service = new SommeWSService(); | | //FLAG2 | SommeWS s = service.getSommeWSPort(); the same exception at the FLAG2 instruction. ... | Caused by: java.lang.LinkageError: Class javax/xml/rpc/ParameterMode violates loader constraints | ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132441#4132441 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBPM Centralised Tables
Hello, I am looking into jBPM using one set of tables for a set of applications. Does anyone have any experience of this? I'd like to be able to restrict the processes displayed per application. For example, application 1 cannot see application 2's processes. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132440#4132440 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - ERROR - as default value for output for java.util.logging?
Hi I didnt find anythign similar and looks like this is forum it fits most. I have strange behaviour of logging utilities inside jboss. log4j works fine howeever java.util.logging prints weirdly. I mean default logging framework is log4j with jboss adaptor for it. However when I use java.util.logging it prints always as and error level message in console - regardles of level. Does anyone have a clue on this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132444#4132444 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - the client can't invoke the service
Hi everybody! I'm following the JBossWS quick start (http://jbws.dyndns.org/mediawiki/index.php?title=Quick_Start), and i'm facing some weird errors. Here is what i have done : Server side My implementation class : package org.domain.proj_essai.ws; | | import javax.ejb.Stateless; | import javax.jws.WebParam; | import javax.jws.WebService; | import javax.jws.WebMethod; | import javax.jws.soap.SOAPBinding; | | @Stateless | @WebService( |name=SommeWS, |targetNamespace = http://ws.proj_essai.domain.org;, |serviceName = SommeWSService) | @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) public class SommeWS { | |@WebMethod |public int additionner( int a, int b){ | return a + b; |} | |@WebMethod |public int soustraire( int a, int b){ | return a - b; |} | |@WebMethod |public String afficherBonjour() { | return Bonjour; |} | | } | my WSDL location (generated automatically when deploying): http://127.0.0.1:8080/SommeWSService/SommeWS?wsdl Client side: First, I generated all client classes with wsconsume : wsconsume -k -p bsa.ws http://127.0.0.1:8080/SommeWSService/SommeWS?wsdl | it gave me the following files: bsa\ws\Additionner.java | bsa\ws\AdditionnerResponse.java | bsa\ws\AfficherBonjour.java | bsa\ws\AfficherBonjourResponse.java | bsa\ws\ObjectFactory.java | bsa\ws\SommeWS.java | bsa\ws\SommeWSService.java | bsa\ws\Soustraire.java | bsa\ws\SoustraireResponse.java | bsa\ws\package-info.java | bsa\ws\Additionner.java | bsa\ws\AdditionnerResponse.java | bsa\ws\AfficherBonjour.java | bsa\ws\AfficherBonjourResponse.java | bsa\ws\ObjectFactory.java | bsa\ws\SommeWS.java | bsa\ws\SommeWSService.java | bsa\ws\Soustraire.java | bsa\ws\SoustraireResponse.java | bsa\ws\package-info.java | | Then i try to invoke the service from a method (that works without the web service invoking part) : | URL url = null; | | try { | | url = new URL(http://127.0.0.1:8080/SommeWSService/SommeWS?wsdl;); | | } catch (MalformedURLException e) { | | e.printStackTrace(); | | } | | | | Logger.getRootLogger().info( FLAG1 ); | | Service service = Service.create( url,new QName(SommeWSService) ); | | //Service service = Service.create(url,new QName( http://ws.proj_essai.domain.org;, SommeWSService) ); | | | | Logger.getRootLogger().info( FLAG2 ); | | SommeWS s = service.getPort( SommeWS.class); | | | | | | Logger.getRootLogger().info(- + s.afficherBonjour() + ---); | | | | PROBLEM: | i have the following exception: | ... | | Caused by: javax.xml.ws.WebServiceException: java.lang.IllegalArgumentException: Cannot obtain wsdl service: SommeWSService | | ... | | Caused by: java.lang.IllegalArgumentException: Cannot obtain wsdl service: SommeWSService | | ... | | | | Then, i modified the instruction in the FLAG1 zone by the commented one ( Service service = Service.create(url,new QName( http://ws.proj_essai.domain.org;, SommeWSService) ); ) . It succeeds, but the FLAG2 instruction ( SommeWS s = service.getPort( SommeWS.class); ) brings me un error : | ... | | Caused by: java.lang.LinkageError: Class javax/xml/rpc/ParameterMode violates loader constraints | | ... | | | | Could you help me please? If you need more informations ask me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132434#4132434 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Can't replace container configuration for MDB
Hi Legga, Have you managed to get your MDB to listen to the remote queue? I am trying to do exactly the same thing but i get stuck when i deploy my MDB. It fails to connect to the remote queue. Any suggestions? Tx Marco View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132433#4132433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deploying applications programmatically
Thanks for your reply! Following your advice I have now successfully deployed a jar and custom archive using the MainDeployer and a custom deployer. For anyone interested here is a code snippet demonstrating looking up the MainDeployer mbean and using this to deploy an archive: | | ObjectName objectName = new ObjectName(jboss.system:service=MainDeployer); | | MBeanServer server = MBeanServerLocator.locateJBoss(); | | MainDeployerMBean deployerMBean = | (MainDeployerMBean)MBeanServerInvocationHandler.newProxyInstance( |server, |objectName, |MainDeployerMBean.class, |false); | | deployerMBean.deploy(file://C:/archives/myArchive.jar); | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132449#4132449 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132449 ___ 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: hibernate: MS-SQL Server and UTF-8
found the answer: you have to create your own hibernate dialect and then set the correct column types:package mypackage; | | import java.sql.Types; | | public class SQLServerDialect extends | org.hibernate.dialect.SQLServerDialect { | | public SQLServerDialect() { | super(); | registerColumnType(Types.CHAR, nchar(1) ); | registerColumnType(Types.VARCHAR, nvarchar($l) ); | } | | } | then use this dialect in your persistence.xml file: see also http://forum.hibernate.org/viewtopic.php?t=972518highlight=sql+server+nvarchar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132458#4132458 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: the client can't invoke the service
I have some good news!! I made it work (somehow...) My server application (which provides the web service) is a SEAM application that runs on JBoss 4.2 server. My client that can't invoke the web service is an application of another type (non SEAM) running on JBoss 4.0 server. Now i've juste made a new Seam project (on 4.2). I could finally invoke the web service with it. I user the same instructions as before and it's perfectly working. Now the problem is to make the old client (on JBoss 4.0) invoke the service. What could be the origin of the problem? It's the JBoss server 4.0 or something else. If you have some answers could you help me please? I'm still searching. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132461#4132461 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Less coding by custom nodes/jrules/etc...
Hey, I'm finding myself writing a lot of processes nodes that make a usage of the same java code but with very simple modifications, Then, I think writing custom nodes that will receive information(probably as parameters of the custom nodes) when drawing the node will solve the code re-write, Also, I assume Jboss rules can be used with JBPM to simplify rules instead of using java code as well, My mission is that I would really love to see how non-developers can use our platform to define processes without the need to write Java code at the backend. So here are my questions: 1) Is it possible to create custom Nodes and set some parameters when drawing the node in the process? In the doc of JBPM it is written that it's easy but I couldn't find any samples, etc... 2) After browsing the forum a little bit, I can see that extending the designer is currently not an easy task, is it going to be changed? will it be easier in the future? what's the plans here? 3) Are there any other usages/samples of using JBPM with jboss rules except the small example in the wiki? For the start, I'll be glad to write the custom nodes, and use them in the processdefinition xml file manually, later on, when it'll be possible, I'll define these custom nodes on the designer as well, Many thanks guys, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132454#4132454 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Where is the portal properties file for PortalContext, or ho
Hello. I`m trying to use a file that can be accessed by all deployed portlets (portlets are in diferents war files). I think the way to stablis the path for this file is using PortalContext properties but I don`t know in which file can I set this properties. Now the only properties that I can obtain are portal.defaultObjectName and theme.id while ,the files I believe has this information (default-object.xml), has more properties. Where is the portal properties file, or how can I stablish a file which can be access for all portlets? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132476#4132476 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - log4j properties in .sar file in jboss 4.0.4GA
I have created a .sar in JBoss 4.0.4 GA. i want to use log4j . Where i have to put the log4j properties file . Can anybody help me. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132479#4132479 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...
trouby wrote : I'm finding myself writing a lot of processes nodes that make a usage of the same java code but with very simple modifications, Then why not re-use the same handler code? Make sure the handler has a field/setter and then when you use the handler, pass in a parameter to modify the behaviour. Doesn't even need a custom node implementation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132474#4132474 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - multiple portal instances
what are multiple portal instances good for? what is the motivation? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132488#4132488 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132488 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Creating ProcessInstance Object from webapplication
hi, I persisted processdefinition.xml in to the database, and able to load it from database from my web application, using this code : JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); try { GraphSession graphSession = jbpmContext.getGraphSession(); ProcessDefinition processDefinition = graphSession.findLatestProcessDefinition(simple1); ProcessInstance processInstance = new ProcessInstance(processDefinition); Token token = processInstance.getRootToken(); token.signal(); but problem is when i am calling token.signal() it is giving an exception couldn't load delegation class 'org.gss.jbpm.MessageActionHandler' java.lang.ClassNotFoundException: class 'org.gss.jbpm.MessageActionHandler' could not be found by the process classloader I am unable to call ActionHandler class which is configured in my processdefinition.xml can any body help me View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132504#4132504 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132504 ___ 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 5.0.0.Beta3
Please Help! There is any solution? I'm also unable to use the JBoss AS 5.0.0.beta4 with IDE Netbeans 6.0.1 'cause the error: The domain path is not valid... Workarround? Solution? Patch Rebuild? Please give me an aid. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132503#4132503 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132503 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JAAS Authentification with wrong role
Thanks for help, worked fine by adding | error-page | error-code403/error-code | location/sorry.html/location | /error-page | Greets Sascha View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132498#4132498 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] JBOSS CLutering Problem
I am trying to running a cluster in jboss at two remote machine I am using the following command bin/run.sh -c all -b {Global IP} -g kaavo for both node A and B both are forming different cluster , can't locate each other . I am new in JBOSS please help me by your valuable advice Thank you very much in advance subhasis Subhasis Dasgupta Kaavo Inc. www.kaavo.com http://www.kaavo.com/ Kaavo8 ** Privileged and Confidential Cmmunication ** The information contained in this e-mail message may involve confidential and/or privileged material that is solely transmitted for the purposes of the intended recipient(s). If the reader of this message is not an intended recipient, or if this message has been inadvertently directed to your attention, you are hereby notified that you have received this message and any attached document(s) in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by return e-mail and delete and destroy all copies of the original message. *** image001.jpg___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - referencing jboss-wsse-client.xml in WAR
Hi, Noob question: I have a WAR that serves both as a provider and consumer of a secure web service. In the client section I try to do a ((StubExt)port).setSecurityConfig(new File(WEB-INF/jboss-wsse-client.xml).toURL().toExternalForm()); but end up with a FileNotFound for | JBOSS_HOME\bin\META-INF\jboss-wsse-client.xml | What is the correct way of referencing an internal file? I think I have had the same scenario in EAR archives and there the reference was OK. Thanks in advance, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132501#4132501 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - UsernamePasswordLoginModule and client origin
I have a subclass of UsernamePasswordLoginModule, and I want to use different authentication logic for clients that run on the server machine and clients that run on remote machines. How can I obtain the client origin from within the Login Module instance? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132511#4132511 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132511 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Simply IP ban
Oh come on, it must works...anyway. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132507#4132507 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Migrating from jBoss4.0.5GA to 4.2.2GA
Here's the bean, the interface(s) implemented, and class he inherits from. Basically the business tier was built on a hierarchical scheme where the highest level user BeloAdmin would inherit his characteristics from the lower levels. ie. RegionAdmin @Stateless public class BeloAdminFactoryBean extends RegionAdminFactoryBean implements ISessionBeloAdminFactoryLocal { @EJB private ISessionBeloAdminRegionLocal beloAdminRegionBean; @EJB private ISessionBeloAdminDMALocal beloAdminDMABean; @EJB private ISessionBeloAdminSportLocal beloAdminSportBean; @EJB private ISessionBeloAdminPlayerLocal beloAdminPlayerBean; @EJB private ISessionBeloAdminCoachLocal beloAdminCoachBean; @EJB private ISessionBeloAdminGameLocal beloAdminGameBean; @EJB private ISessionBeloAdminStatsLocal beloAdminStatBean; @EJB private ISessionBeloAdminUserLocal beloAdminUserBean; /* (non-Javadoc) * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminRegionBean() */ public ISessionBeloAdminRegionLocal getBeloAdminRegionBean() { return beloAdminRegionBean; } /* (non-Javadoc) * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminDMABean() */ public ISessionBeloAdminDMALocal getBeloAdminDMABean() { return beloAdminDMABean; } /* (non-Javadoc) * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminSportBean() */ public ISessionBeloAdminSportLocal getBeloAdminSportBean() { return beloAdminSportBean; } /* (non-Javadoc) * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminPlayerBean() */ public ISessionBeloAdminPlayerLocal getBeloAdminPlayerBean() { return beloAdminPlayerBean; } /* (non-Javadoc) * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminCoachBean() */ public ISessionBeloAdminCoachLocal getBeloAdminCoachBean() { return beloAdminCoachBean; } /* (non-Javadoc) * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminGameBean() */ public ISessionBeloAdminGameLocal getBeloAdminGameBean() { return beloAdminGameBean; } /* (non-Javadoc) * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminStatBean() */ public ISessionBeloAdminStatsLocal getBeloAdminStatBean() { return beloAdminStatBean; } /* (non-Javadoc) * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminUserBean() */ public ISessionBeloAdminUserLocal getBeloAdminUserBean() { return beloAdminUserBean; } } package com.belo.leaderboard.ejb.session.factories; import javax.ejb.Local; /** * Interface for use in the EJB and web tier. * Interface to Belo Admin Entity Beans */ @Local public interface ISessionBeloAdminFactoryLocal extends ISessionBeloAdminFactory { } package com.belo.leaderboard.ejb.session.factories; import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminCoachLocal; import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminDMALocal; import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminGameLocal; import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminPlayerLocal; import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminRegionLocal; import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminSportLocal; import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminStatsLocal; import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminUserLocal; /** * Interface for use in the EJB and web tier. * Interface to Belo Admin Entity Beans */ public interface ISessionBeloAdminFactory extends ISessionRegionAdminFactory { /** * @return */ public ISessionBeloAdminRegionLocal getBeloAdminRegionBean(); /** * @return */ public ISessionBeloAdminDMALocal getBeloAdminDMABean(); /** * @return */ public ISessionBeloAdminSportLocal getBeloAdminSportBean();
[jboss-user] [JBoss Portal] - Re: Changing port to 80 works, but throws errors
You still need to update the consumer configuration for the self producer if you are using it. See http://wiki.jboss.org/wiki/Wiki.jsp?page=WSRPChangePorts, consumer configuration... ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132515#4132515 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Jboss 4.2.1 clustering bug ?
Try deploying you war in deploy, no sar or HASingletonController, with your classloader isolation in jboss-web.xml. That is, the way it works. But add to jboss-web.xml a depenedency on the HASingleton BarrierController as described at http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/beta422/html/ch05s11s03.html From a quick look, seems like the Avalon dependency is being pulled in via the IIOP module's use of Jacorb. Another possible approach is disabling use of IIOP (if you don't need it), but I've never done that and can't say how much of a ripple effect it might have. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132520#4132520 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 4.2.2 wont deploy my persistency unit
ae wrote : aborland wrote : Is there currently any other solution/workaround for this? I'd prefer not to hack in such a change. I'm using 4.2.0.GA_CP01 and having this exact problem. | | This fix is pretty safe and should not have any impact to the rest of the system. | | As for other workaround, I guess it would be your turn to find it and publish it out :) Hello, This solution solves the persistence context loading issue. But now I have one more issue.The @PersistenceContext is not supported in MDB. Also I tried with the persistence-context-ref persistence-context-ref-namehopsLM3/messaging/entity_manager/persistence-context-ref-name persistence-unit-namehopsMessaging$LM/persistence-unit-name /persistence-context-ref in ejb-jar.xml but still same issue. The error that I get is 14:50:01,042 ERROR [STDERR] javax.naming.NameNotFoundException: hopsLM3 not boun d 14:50:01,042 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(Naming Server.java:529) 14:50:01,042 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(Naming Server.java:537) 14:50:01,057 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingS erver.java:543) 14:50:01,057 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServ er.java:267) 14:50:01,057 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServ er.java:270) I am not able to resolve it. Any help on it would be appreciated. Thanks and Regards, Yugant Shah. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132525#4132525 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - problem in invoking of a web service
Dear Friends, I have deisigned a simple process in BPEL designer to invoke a web service. But when I deploy this process to jbpm 1.1 GA, it shows an error message. I am sedning this error message at the end of this message. As it is not possible to attach the project, I am also sending the other files of this project as the content. As you see the root of the error is Process1Artifact.wsdl (the file which is generated after defining the web service), but it seems a normal wsdl file. I hope to find the answer, Thanks, Arman All files are as blow: Error Message: 16:49:10,812 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour ce:log4j.xml 16:49:39,812 ERROR [ProblemHandler] document is not readable () java.io.FileNotFoundException: D:\Tools\jbpm\jbpm-bpel-1.1.4\jboss-4.0.5.GA\bin (Access is denied) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLC onnection.java:105) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So urce) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.jbpm.bpel.xml.ProcessWsdlLocator.upgradeWsdlDocumentIfNeeded(Proc essWsdlLocator.java:153) at org.jbpm.bpel.xml.ProcessWsdlLocator.getBaseInputSource(ProcessWsdlLo cator.java:109) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2184) at org.jbpm.bpel.xml.BpelReader.readImportWsdlDefinition(BpelReader.java :519) at org.jbpm.bpel.xml.BpelReader.readImports(BpelReader.java:447) at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:296) at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:204) at org.jbpm.bpel.par.BpelArchiveParser.readFromArchive(BpelArchiveParser .java:49) at org.jbpm.bpel.par.GenericArchiveParser.callProcessArchiveParsers(Gene ricArchiveParser.java:134) at org.jbpm.bpel.par.GenericArchiveParser.readFromArchive(GenericArchive Parser.java:54) at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchiv e.java:81) at org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(DeploymentS ervlet.java:169) at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:95) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi lter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit yAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv e.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne ctionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p rocessConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo int.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor kerThread.java:112) at java.lang.Thread.run(Thread.java:595) 16:49:39,906 ERROR [ProblemHandler] could not read wsdl document (process1.bpel) WSDLException: faultCode=PARSER_ERROR: Problem parsing ''.: D:\Tools\jbpm\jbpm-b pel-1.1.4\jboss-4.0.5.GA\bin (Access is denied): java.io.FileNotFoundException:
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deployers ordering and write access to the private namin
Moved this to User forum, where it should be in the first place. ;-) What's the env you're running this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132522#4132522 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: dynamic AOP whith EJB ?
Thanks for your response; I want to use dynamic AOP to realize a run-time adaptability of applicationsbased components, dynamic AOP is used to implement a redirection mechanism that allow a replacement of component, this mechanism is implemented in connectors level ( between two components). thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132528#4132528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deployers ordering and write access to the private namin
Not necessarily as its a question of a new resource injection type. This will only be reasonably doable in jbossas5. Its not a question of startup ordering. Its an issue of a new resource type showing up in the component ENC. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132529#4132529 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Migrating from jBoss4.0.5GA to 4.2.2GA
nsmith80 wrote : Here's the bean, the interface(s) implemented, and class he inherits from. Basically the business tier was built on a hierarchical scheme where the highest level user BeloAdmin would inherit his characteristics from the lower levels. ie. RegionAdmin | | | | @Stateless | | public class BeloAdminFactoryBean extends RegionAdminFactoryBean implements ISessionBeloAdminFactoryLocal { | | | | | | @EJB private ISessionBeloAdminRegionLocal beloAdminRegionBean; | | @EJB private ISessionBeloAdminDMALocal beloAdminDMABean; | | @EJB private ISessionBeloAdminSportLocal beloAdminSportBean; | | @EJB private ISessionBeloAdminPlayerLocal beloAdminPlayerBean; | | @EJB private ISessionBeloAdminCoachLocal beloAdminCoachBean; | | @EJB private ISessionBeloAdminGameLocal beloAdminGameBean; | | @EJB private ISessionBeloAdminStatsLocal beloAdminStatBean; | | @EJB private ISessionBeloAdminUserLocal beloAdminUserBean; | | | | | | | | /* (non-Javadoc) | | * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminRegionBean() | | */ | | public ISessionBeloAdminRegionLocal getBeloAdminRegionBean() { | | | | return beloAdminRegionBean; | | | | } | | | | | | /* (non-Javadoc) | | * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminDMABean() | | */ | | public ISessionBeloAdminDMALocal getBeloAdminDMABean() { | | | | return beloAdminDMABean; | | | | } | | | | | | /* (non-Javadoc) | | * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminSportBean() | | */ | | public ISessionBeloAdminSportLocal getBeloAdminSportBean() { | | | | return beloAdminSportBean; | | | | } | | | | | | /* (non-Javadoc) | | * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminPlayerBean() | | */ | | public ISessionBeloAdminPlayerLocal getBeloAdminPlayerBean() { | | | | return beloAdminPlayerBean; | | | | } | | | | | | /* (non-Javadoc) | | * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminCoachBean() | | */ | | public ISessionBeloAdminCoachLocal getBeloAdminCoachBean() { | | | | return beloAdminCoachBean; | | | | } | | | | | | /* (non-Javadoc) | | * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminGameBean() | | */ | | public ISessionBeloAdminGameLocal getBeloAdminGameBean() { | | | | return beloAdminGameBean; | | | | } | | | | | | /* (non-Javadoc) | | * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminStatBean() | | */ | | public ISessionBeloAdminStatsLocal getBeloAdminStatBean() { | | | | return beloAdminStatBean; | | | | } | | | | | | /* (non-Javadoc) | | * @see com.belo.leaderboard.ejb.session.factories.ISessionBeloAdminFactory#getBeloAdminUserBean() | | */ | | public ISessionBeloAdminUserLocal getBeloAdminUserBean() { | | | | return beloAdminUserBean; | | | | } | | | | | | } | | | | | | | | package com.belo.leaderboard.ejb.session.factories; | | | | import javax.ejb.Local; | | | | /** | | * Interface for use in the EJB and web tier. | | * Interface to Belo Admin Entity Beans | | */ | | @Local | | public interface ISessionBeloAdminFactoryLocal extends ISessionBeloAdminFactory { | | | | } | | | | | | | | | package com.belo.leaderboard.ejb.session.factories; | | | | import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminCoachLocal; | | import com.belo.leaderboard.ejb.session.function.ISessionBeloAdminDMALocal; | | import
[jboss-user] [JBoss Messaging] - Client failover
Hello all, I have a problem with the client failover sending JMS messages to the JBoss Cluster if I shutdown (not kill) one of the cluster nodes. JBoss version 4.2.2 GA JBM version 1.4.0 SP3 Java version 1.6.0_04 OS solaris 2.10 The cluster contains 2 nodes. JBM was installed on the clean JBoss AS installations. The client is sending 1000 messages to the clustered queue. If one of the cluster nodes is shut down (using shutdown.sh) the exception on the client side is sometimes thrown: javax.jms.JMSException: Failed to route Reference[1369]:RELIABLE to sampleprocess | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:743) | at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:383) | at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:87) | at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java) | at org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:157) | at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121) | at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java) | at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java) | at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(SessionSendRequest.java:95) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:795) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163) | at org.jboss.remoting.Client.invoke(Client.java:1634) | at org.jboss.remoting.Client.invoke(Client.java:548) | at org.jboss.remoting.Client.invoke(Client.java:536) | at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189) | at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160) | at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$send$aop(ClientSessionDelegate.java:477) | at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java) | at org.jboss.jms.client.container.SessionAspect.handleSend(SessionAspect.java:632) | at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect28.invoke(SessionAspect28.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java) | at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:114) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105) | at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105) | at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.send(ClientSessionDelegate.java) | at org.jboss.jms.client.container.ProducerAspect.handleSend(ProducerAspect.java:278) | at org.jboss.aop.advice.org.jboss.jms.client.container.ProducerAspect39.invoke(ProducerAspect39.java) | at org.jboss.jms.client.delegate.ClientProducerDelegate$send_396159801771796.invokeNext(ClientProducerDelegate$send_396159801771796.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105) | at org.jboss.jms.client.delegate.ClientProducerDelegate$send_396159801771796.invokeNext(ClientProducerDelegate$send_396159801771796.java) | at
[jboss-user] [JBoss Portal] - Re: Default Pages On Reboot
Disregard my last post, just reading the documentation wrong. You are correct in the fact that I don't need to have to *-object.xml and portlet-instances.xml as the documentation mentions if you want to create the page layouts and portlet instances with the Manage Portlet capability. I was making a bonehead mistake by repackaging the .ear and .war with the name of the files as a top level directory, which wasn't right. And was causing the application.xml file not to be found. All good now. Thanks again for you help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132543#4132543 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deployers ordering and write access to the private namin
We are currently adding sip servlets spec implementation on top of JBoss 4.2.2.GA as we are targeting the same version used by Mobicents (JAIN SLEE) to be able to bundle them together to provide full telco features. There is no way at all to do it in a 4.x version ? Even if it's a bit hacky in waiting for Jboss 5 or through some kind of interceptors... Ideally, we don't want to do any modifications into the jboss code just extend it to provide this feature, will Jboss 5 be easily extendable regarding this matter ? Thanks a lot for your valuable feeback. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132545#4132545 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deployers ordering and write access to the private namin
By something hacky I meant something like : Let the EARDeployer deploys everything then iterate through all webapps/sipapps modules, get their SipFactory and inject them into the ENC of every other JEE modules (EJB, Web Service MDB and so on)... Everything done in EARDeployer that might have access to ENC of deployed modules of the EAR and access to the webapps/sipapps contexts. Just a thought even if not great Jean View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132549#4132549 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...
Hey, Thanks for answering, Few reasons: 1) In the future, it'll be easier to customize things visually through nodes, selecting handles is not nice as dragging nodes, 2) Customizing parameters of nodes can be done visually, handlers receive info as method parameters, which is not nice as visual form fields (btw, I don't use handlers at all, I use expressions and invoke Seam components, but it's about the same implementation) 3) I have too much information to pass, it'll be easier to pass it via a new structure of the node in the processdefinition.xml So, for the start, is it possible to customize nodes? if so, is it documented? somehow? somewhere? samples? :) Thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132551#4132551 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: PortletPreferences in MySql
Our portal uses MySQL and the preferences are stored and retrieved without any problems. I suspect a database configuration issue. Please run the myssql utility, enter the following command, and post the results: show variables; (you will want to widen your console window to prevent line wrapping, 110 characters should be sufficient) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132557#4132557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Maximum CPU Usage in Jboss4.0.4 GA
The best thing to do is get a Java thread dump. I recommend doing three thread dumps at about 10 or 20 second intervals while the CPU usage is high. Examining the threads to see which ones are busy and what code they are executing should help pinpoint the problem. Also, what are your JVM command line options? Specifically the heap settings. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132558#4132558 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132558 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: How the jboss performance can be increased?
Yes, there are a million things that you could change that affect the performance. For some tuning tips see http://wiki.jboss.org/wiki/Wiki.jsp?page=SPECjAppServer2002Tuning. Though the wiki article is specific to tuning that particular benchmark, the general principles apply to all applications, and the article at least points out many of the settings that you can change. Also, Andy Miller gave a performance tunign presentation at JBossWorld. You can get it at http://www.jbossworld.com/downloads/presentations/. His presentation was on Thursday. Finally, I do have another detailed reference but it is not free. I can supply the URL if you like. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132559#4132559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: MyMBean depending on MyOtherMBean issues
Which version of JBossAS are you using? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132561#4132561 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132561 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Restricting access to different portals.
One possibility. Define a role name Portal1Users. Add User1 to that role. For MyPortal1 assign the role Portal1Users viewrecursive (or personalizerecursive) permission, and remove all other permissions. Repat for the other portals. The User1 should have access to only MyPortal1. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132564#4132564 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132564 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM Centralised Tables
If you know how to differentiate between the 'taskslist' you can. E.g. with a custom query or a compound businesskey. Never did it though View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132565#4132565 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132565 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: PortletPreferences in MySql
Hi, here is the result: auto_increment_increment: 1 | auto_increment_offset: 1 | automatic_sp_privileges: ON | back_log: 50 | basedir: C :\Arquivos de programas\MySQL\MySQL Server 5.0\ | binlog_cache_size: 32768 | bulk_insert_buffer_size: 8388608 | character_set_client: latin1 | character_set_connection: latin1 | character_set_database: latin1 | character_set_filesystem: binary | character_set_results: latin1 | character_set_server: latin1 | character_set_system: utf8 | character_sets_dir: C :\Arquivos de programas\MySQL\MySQL Server 5.0\share\charsets\ | collation_connection: latin1_swedish_ci | collation_database: latin1_swedish_ci | collation_server: latin1_swedish_ci | completion_type: 0 | concurrent_insert: 1 | connect_timeout: 5 | datadir: C :\Arquivos de programas\MySQL\MySQL Server 5.0\Data\ | date_format: %Y-%m-%d | datetime_format: %Y-%m-%d %H :%i :%s | default_week_format: 0 | delay_key_write: ON | delayed_insert_limit: 100 | delayed_insert_timeout: 300 | delayed_queue_size: 1000 | div_precision_increment: 4 | engine_condition_pushdown: OFF | expire_logs_days: 0 | flush: OFF | flush_time: 1800 | ft_boolean_syntax: + -()~* :| | ft_max_word_len: 84 | ft_min_word_len: 4 | ft_query_expansion_limit: 20 | ft_stopword_file: (built-in) | group_concat_max_len: 1024 | have_archive: YES | have_bdb: NO | have_blackhole_engine: YES | have_compress: YES | have_crypt: NO | have_csv: NO | have_dynamic_loading: YES | have_example_engine: NO | have_federated_engine: YES | have_geometry: YES | have_innodb: YES | have_isam: NO | have_merge_engine: YES | have_ndbcluster: NO | have_openssl: DISABLED | have_ssl: DISABLED | have_query_cache: YES | have_raid: NO | have_rtree_keys: YES | have_symlink: YES | hostname: hsawork | init_connect: | init_file: | init_slave: | innodb_additional_mem_pool_size: 2097152 | innodb_autoextend_increment: 8 | innodb_buffer_pool_awe_mem_mb: 0 | innodb_buffer_pool_size: 33554432 | innodb_checksums: ON | innodb_commit_concurrency: 0 | innodb_concurrency_tickets: 500 | innodb_data_file_path: ibdata1 :10M :autoextend | innodb_data_home_dir: | innodb_doublewrite: ON | innodb_fast_shutdown: 1 | innodb_file_io_threads: 4 | innodb_file_per_table: OFF | innodb_flush_log_at_trx_commit: 1 | innodb_flush_method: | innodb_force_recovery: 0 | innodb_lock_wait_timeout: 50 | innodb_locks_unsafe_for_binlog: OFF | innodb_log_arch_dir: | innodb_log_archive: OFF | innodb_log_buffer_size: 1048576 | innodb_log_file_size: 10485760 | innodb_log_files_in_group: 2 | innodb_log_group_home_dir: .\ | innodb_max_dirty_pages_pct: 90 | innodb_max_purge_lag: 0 | innodb_mirrored_log_groups: 1 | innodb_open_files: 300 | innodb_rollback_on_timeout: OFF | innodb_support_xa: ON | innodb_sync_spin_loops: 20 | innodb_table_locks: ON | innodb_thread_concurrency: 8 | innodb_thread_sleep_delay: 1 | interactive_timeout: 28800 | join_buffer_size: 131072 | key_buffer_size: 18874368 | key_cache_age_threshold: 300 | key_cache_block_size: 1024 | key_cache_division_limit: 100 | language: C :\Arquivos de programas\MySQL\MySQL Server 5.0\share\english\ | large_files_support: ON | large_page_size: 0 | large_pages: OFF | lc_time_names: en_US | license: GPL | local_infile: ON | log: OFF | log_bin: OFF | log_bin_trust_function_creators: OFF | log_error: C :\Arquivos de programas\MySQL\MySQL Server 5.0\Data\hsawork.err | log_queries_not_using_indexes: OFF | log_slave_updates: OFF | log_slow_queries: OFF | log_warnings: 1 | long_query_time: 10 | low_priority_updates: OFF | lower_case_file_system: ON | lower_case_table_names: 1 | max_allowed_packet: 1048576 | max_binlog_cache_size: 4294967295 | max_binlog_size: 1073741824 | max_connect_errors: 10 | max_connections: 100 | max_delayed_threads: 20 | max_error_count: 64 | max_heap_table_size: 16777216 | max_insert_delayed_threads: 20 | max_join_size: 4294967295 | max_length_for_sort_data: 1024 | max_prepared_stmt_count: 16382 | max_relay_log_size: 0 | max_seeks_for_key: 4294967295 | max_sort_length: 1024 | max_sp_recursion_depth: 0 | max_tmp_tables: 32 | max_user_connections: 0 | max_write_lock_count: 4294967295 | multi_range_count: 256 | myisam_data_pointer_size: 6 | myisam_max_sort_file_size: 107374182400 | myisam_recover_options: OFF | myisam_repair_threads: 1 | myisam_sort_buffer_size: 27262976 | myisam_stats_method: nulls_unequal | named_pipe: OFF | net_buffer_length: 16384 | net_read_timeout: 30 | net_retry_count: 10 | net_write_timeout: 60 | new: OFF | old_passwords: OFF | open_files_limit: 622 | optimizer_prune_level: 1 | optimizer_search_depth: 62 | pid_file: C :\Arquivos de programas\MySQL\MySQL Server 5.0\Data\hsawork.pid | port: 3307 | preload_buffer_size:
[jboss-user] [Installation, Configuration DEPLOYMENT] - Authentication or security features
Hi. I'm using JBoss 4.2.1.GA to serve a web application that provides online help for another web application. I won't go into the reasons for separating these two applications but that's important to us. My requirement is that only users of the main web application may access the online help web application. So one option we are exploring is to add functionality to the online help web app so that it can detect and validate a token from the main web app for every HTTP request. Before we go too far down that road, I want to understand whether there's JBoss functionality that could secure an application in this way. Googling shows me that JBoss, authentication, tokens, and security are often discussed. Not quite enough to guide me to a clear answer, though. Can anyone point me toward a particular configuration technique or server function that might be used in this way? Or let me know that it's not likely to be in JBoss? The function does not have to be in v4.2.1.GA. I'll be happy to research the details myself. Thanks for your help. Peter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132569#4132569 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132569 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Where is the portal properties file for PortalContext, o
One possibility. Place your properties file in server/xxx/conf, and then access it in the portlets using the jboss.server.config.url system property. Something like this: String propfFile = System.getProperties(jboss.server.config.url) + myportlet.properties; Properties prop = Properties.load(new FileInputStream(propFile)); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132571#4132571 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Simply IP ban
See http://wiki.apache.org/tomcat/FAQ/Security. Try googling tomcat restrict ip address. Most of what you find should work on jbossas also. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132574#4132574 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132574 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Hide pasword in oracle-ds.xml
Is it possible to hide or crypt password in oracle-ds.xml file smth like that | user-namejboss_usr/user-name | password***/password | and to prevent that this information was visible in server.log like this: | 2008/02/27 18:45:46 internalRegisterPool: registering pool with interval 90 old interval: 9223372036854775807 | 2008/02/27 18:45:46 internalRegisterPool: about to notify thread: old next: 1204131196130, new next: 1204131196130 | 2008/02/27 18:45:46 run: IdleRemover notifying pools, interval: 45 | 2008/02/27 18:45:46 Using properties: {user=jboss_usr, password=qwerty} | 2008/02/27 18:45:46 Checking driver for URL: jdbc:oracle:thin:@129.0.0.115:1521:mmfotest | 2008/02/27 18:45:46 Driver not yet registered for url: jdbc:oracle:thin:@129.0.0.115:1521:mmfotest | 2008/02/27 18:45:46 Using properties: {user=jboss_usr, password=qwerty} | 2008/02/27 18:45:46 Driver not yet registered for url: jdbc:oracle:thin:@129.0.0.115:1521:mmfotest | 2008/02/27 18:45:46 Listener.handleNotification(), notification: javax.management.timer.TimerNotification: type=Schedule source=jboss:service=Timer sequence=3 time=1204130746500 message=Scheduler Notification id=2 userData=null | 2008/02/27 18:45:46 Scheduler is started: true | 2008/02/27 18:45:46 Remaining Repititions: -1, wait for next call to stop: false | 2008/02/27 18:45:46 Using properties: {user=jboss_usr, password=qwerty} | 2008/02/27 18:45:46 Using properties: {user=jboss_usr, password=qwerty} | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132578#4132578 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132578 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: TCP clustering problem
Thanks for the info. That configuration seems to be working. Can you give me the reader's digest version of the significance of where the configuration options fall in the stack? Thank you, Tyke View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132579#4132579 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132579 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: TCP clustering problem
Read the documentation and wiki (latter has a good discussion of the protocols) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132580#4132580 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132580 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - CMS File Creation Error
I ran into a similar error to the one below on trying to create a folder within the CMS area. I dropped the database and recreated the db. Then I created a new folder, which workded, but then I ran into the error below when trying create a file within this new folder. Any idea of what could be my problem. jboss-4.2.2.GA jboss-portal2.6.4 postgresql 8.1 javax.servlet.ServletException: java.sql.BatchUpdateException: Batch entry 0 insert into jbp_cms_wsp_prop (PROP_ID, PROP_DATA, PK) values (19f12e26-0a76-4bc2-a3d2-9ab560c7935b/{http://www.jcp.org/jcr/1.0}created, stream of 56 bytes, 34) was aborted. Call getNextException to see the cause. org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:276) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause java.sql.BatchUpdateException: Batch entry 0 insert into jbp_cms_wsp_prop (PROP_ID, PROP_DATA, PK) values (19f12e26-0a76-4bc2-a3d2-9ab560c7935b/{http://www.jcp.org/jcr/1.0}created, stream of 56 bytes, 34) was aborted. Call getNextException to see the cause. org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2515) org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1310) org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:347) org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2574) org.jboss.resource.adapter.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:519) org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48) org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246) org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:237) org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141) org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:41) org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:969) org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114) org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) org.jboss.portal.cms.hibernate.state.PortalCMSCacheLoader.loadManagedNode(PortalCMSCacheLoader.java:755) org.jboss.portal.cms.hibernate.state.PortalCMSCacheLoader.saveWSPPropNodeEntry(PortalCMSCacheLoader.java:558) org.jboss.portal.cms.hibernate.state.PortalCMSCacheLoader.put(PortalCMSCacheLoader.java:303) org.jboss.portal.cms.hibernate.state.PortalCMSCacheLoader.put(PortalCMSCacheLoader.java:387) org.jboss.portal.cms.hibernate.state.PortalCMSCacheLoader.prepare(PortalCMSCacheLoader.java:477) org.jboss.cache.interceptors.CacheStoreInterceptor.prepareCacheLoader(CacheStoreInterceptor.java:258) org.jboss.cache.interceptors.CacheStoreInterceptor.invoke(CacheStoreInterceptor.java:131) org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) org.jboss.cache.interceptors.TxInterceptor.runPreparePhase(TxInterceptor.java:873) org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1156) org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:75) com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114) com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247) com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86) com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177) com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1389) com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135) com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87) org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175) org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87) org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253) org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N514360653004530.invokeNext(TransactionInterceptor$invoke_N514360653004530.java) org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
[jboss-user] [Management, JMX/JBoss] - Re: MBeanServerLocator.locateJBoss() throws IllegalStateExce
even iam encountering the same problem . MBeanServer server; server=MBeanServerLocator.locateJBoss(); what is the mistake iam doing. iam running my jboss portal server 2.6.3 GA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132582#4132582 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132582 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Interceptor not geting executed in a WAR
Hi, I have a simple interceptor code and a servlet . When the servlets gets executed i wanted the Interceptor to log a message . The code is all tehre but the interceptor is failing to log it . I am sure this is related to packaging iam able to access the servlet but nothing gets logged in the conosle. This is My packaging structure MyServletTest.war - WEB- INF - lib - classes - web.xml Under lib folder i have kept a jar file suffixed as Test.aop inside which contains the jboss-aop.xml under the meta-inf directory and the aspect classes. | This is my Aspect class | public class AspectTest implements Interceptor { | | private Logger myLog = Logger.getLogger(AspectTest); | | public Object invoke(Invocation invocation) throws Throwable { | | String name = invocation.getTargetObject().getClass().getName(); | java.lang.reflect.Method m = ((MethodInvocation)invocation).getMethod(); | System.out.println(Entering method + inside class + name + m.getName()); | try{ | return invocation.invokeNext(); | } | finally{ | | System.out.println(Exiting Method + m.getName()); | } | } | | public String getName() | { | return AspectTest; | } | The servlet is quite straightforward , however when i access the servlet i expected a message to be displayed as per the interceptor but nothing gets shown . I tried to understand the injboss tutorial but applying that this is the package structure i thought Any suggestions , thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132587#4132587 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Problem with JEMS JMS install: User is NOT authenticated
Hi, I'm trying to install a simple setup of JBoss with JBoss messaging. I used JEMS 1.2.1.CR4 to install a JMS setup with everything default except for the configuration which I have named messaging. From this point I can start JBoss at a command line issuing run -c messaging from the %JBOSS_HOME%/bin directory. JBoss starts just fine and starts up messaging. Now the problem I am having is when I run examples that are included in the JBoss Messaging 1.4.0.SP3. If I try and run the topic example I get an error that User null is NOT authenticated. Listed below is the stack trace that I get anonymous wrote : | D:\Download\jboss-messaging-1.4.0.SP3\examples\topicant | Buildfile: build.xml | | identify: | [echo] | ### | [echo] # Running the TOPIC example | # | [echo] | ### | [echo] The topic: testTopic | [echo] The client jar: ../..//jboss-messaging-client.jar | | sanity-check: | | init: | | compile: | | run: | [java] Topic /topic/testTopic exists | [java] javax.jms.JMSSecurityException: User null is NOT authenticated | [java] at org.jboss.jms.server.security.SecurityMetadataStore.authentic | ate(SecurityMetadataStore.java:202) | [java] at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint | .createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:222) | [java] at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint | .createConnectionDelegate(ServerConnectionFactoryEndpoint.java:162) | [java] at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvise | d.org$jboss$jms$server$endpoint$advised$ConnectionFactoryAdvised$createConnectio | nDelegate$aop(ConnectionFactoryAdvised.java:108) | [java] at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvise | d.createConnectionDelegate(ConnectionFactoryAdvised.java) | [java] at org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDel | egateRequest.serverInvoke(ConnectionFactoryCreateConnectionDelegateRequest.java: | 91) | [java] at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invo | ke(JMSServerInvocationHandler.java:143) | [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:76 | 9) | [java] at org.jboss.remoting.transport.socket.ServerThread.processInvoc | ation(ServerThread.java:573) | [java] at org.jboss.remoting.transport.socket.ServerThread.dorun(Server | Thread.java:387) | [java] at org.jboss.remoting.transport.socket.ServerThread.run(ServerTh | read.java:166) | [java] at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemot | eClientInvoker.java:163) | [java] at org.jboss.remoting.Client.invoke(Client.java:1634) | [java] at org.jboss.remoting.Client.invoke(Client.java:548) | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate | .org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionD | elegate$aop(ClientConnectionFactoryDelegate.java:167) | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate | $createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactor | yDelegate$createConnectionDelegate_N3019492359065420858.java) | [java] at org.jboss.jms.client.container.StateCreationAspect.handleCrea | teConnectionDelegate(StateCreationAspect.java:83) | [java] at org.jboss.aop.advice.org.jboss.jms.client.container.StateCrea | tionAspect0.invoke(StateCreationAspect0.java) | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate | $createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactor | yDelegate$createConnectionDelegate_N3019492359065420858.java) | [java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate | .createConnectionDelegate(ClientConnectionFactoryDelegate.java) | [java] at org.jboss.jms.client.JBossConnectionFactory.createConnectionI | nternal(JBossConnectionFactory.java:205) | [java] at org.jboss.jms.client.JBossConnectionFactory.createConnection( | JBossConnectionFactory.java:87) | [java] at org.jboss.jms.client.JBossConnectionFactory.createConnection( | JBossConnectionFactory.java:82) | [java] at org.jboss.example.jms.topic.TopicExample.example(TopicExample | .java:67) | [java] at org.jboss.example.jms.common.ExampleSupport.run(ExampleSuppor | t.java:147) | [java] at org.jboss.example.jms.topic.TopicExample.main(TopicExample.ja | va:132) | [java] | [java] # |
[jboss-user] [JBoss Portal] - Re: Multiples idio mas Español , catalan , aleman
Creo que nadies sabe español, haci que me respondero solito jejeje. E podido crear por CMS una pagina llamada Index.html y me e dado cuenta que por ahi se puede escoger el idioma, ahora la cosa era como crear para las demas, pues simplemente creas otra con el mismo nombre Index.html pero le seleccionas otro idioma y le pones el contenido que tendra y cuando lo guardas te crea como un array de paginas que pertenecen a index. osea sale solo un index general y cuando abres este , te abre otra pagina con todos los index creados y con el idioma y esto se puede asociar con cada usuario creado. por el idioma que tiene. Osea lo tengo resuelto por usuarios pero lo que quiero es: poner en algun sitio una tabla con 1 o 2 o 3 links o radioBotons . haci Español[/url] | [url]Catalan[/url] | [url]Aleman y que si le doy click en Español que me muestre los contenidos de las paginas en Español , si es catalan , pues que me muestre en catalan. Alguien pudo hacer esto ??? . creo que aqui ya tendria que meter codigo java no ?? hacer un portlets ??.. [/url] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132592#4132592 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - exposing GPD in web applications
I've read on the jbpm FAQ that in the future you are going to create a new eclipse perspective that will make the GPD have only those features needed by the analyst, and hide some of the developer features from the current eclipse perspective. Also, in the Userâs Guide: âA standalone installation of the designer tool is on the roadmap.â. I have an existing web-based application built using the extjs framework and want to include a GPD in it. It may be possible to embed the business analyst GPD eclipse perspective inside a frame of my application, or I might prefer the standalone installation designer tool to be embedded (from user guide). Is there any recent information on when either of those will be available? Can the eclipse business analysts perspective be embedded in a frame of a java-based application such as JSF or extjs? Can the GPD eclipse perspective for business analysts be thought of as an SWT? Can it be embedded in a java application such as an SWT using JWS? These are questions I am asking so that I don't spend alot of time developing my own designer if I can use yours. Thanks! Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132593#4132593 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Interceptor not geting executed in a WAR
You cannot put sub-deployments beyond simple jars in WEB-INF/lib. You will need to deploy your .aop alone before your .war, or bundle them together in an .ear file if that does not work for you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132595#4132595 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JndiBoundTreeCacheProvider
To be specific, the exported interface used is a TreeCacheMBean, but the author has type caste it to TreeCache. When it comes to the getCache, the library throws a exception that, the TreeCache which was proxied cannot be type casted to org.jboss.cache.TreeCache. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132594#4132594 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132594 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - jboss and soft links in linux
Hi all, First of all I want to say hi to everybody since I'm new in JBoss. My problem is as follows: I have two soft links in the context folder of JBoss, this two links are pointing to another folder outside of the context folder where I have some JSPs. My problem is that Jboss cannot find my JSPs throug this softlinks, if I copy this JSPs folder inside my context folder everything works fine but I would like to have them outside (orders from the top)of it. Does anyboy know why JBoss cannot go throug this soft links??? Is there a configurable option that allows me to do this? Shoud I totally forgot this aproach? I'm quite lost, so if anyboy can help me I would apreciatte a lot. Thanks P.D. Sorry for my English View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132596#4132596 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132596 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: UsernamePasswordLoginModule and client origin
Url for the Tomcat Valve code :- http://www.jboss.com/index.html?module=bbop=viewtopict=125015 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132603#4132603 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132603 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: UsernamePasswordLoginModule and client origin
You will l have to write a Tomcat ValveI have posted the codesome where in this or Tomcat/Httpd/Servlets/Jsp forum here under Jboss. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132600#4132600 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132600 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Interceptor not geting executed in a WAR
Thanks , i tried separate bundling with a war and aop separately it worked. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132604#4132604 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132604 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: UsernamePasswordLoginModule and client origin
A small addition, my clients are EJB Java clients, some are processes that run on the JBoss machine (the local clients), and some are Java EJB client applications running on external machines View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132605#4132605 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132605 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...
trouby wrote : So, for the start, is it possible to customize nodes? if so, is it documented? somehow? somewhere? samples? :) If you haven't yet, then download the jBPM source code (http://docs.jboss.com/jbpm/v3/userguide/gettingstarted.html#cvsaccess) and check out the unit test code and samples - there may well be something to guide you there. The userguide has also got some info: http://docs.jboss.com/jbpm/v3/userguide/processmodelling.html#customnodebehaviour Hope these help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132606#4132606 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132606 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - IDE for JBoss Portlet development (2.6.4)
Hi there, I'm another newbie at JBoss. Struggling to find out a right IDE for Portlet development that plan to deploy on JBoss Portal Server 2.6.4. Is there an IDE which will help me stop/start JBoss Portal Server and deploy portlets onto the JBoss Portal server from within IDE? I'm ready to pay if its not free! But please do let me know if something of that sort exists...just like what WebSphere-RAD Portlet development tool/IDE. I did look at following options. But didnt help solve my goal. 1. Eclipse Portal Pack - comes with Glassfish app server. Can I change it to JBoss? And Can I configure to start/stop JBoss Portal Server from it? 2. JBoss Dev Studio - (I'm even ready to buy if it's less than $200.00) But can I do portlet development and start/stop JBoss Portal Server from it and deploy portlets to the JBoss portal Server (from IDE, just like RAD)? I checked all the forums, googled it, but there is no clear answers on what IDE to use in order to develope Portlets using JBoss App and Portal Server. I should be able to start/stop portal server from IDE and should be able to deploy portlets on the JBoss Portal srver. Please do let me know if there is nothing of this sort available at the moment, so that I'll stop searching for it on the internet and concentrate on alternatives. Thanks for your precious time and wonderful help. Best regards, -Amol View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132607#4132607 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132607 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: CMS File Creation Error
I see what's causing the problem, but not sure why this happening. After dropping the database and recreating it. I go in as admin and go to CMS page. As soon as I try to create a file I get the error noted in last post. In looking at the postgres logs I see: ERROR: duplicate key violates unique contriant jbp_cms_version_pkey But if I'm starting with a clean database then why does this happen. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132609#4132609 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132609 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Possible bug in named queries
Hi there, I guess I've hit what seems to be a bug in the way certain properties are referenced in a named query. If the entity bean has an attribute like: public String getPName() ... ... then, the named query fails deployment if the parameter pName is used, saying that it doesn't exist. The value PName needs to be used instead. This contrasts with the general rule, for example getValueType() maps to valueType. Am I doing anything wrong or is this really a problem? Thanks a lot in advance, AP View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132611#4132611 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132611 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - StackOverflowException caused by throwing app exception with
Hi All, Just had and resolved a really nasty problem. I've got a stateful (but I'd also tried the same with a stateless) EJB3 session bean which access an OpenLDAP backend to find some user data. I'm catching the NamingException when attempting the search and throwing my own application exception (UnableToQueryLdapException extends RuntimeException) with the NamingException added as the cause (i.e. super(e) in the constructor of the application exception). I caused the search to fail by providing a bogus baseDN and in debugging was able to see the NamingException being caught and containing all the information I'd expect, but when I then threw it on as part of my application exception the app bombed out with a huge recursive stack trace to do with serialization. When I changed the application exception to only take the message of the NamingException (e.getMessage()), the problem went away. Sounds like it might be a nasty bug in the serialization code in JBoss? I'm using JBoss 4.2.2.GA The behaviour was tested on an XP box and an OS X 10.5.2 box both with JDK5. Cheers, Clive View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132618#4132618 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132618 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: StackOverflowException caused by throwing app exception
If you suspect a bug, please try to isolate in a slim, repeatable test case project. From there we'll be able to get some context into the Exception thrown. Thanks. :) S, ALR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132619#4132619 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132619 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Jboss 4.2.1 clustering bug ?
Thanks for the suggestion I have done as you and the doc described and the application starts nicely up and no error occurred. But the real test comes when I deploy it into the cluster next week. I will get back with the result Lasse Petersen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132621#4132621 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132621 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Help with portlet authentication
Hi, I am currently deploying Documentum portlets to Jboss portal. I've been successful in getting them to work with a separate login, but not using the Portal's security principal. The documentation is leaving me hanging on the Jboss configuration side, so any help would be greatly appreciated. I've configured the portlet application on the backend for trusted authentication, but it seems that the security principal is not being passed from Jboss to the WDK portlet applications. The portlet documentation states: anonymous wrote : | Set up J2EE principals in the application deployment description web.xml and in application server-specific files... | | To set up J2EE principals: | To enable J2EE principals to log in to repositories (single login), you must modify the deployment descriptor file (/WEB-INF/web.xml) and follow the procedures that are specific to your portal server. | | 1. In /WEB-INF/web.xml, remove the comments around the security constraints element. This sets up a user role called ÂeveryoneÂ. The web-resource-name value should match the context name of the Web application. For example: | | | security-constraint | | web-resource-collection | | web-resource-name/web-resource-name | | url-pattern/*/url-pattern | | http-methodPOST/http-method | | http-methodGET/http-method | | /web-resource-collection | | auth-constraint | | role-nameeveryone/role-name | | /auth-constraint | | /security-constraint | | login-config | | auth-methodBASIC/auth-method | | /login-config | | | | 2. Follow the portal server procedure for setting up J2EE principals. Each portal server has its own procedure for enabling single login. For Step 1, it's referring to the web.xml of the Documentum portlets. I'm unsure what the context name should be. Step 2 seems to be where the real trouble is though. If I can get J2EE principals set up, I think I can get the above XML correctly configured. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132622#4132622 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132622 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: help needed in LDAP authentication in portal environ.
UserModule module = (UserModule) new InitialContext().lookup(java:/portal/UserModule); RoleModule roleModule =(RoleModule) new InitialContext().lookup(java:/portal/RoleModule); UserProfileModule userProfileModule = (UserProfileModule) new InitialContext().lookup(java:/portal/UserProfileModule); MembershipModule membershipModule = (MembershipModule) new InitialContext().lookup(java:/portal/MembershipModule); when im using the above code to lookup JNDI and getting the services iam not able to do a package with Maven. this is the stack trace Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial is there any way to do this in a abstract way ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132628#4132628 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132628 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Help with portlet authentication
That's quite interesting to me what you are expected to do, because I had to manage a documentum migration onto a solaris cluster in the past (I guess in 2001). Your login within the documentum portlet provides a session on the documentum side, what you need to have is a session on the portal side too. In order to setup a portal session it needs access to the users and roles - ideally they are the same as used by documentum (ldap?). If that's not possible may be the synchronizing modules as mentioned in chapter 18 may help you? http://docs.jboss.com/jbportal/v2.6.4/referenceGuide/html/authentication.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132630#4132630 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132630 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...
Hey, I already read the whole doc from top to bottom :) I'll try to download the source code, hopefully there's a full sample (custom node/process that make a usage of the custom node, etc...) I thought that this is something very common, Thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132631#4132631 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132631 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: IP address
Yeah, Jboss binds itself to localhost by default, If you want, you must set the binding parameter and specify the IP you would like JBOSS to listen to (this is relevant to many JBOSS services, 0.0.0.0 meaning all available IPs), I guess this is mainly for security reasons :) Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132633#4132633 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132633 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - WebBean jbpm
Hi, i am developer in seam, and i have had a problem with call the task from jbpm into the webbean, well, i'd like to create just um process with many instance de um processo, but when i am calling de anotation @CreateProcess it allways created a new process, so, i want to know what is wrong, i added parte of code for help. | | @CreateProcess(definition=planejamento-abordagem) | public String createPlanejamentoAbordagem() { | | log.info(Iniciando planejamento de abordagem da proposta de convenio); | return/CadastroEntidade.xhtml; | } | @StartTask | public String criarAgenda(){ | | Agenda agenda = new Agenda(); | | return /Agenda.xhtml; | } | | @EndTask | public String gravarAgenda(){ | | gerenciadorPropostaConvenio.salvarAgenda(agenda); | | return /Concluido.xhtml; | } | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132634#4132634 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132634 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Windows vs Linux
Yeah, Same goes here, I was checking Jboss in Win/Linux(many different kind of distributions) and the results were pretty equal, I still would suggest to go for Linux, Mainly because it's easier to start it as a service rather than installing Native pkg/using external service loaders... Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132636#4132636 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132636 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: remote JNDI lookup fails
Not completely. The response refered to localhost. There was something messed up with the service configuration. For one service, the IP was hardcoded to localhost. I don't know, who changed it, but now, I've fixed it. Thanks for pointing me to the right thing :-) Heiner View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132639#4132639 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132639 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: CMS File Creation Error
Well, I gave up on this issue and decided to try out mysql. It seems to work with mysql so I'm happy now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132640#4132640 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132640 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: richfaces richTree can't get item.type!
Hey, You have some tree examples that are working perfectly in the samples war file, If you need more specific help you better ask in Richfaces forum, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132641#4132641 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132641 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Deploying .EAR files fails with [HDScanner] Scan failed
I would suggest you to take a look at class: EARStructure.java, line 155, But Jboss should never throw a NPE anyway, So you better open a ticket in JIRA :-) Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132643#4132643 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132643 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBOSS SSO Authentication with Windows
SSO? Are you talking about transparent authentication through Windows? If so, yeah, you can use JCIFS , I used it a lot, btw, are you using Seam by any chance? Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132645#4132645 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132645 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Help with portlet authentication
On the Documentum side, the portlet is configured as trusted. A Documentum superuser makes the initial connection, and compares the Jboss-supplied user principal with the users in Documentum. Assuming the principal authenticates with Jboss, and matches a Documentum user, the Documentum module creates a session for that user. The trouble is that I don't know how to set up the authentication to pass the logged-in principal to Documentum. I'll peruse that link though. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132646#4132646 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132646 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user