[jboss-user] [JBoss Tools (users)] - Re: XHTML openOn error
Thanks. I tried it and it works perfectly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196148#4196148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.7 - see a blank login page
Will try building (haven't done it before), would be gr8 if you could provide the link ranga View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196146#4196146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196146 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss
"georgebdavis" wrote : Has this conversation moved on to another thread, or are people calling this done? I've run into the same problem on the 5.0 GA release... This is being tracked through https://jira.jboss.org/jira/browse/JBAS-5713. It's not available in 5.0 GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196144#4196144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBIDE-2433 - resolved - where is fix version 2.1.3?
Hi, Where would a tag or brank for this JIRA fix be located? I have JBDS 1.1.0GA which bundles 2.1.2GA (org.jboss.tools.seam.feature) which I do find in svn but no tags or specific branches for 2.1.3 (http://anonsvn.jboss.org/repos/jbosstools/trunk/). I am reluctant to jump to 3.0.0 beta. Any URL tips? Thanks, Henry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196143#4196143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - ws-eventing notification validation
Can i have multiple notification schema in a single event source wsdl? I am trying to dipatch 2 different notifications from a single event source. this is my event source wsdl | | http://com.infy"; | xmlns:tns="http://com.infy"; | xmlns:tns1="http://com.infy/SystemStatus"; | xmlns:tns2="http://com.infy/WindReport"; | xmlns:wse='http://schemas.xmlsoap.org/ws/2004/08/eventing' | xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' | xmlns:wsa10='http://www.w3.org/2005/08/addressing' | xmlns:xs='http://www.w3.org/2001/XMLSchema' | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";> | | | | | | | | | | | | | | http://com.infy"; | xmlns:tns1="http://com.infy/SystemStatus";> | http://com.infy/SystemStatus"; schemaLocation='SystemStatus.xsd'/> | | | | http://com.infy"; | xmlns:tns2="http://com.infy/WindReport";> | http://com.infy/WindReport"; schemaLocation='WindReport.xsd'/> | | | | | | | | | | | | | | | | | | | | | | | | | | http://schemas.xmlsoap.org/soap/http"/> | | | | | | | | | | | | | | | | I am importing 2 different schema file in the wsdl. when i try to dispatch "WindReport" notification it works fine. but when i dispatch "SystemStatus" notification it gives this error ERROR [SubscriptionManager] Root element expected namespace: http://com.infy/WindReport this is the notification payload for "SystemStatus" notification | 030701 | 0041 | 65 | BRADENTON BEACH | MANATEE | what am i doing wrong here? please help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196141#4196141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - ws-eventing notification validation
Can i have multiple notification schema in a single event source wsdl? I am trying to dipatch 2 different notifications from a single event source. this is my event source wsdl | | http://com.infy"; | xmlns:tns="http://com.infy"; | xmlns:tns1="http://com.infy/SystemStatus"; | xmlns:tns2="http://com.infy/WindReport"; | xmlns:wse='http://schemas.xmlsoap.org/ws/2004/08/eventing' | xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' | xmlns:wsa10='http://www.w3.org/2005/08/addressing' | xmlns:xs='http://www.w3.org/2001/XMLSchema' | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";> | | | | | | | | | | | | | | http://com.infy"; | xmlns:tns1="http://com.infy/SystemStatus";> | http://com.infy/SystemStatus"; schemaLocation='SystemStatus.xsd'/> | | | | http://com.infy"; | xmlns:tns2="http://com.infy/WindReport";> | http://com.infy/WindReport"; schemaLocation='WindReport.xsd'/> | | | | | | | | | | | | | | | | | | | | | | | | | | http://schemas.xmlsoap.org/soap/http"/> | | | | | | | | | | | | | | | | I am importing 2 differnet View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196140#4196140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Stress test of jboss clustering
Thanks Brian. We do run clients in a separate JVM. In your load/stress test on EJB clustering using multiple threads spawn in the client JVM, were the loads from multiple threads distributed across different jboss nodes? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196133#4196133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196133 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Best locking strategy
Correct; entities are not shared on the cluster through a common cache. There is a cache invalidation framework (CIF), through which messages can be sent around the cluster to invalidate the local caches on each node. Some of the older versions of the clustering docs actually have better coverage of the CIF than the newer ones. See the Cache Invalidation section of http://docs.jboss.org/jbossas/clustering/JBossClustering7.pdf . In particular, have a look at the "Use Cases" section starting on page 98, where a pattern of having a read-only version of a bean along with a read-write version is described. Perhaps this will help with your use case. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196129#4196129 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196129 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: File upload:Exception in cms
I am using JBoss 2.6.4 GA an Oracle 10G. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196128#4196128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: AutoDiscovery for multiple clusters on same machine
To look up two different EJB applications deployed on two different clusters, the client will need to create more than one InitialContext. The contents of jndi.properties will be combined with whatever other properties you pass in via a call to new InitialContext(Hashtable environment). So I would recommend you create a utility class with methods to create an appropriate "Hashtable environment", one for each cluster. The returned Hashtable would include the cluster-specific environment properties; any properties that are common could come from jndi.properties. How you populate each cluster specific Hashtable is up to you, but I'd recommend externalizing the information in properties files, e.g. clusterA.properties and clusterB.properties. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196127#4196127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196127 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - serialization or parallel in a tasknode
In this scenario, a tasknode create several tasks but tasks must be created and prossessed with a order of serialization or parallel. How this can be done? could anyone tell me train of thought? Thx a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196124#4196124 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196124 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Stress test of jboss clustering
I'm not sure from your description exactly what it is you are doing, but I suspect your client threads are running in the JBoss server VM. In that case, JBoss will detect that the client is in the same VM and will route invocations to the local bean as a performance optimization. When we load/stress test EJB clustering we run the clients in a separate VM. You don't need a separate process per client; you can spawn multiple threads in the client VM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196122#4196122 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196122 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how to implement co-sign a task by several person?
problem resolved. I just added the red code, the process runs. | public class CosignTaskEndHandler implements ActionHandler { | | private static final long serialVersionUID = 1L; | private static final Log log = LogFactory | .getLog(CosignTaskEndHandler.class); | | /** | * all approvers must agree, otherwise end | */ | | public void execute(ExecutionContext context) throws Exception { | | Boolean isDisapprove = (Boolean) context.getTaskInstance().getVariable( | "isDisapprove"); | log.info("isDisapprove:" + isDisapprove); | | Token token = context.getToken(); | TaskMgmtInstance tmi = context.getTaskMgmtInstance(); | Collection unfinishedTasks = tmi | .getSignallingTasks(context); | | if (isDisapprove != null) { | if (isDisapprove == true) { | for (TaskInstance unfinishedTaskInstance : unfinishedTasks) { | | if (!unfinishedTaskInstance.hasEnded()) { | log.info(unfinishedTaskInstance.getActorId()); | unfinishedTaskInstance.setSignalling(false); unfinishedTaskInstance.end(); | } | } | } | } | | } | | | | | | | | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196121#4196121 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196121 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss + Apache Tuscany
"soa2008" wrote : How can I install Apache Tuscany in JBoss? I've got solution for this question. The next question is: how can I deploy SCA-project on JBoss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196119#4196119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem in formatting mail text using jbpm mail tag
Attach it to this issue: https://jira.jboss.org/jira/browse/JBPM-978 But keep in mind the default behaviour should not change, so it has to be made configurable. And a unittest is needed ;-) TIA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196117#4196117 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196117 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: problem with twiddle.bat syntax
Add quotes around the object name: twiddle.bat get "jboss.system:type=ServerInfo" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196112#4196112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196112 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem in formatting mail text using jbpm mail tag
I dont mind doing it but whats the process for this? If its easier to just send the code over to you and you can put it in I am fine with that also. Please let me know. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196111#4196111 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196111 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem in formatting mail text using jbpm mail tag
Cool any of you care to make this configurable (default being text) and contribute this to jBPM I'm wondering why so many people care to put time and effort into something that they have to adapt again with the next release but do not want to put a one-time effort in it and contribute back View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196110#4196110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how do I use reminders ?
Are you sure your config is used and not the default jbpm config? Turn on debugging to see. Might also be as you state that there is no access to it (classpath) so the default is used something for you to use. custom resolvers work for me View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196109#4196109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196109 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HTML support in mail templates
Yes I am using notify='yes' and its working. Make sure you have specified the correct template file name and the template file has a template declared with the name "task-assign" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196107#4196107 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem in formatting mail text using jbpm mail tag
Thank You Naseem. Your tip has been real help, I am now able to send HTML emails. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196106#4196106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196106 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HTML support in mail templates
If you're using notify='yes' , let me know. I haven't got that to work . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196103#4196103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196103 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HTML support in mail templates
Are you using notify="yes" on task? I've tried that, it's not working. I'd like to know what I'm doing wrong. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196101#4196101 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196101 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Stress test of jboss clustering
Can anyone from JBoss please shed a light on how load test is performed by you guys in jboss clustering? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196096#4196096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196096 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HTML support in mail templates
Not yet there, still stuck with the formatting of the task assignment notification email. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196095#4196095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196095 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HTML support in mail templates
Are you able to use reminders ? Is so, please tell me. I've spent 2 days on it with no luck. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196094#4196094 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196094 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HTML support in mail templates
It is really unbelievable that it is so difficult to send a notification email in HTML format which is a basic requirement in any notification system (Atleast I am not able to get it), really frustating. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196093#4196093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HTML support in mail templates
Yes, I had earlier seen this link. That's why I posted this thread in the first place. In fact, Ronald, I see your name on this bug report. I tried using jpdl 3.3 and got another error so had to revert back to 3.2.2. But not, this bug reports says : anonymous wrote : html mail will only be used when a template or the text element is used, not with the text attribute This description, I assume, is referring to 3.2.2. And it doesn't work in 3.2.2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196091#4196091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss + Apache Tuscany
How can I install Apache Tuscany in JBoss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196090#4196090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem deploying on JBoss 5
Hello kukeltje, I just saw the replies. Thank you for filing the JIRAs as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196089#4196089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196089 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HTML support in mail templates
Here is the link https://jira.jboss.org/jira/browse/JBPM-978;jsessionid=433D09DB2883AFECBAE5ED30E40B27E4?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196088#4196088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBoss 4.2.2 + the JBossWS 3.0.4
The WS stack cannot started up properly. I don't use the @EJB or @Resource annotation. The Web Service just doesn't start up. when I upgrade to JBossWS native or metro 3.0.4 or any 3.0 stack. 2008/12/11 17:32:31.403 ERROR (main) [org.jboss.deployment.MainDeployer.start:1036] Could not start deployment: file:/opt/myApps32R0-I27/jboss/server/all/tmp/deploy/tmp94aaa-cluster.ear-contents/aaa-cluster.jar javax.xml.ws.WebServiceException: Cannot find service endpoint target: jboss.j2ee:name=com.bbb.myApps.aaa.ejb.BWAllocator,service=EJB3,jar=aaa-cluster.jar,ear=aaa-cluster.ear at org.jboss.wsf.container.jboss42.InvocationHandlerEJB3.init(InvocationHandlerEJB3.java:83) at org.jboss.wsf.framework.deployment.DefaultLifecycleHandler.create(DefaultLifecycleHandler.java:49) at org.jboss.wsf.framework.deployment.EndpointLifecycleDeploymentAspect.create(EndpointLifecycleDeploymentAspect.java:40) at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.create(DeploymentAspectManagerImpl.java:121) at org.jboss.wsf.container.jboss42.LazyAssemblyWSFRuntime.create(LazyAssemblyWSFRuntime.java:60) at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97) at org.jboss.wsf.container.jboss42.AbstractDeployerHookEJB.deploy(AbstractDeployerHookEJB.java:42) at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy34.start(Unknown Source) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegati
[jboss-user] [JBoss jBPM] - Re: HTML support in mail templates
If it is in one of the bug reports, you probably have a link for it then... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196085#4196085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196085 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HTML support in mail templates
In one of the Bug Reported on this it was said it would be supported in next version so I was hoping it would be there in version 3.3. Any idea if HTML mails are suppored in 3.3? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196084#4196084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196084 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - jax-ws-catalog.xml
Hi All, I have included a WS client in my application. I used wsimport to generate it. I want to keep the WSDL local (in my EAR) because I do not want runtime accesses of the WSDL to go over the network. I found a link that explains how OASIS catalogs can be used to resolve this problem: https://jax-ws.dev.java.net/guide/Developing_client_application_with_locally_packaged_WSDL.html Are catalogs supported by JBoss 4.2.2 GA ? I tried to put a jax-ws-catalog.xml file in my META-INF but it just didn't worked. Any idea ? Many thanks, Benoit View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196082#4196082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196082 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how do I use reminders ?
Custom address resolver is not working. I have this in my jbpm.cfg.xml . resolveAddress() is not getting invoked. Btw, I have an EAR deployment on JBoss. My resolver is in the WAR. My guess is that the reminder is just not getting fired. The task is acquired by a user. I checked JBPM_TASKINSTANCE, ACTORID_ is assigned. Any ideas ?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196081#4196081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196081 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Need help using ejb-jar.xml instead of EJB3 annotations
Ok I found the answer to my own question. Just needed to read the EJB3 spec closer. The correct ejb-jar.xml config for my session beans is: | | PurchaseOrderService | test-app/PurchaseOrderServiceBean/remote | test.service.po.PurchaseOrderService | test.service.po.PurchaseOrderServiceBean | Stateless | | | ejb/PurchaseOrderDaoJpa | test.persistence.po.PurchaseOrderDao | | | test.service.po.PurchaseOrderServiceBean | purchaseOrderDao | | | | | | | PurchaseOrderDaoJpa | test.persistence.po.PurchaseOrderDaoJpa | Stateless | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196078#4196078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196078 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: hostname
Thanks for the commentary above. Adding the remote machine to my windows hosts file solved my similar problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196077#4196077 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss 5.0.0.GA and Hibernate.cfg.xml in a WAR
Got a webapp that was working fine with JBoss 5.0.0.CR2. When I deploy it in 5.0.0.GA, I get: org.hibernate.MappingException: Association references unmapped class: edu.andrews.its.servies.donate.dao.Premium at org.hibernate.cfg.HbmBinder.bindCollectionSecondPass ... I have a webapp that uses hibernate for a few objects. It contains its own WEB-INF/hibernate.cfg.xml, and uses org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean to set up and run this configuration, via the following lines in WEB-INF/applicationContext.xml: | | | hibernate.cfg.xml has five tags, four of which are for .hbm.xml files and one of which is for an annotated class: | | | | | Campaign.hbm.xml includes a line that says: I've verified that Premium.class is included in the .war file. Any suggestions on what changed, or what I can look at to fix this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196076#4196076 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196076 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: HDScanner deployment error
OK... I looked through your bitecode and realized that you are calling a later version of Log4J than what I have so I down loaded the new Log4J library and the trace error went away. I also discovered I was in a Chicken & Egg relationship with my DMServer. I think I am almost there... Thanks for the help. GMarsh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196073#4196073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196073 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Missing examples under jboss\jboss-5.0.0.GA\docs\examples
The GA drop is missing the examples promised in the Installations and Getting Started Guide- namely the ToDo.java. "The JBoss Application Server, ships with various sample applications under JBOSS_HOME/docs/examples. For further details, please refer to the accompanying readme.txt for the respective sample applications under the above directory." Would it be possible to point me to where I can find these examples? Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196072#4196072 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196072 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - JMS not Bound error in JBOSS server console
trying to create ejb3 MDB with standalone client. When deployed tar file server throwing jms not found error. It is from ejb3 in action book. My client public static void main(String[] args) { Destination destination; ConnectionFactory connectionFactory; long item = 10101; String address = "101 Easy Street"; String method = "Snail mail"; double amount = 101.00; try { Context context = new InitialContext(); destination = (Destination) context .lookup("java:comp/env/jms/ShippingRequestQueue"); connectionFactory = (ConnectionFactory) context .lookup("ConnectionFactory"); Connection connection = connectionFactory.createConnection(); connection.start(); Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer = session.createProducer(destination); and my MDB @MessageDriven(name = "ShippingRequestProcessor", activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), @ActivationConfigProperty(propertyName = "destination", propertyValue = "jms/ShippingRequestQueue") }) public class ShippingRequestProcessorMDB implements MessageListener { private Connection connection; private DataSource dataSource; @Resource private MessageDrivenContext context; @Resource(name = "jdbc/TurtleDS", mappedName = "java:/DefaultDS") public void setDataSource(DataSource dataSource) { this.dataSource = dataSource; } @PostConstruct public void initialize() { try { connection = dataSource.getConnection(); } catch (SQLException sqle) { sqle.printStackTrace(); } Enev when i tried to run it it says same. JMS not bound.. Any help please? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196071#4196071 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196071 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Restarting JBoss Programatically
"Sanjuro" wrote : Check the start-up script/batchfile of jboss 3.2.1. I think someone modified it to check whether the return value (errorlevel on Windows) is 2 and then restart the script. In the run.bat from my jboss 3.2.1 deployment. if ERRORLEVEL == 2 goto RESTART and the run.sh from my jboss 3.2.1 deployment. # Error level of 2 indicates a request for restart | errlevel=2; | while [ $errlevel -eq 2 ] | do | ...Startup code... | fi | errlevel=$?; | echo $errlevel | if [ $errlevel -eq 2] | then | echo Restarting JBoss... | fi | done | Thank you a bunch. I updated my shell/batch files and it works like a charm. I could have spent some time trying to figure this one out. For anyone that cares, I noticed that JBoss default run.bat for 4.2.2.GA has if ERRORLEVEL 10 goto RESTART View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196067#4196067 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss
Has this conversation moved on to another thread, or are people calling this done? I've run into the same problem on the 5.0 GA release... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196066#4196066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196066 ___ 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: Errors with SQL 2005 JDBC Driver 2.0
Looks like the rest was cut off... Anyway, my question was whether there were any changes required to make jboss5 work with SQL2005 compared to the previous version? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196063#4196063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how do I use reminders ?
anonymous wrote : should remind one user. That is what I meant with user... and not pooled actor anonymous wrote : | Am I understanding correctly ? If so, where do I specify the email id for THAT one user ? | 10a) Do I need to specify that in JBPM identity - I started using that yesterday. | OR | 10b) Do I need to use a custom address resolver ? Either is possible. Whatever you choose. Most of the time the build in jBPM identity is not wanted because there already is an identity management system. A custom adresresolver is often sufficient then if assignments are not done via expresseions but directly as strings or via assignmenthandlers If there is something I hate it is lame excuses ;-)... but you know... in the end it always turns out to be less complicated to do it right initially ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196061#4196061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196061 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Restarting JBoss Programatically
Check the start-up script/batchfile of jboss 3.2.1. I think someone modified it to check whether the return value (errorlevel on Windows) is 2 and then restart the script. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196059#4196059 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196059 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - No transaction is in progress
Hi Guys, I am not able to solve this problema below. Any body can help me ? | javax.persistence.TransactionRequiredException: no transaction is in progress | at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:301) | at com.powerlogic.jcompany.persistencia.jpa.PlcBaseJpaDAO.altera(PlcBaseJpaDAO.java:482) | at com.powerlogic.jcompany.modelo.PlcBaseBO.altera(PlcBaseBO.java:492) | at com.powerlogic.jcompany.facade.PlcFacadeImpl.gravaTabular(PlcFacadeImpl.java:444) | at com.powerlogic.app.facade.AppFacadeImpl.gravaTabular(AppFacadeImpl.java:43) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.ja | My -ds.xml | | | jcompany_jsf | jdbc:oracle:thin:@10.0.0.1:1521:orades01 | oracle.jdbc.driver.OracleDriver | aaa | bbb | | | My persistence.xml | http://java.sun.com/xml/ns/persistence";> | | org.hibernate.ejb.HibernatePersistence | java:jcompany_jsf | | jcompany_jsf_comuns.jar | | | | | | | | | | My EJB | @Stateless | @TransactionManagement(TransactionManagementType.CONTAINER) | public class AppFacadeImpl extends PlcFacadeImpl implements IAppFacade, IAppFacadeRemote { | | @Override | @TransactionAttribute (TransactionAttributeType.REQUIRED) | public void gravaTabular(PlcBaseContextVO context, Class classe, | List lista, List listaAnt) throws PlcException { | super.gravaTabular(context, classe, lista, listaAnt); | } | } | Thanks, Rogerio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196058#4196058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196058 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: HDScanner deployment error
Ok... Now I am getting a different error message which occurs when executing line 75 in Main.java BasicBootstrap bootstrap = new BasicBootstrap(); The error message reads as follows : Using bootstrap: file:/C:/NichPro/MicrocontainerDirectoryScanner/src/META-INF/bootstrap-beans.xml java.lang.NoSuchFieldError: TRACE at org.jboss.logging.log4j.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:94) at org.jboss.logging.Logger.isTraceEnabled(Logger.java:150) at org.jboss.kernel.plugins.config.property.PropertyKernelConfig.initializeProperties(PropertyKernelConfig.java:74) at org.jboss.kernel.plugins.config.property.PropertyKernelConfig.(PropertyKernelConfig.java:61) at org.jboss.kernel.plugins.bootstrap.basic.BasicBootstrap.(BasicBootstrap.java:62) at com.nichpro.jmx.bootstrap.Main.configure(Main.java:75) at com.nichpro.jmx.bootstrap.Main.main(Main.java:45) at com.nichpro.jmx.server.config.JMXMain.main(JMXMain.java:33) at com.nichpro.jmx.server.DataManagementServer.main(DataManagementServer.java:291) java.lang.NullPointerException at com.nichpro.jmx.bootstrap.Main.deploy(Main.java:116) at com.nichpro.jmx.server.config.JMXMain.main(JMXMain.java:40) at com.nichpro.jmx.server.DataManagementServer.main(DataManagementServer.java:291) I have inclued all of the .jar files from the current JBoss 5.0.0.GA release so all the libraries should be there. The only exception is I have not included the endorsed directory contents. Regards, GMarsh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196057#4196057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196057 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Problem by deploying WAR with JSF on JBoss As 4.2.1
Hello Thomas, You can have Maven dependencies which will not get included into the WAR file by setting the scope to provided, e.g.: | | javax.servlet | jsp-api | 2.0 | provided | | What error message do you get exactly? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196056#4196056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196056 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - ENC setup failed
I'm trying to get some experience with JBoss 5 by trying out the examples from the Sun Java 5 EE tutorial (http://java.sun.com/javaee/5/docs/tutorial/doc/gfiud.html). However when I try to deploy either bookstore1 or bookstore2 on a standaard JBoss 5 all configuration I get the following error: 2008-12-11 21:02:38,171 ERROR [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (http-127.0.0.1-8080-1) ENC setup failed | java.lang.NullPointerException | at org.jboss.injection.PersistenceUnitHandler.getEntityManagerFactory(PersistenceUnitHandler.java:167) | ... I can't find many references to ENC. What is ENC? And how do I get it to work? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196055#4196055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196055 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Encoding issue
Hello, I am using JBoss 4.2.2 runing under Solaris sun4v sparc SUNW,Sun-Blade-T6320. Iam encountering an issue when receiving http headers with UTF-8 encoding format. Solaris uses actually LC-ALL= en_CA.ISO8859-1. The system properties while jboss starts uses also ISO8859-1. So actually (because I need to handle french accents) we have an issue when trying to extract those kind of characters. Sample: Original String: à éèç file.encoding=ISO8859-1 Received string: à éèç Do you have any idea what I missed ? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196054#4196054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196054 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: HDScanner deployment error
I am using the jboss-common-core dated 9/17/2008 from the JBoss-5.0.0.CR2 build. Is there a more recent release? I downloaded this on 12/04/2008. Humm... looks like you have a 5.0.0GA release on 12/05/2008. I'll download this and see if that doesn't help. GMarsh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196052#4196052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: HDScanner deployment error
It's this code: | org.jboss.virtual.plugins.context.VfsArchiveBrowserFactory factory = org.jboss.virtual.plugins.context.VfsArchiveBrowserFactory.INSTANCE; | org.jboss.util.file.ArchiveBrowser.factoryFinder.put("vfsfile", factory); | org.jboss.util.file.ArchiveBrowser.factoryFinder.put("vfszip", factory); | org.jboss.util.file.ArchiveBrowser.factoryFinder.put("vfsjar", factory); | org.jboss.util.file.ArchiveBrowser.factoryFinder.put("vfs", factory); | but I can still see the field in common-core-2.2.10 | public abstract class ArchiveBrowser | { |public interface Filter |{ | boolean accept(String filename); |} | |//use concurrent hashmap since a protocol can be added on the fly through the public attribute |public static Map factoryFinder = new ConcurrentHashMap(); | Check if you have up-to-date jboss-common-core. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196049#4196049 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Need help using ejb-jar.xml instead of EJB3 annotations
Hi I'm using JBoss5.0GA to deploy a remote EJB3 session bean that depends on a local EJB3 session bean. I need to do my deployment using an ejb-jar.xml file and not use EJB3 annotations in my session beans. I've removed my EJB3 annotations and I am able to successfully access my remote session bean, but I'm unable to figure out the ejb-jar.xml config that is equivalent to the @EJB annotation to inject a local session bean into my remote session bean. Thank you all in advance for your assistance! -- Steve Code snipets, configs, jndi tree, and error log below: --- PurchaseOrderServiceBean package test.service.po | | import test.entity.po.PurchaseOrder; | import test.persistence.po.PurchaseOrderDao; | | public class PurchaseOrderServiceBean implements PurchaseOrderService { | | private PurchaseOrderDao purchaseOrderDao; | | etc... | --- PurchaseOrderService package test.service.po; | | import java.io.Serializable; | | import test.entity.po.PurchaseOrder; | | public interface PurchaseOrderService extends Serializable { | | etc... --- PurchaseOrderDaoJpa package test.persistence.po; | | import test.entity.po.PurchaseOrder; | import test.persistence.GenericDaoJpa; | | public class PurchaseOrderDaoJpa extends GenericDaoJpa implements PurchaseOrderDao | { | | etc... --- PurchaseOrderDao package test.persistence.po; | | import test.entity.po.PurchaseOrder; | import test.persistence.GenericDao; | | public interface PurchaseOrderDao extends GenericDao | { | | etc... --- ejb-jar.xml http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"; | version="3.0"> | | Test Application | Test | | | | PurchaseOrderService | test-app/PurchaseOrderServiceBean/remote | test.service.po.PurchaseOrderService | test.service.po.PurchaseOrderServiceBean | Stateless | | | PurchaseOrderDaoJpa | Session | | | test.service.po.PurchaseOrderServiceBean | purchaseOrderDao | | | | | | | PurchaseOrderDaoJpa | test.persistence.po.PurchaseOrderDao | test.persistence.po.PurchaseOrderDaoJpa | Stateless | | | | | --- jndi tree Other components with java:comp namespace | | java:comp namespace of the component jboss.j2ee:ear=test-app.ear,jar=test-app.ear,name=PurchaseOrderService,service=EJB3 : | | +- EJBContext (class: javax.ejb.EJBContext) | +- TransactionSynchronizationRegistry[link -> java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef) | +- UserTransaction (class: org.jboss.ejb3.tx.UserTransactionImpl) | +- env (class: org.jnp.interfaces.NamingContext) | +- ORB[link -> java:/JBossCorbaORB] (class: javax.naming.LinkRef) | | | java:comp namespace of the component jboss.j2ee:ear=test-app.ear,jar=test-app.ear,name=PurchaseOrderDaoJpa,service=EJB3 : | | +- EJBContext (class: javax.ejb.EJBContext) | +- TransactionSynchronizationRegistry[link -> java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef) | +- UserTransaction (class: org.jboss.ejb3.tx.UserTransactionImpl) | +- env (class: org.jnp.interfaces.NamingContext) | | +- em (class: org.jboss.jpa.tx.TransactionScopedEntityManager) | | +- test.persistence.GenericDaoJpa (class: org.jnp.interfaces.NamingContext) | | | +- em (class: org.jboss.jpa.tx.TransactionScopedEntityManager) | +- ORB[link -> java:/JBossCorbaORB] (class: javax.naming.LinkRef) | | | java: Namespace | | +- securityManagement (class: org.jboss.security.integration.JNDIBasedSecurityManagement) | +- comp (class: javax.namingMain.Context) | +- XAConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory) | +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl) | +- test-ds (class: org.jboss.resource.adapter.jdbc.WrapperDataSource) | +- policyRegistration (class: org.jboss.security.plugins.JBossPolicyRegistration) | +- TransactionPropagationContextImporter (c
[jboss-user] [Microcontainer] - Re: HDScanner deployment error
Ok I have narrowed the error down to line 82 in Main.java where the kernel.validate() is called after it deploys the bootstrap.xml. I found a little more detail in the log file which is as follows: 2008-12-11 11:00:04,133 DEBUG (DeployersImpl.java: addDeployer :269) - Added deployer org.jboss.deployers.plugins.classloading.abstractlevelclassloadersystemdeplo...@16a5bcb for stage ClassLoader org.jboss.deployers.plugins.classloading.abstractlevelclassloadersystemdeplo...@16a5bcb{inputs=[org.jboss.deployers.structure.spi.classloaderfactory] outputs=[]} 2008-12-11 11:00:04,180 ERROR (AbstractController.java: incrementState :955) - Error installing to Instantiated: name=HDScanner state=Described java.lang.NoSuchFieldError: factoryFinder at org.jboss.virtual.VFS.init(VFS.java:71) at org.jboss.virtual.VFS.(VFS.java:51) at com.nichpro.jmx.bootstrap.HDScanner.(HDScanner.java:64) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:149) at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:106) at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:80) at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.createTarget(AOPConstructorJoinpoint.java:276) at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:97) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241) at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70) at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:66) at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:331) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:309) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130) at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76) at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:88) at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:158) at com.nichpro.jmx.bootstrap.Main.configure(Main.java:81) at com.nichpro.jmx.bootstrap.Main.main(Main.java:45) at com.nichpro.jmx.server.config.JMXMain.main(JMXMain.java:33) at com.nichpro.jmx.server.DataManagementServer.main(DataManagementServer.java:291) I don't know if this helps narrow down what might be happening or not. Regards, GMarsh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196043#4196043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&
[jboss-user] [EJB/JBoss] - Re: EJBs in a Load Balanced Environment
Hi Daniel, We are using old EJBs (not EJB3) and jboss-4.0.1. Will your four suggestions still work in our environment? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196040#4196040 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196040 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - eclipse and jboss: http status 404
hi, i'm a new. I have installed eclipse 3.4.0 and jboss portal 2.7.0 GA on mac. The problem is when publishing a file "helloworld"(i have add portlet 1.0-api.jar with build path), the server says: http status 404-the requested resource (..) is not available. Can you help me please? Thank a lot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196038#4196038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196038 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: XHTML openOn error
The issue has been fixed today https://jira.jboss.org/jira/browse/JBIDE-3372 ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196036#4196036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196036 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBoss Cache 2.0.0 in GA
I know that this post is pretty old but I came across the same problem and was able to get past it. posting it here (also to get a feedback just in case there is a problem with the approach) Here is what I did create a mycache.sar with jbosscache-core.jar, jboss-common-core.jar and jgroups.jar (from the 2.1.1 release and in jboss-service.xml added the following lines along with the mbean element of cache, for scoped deployment (to avoid interfering with the jboss cache 1.4.x version shipped with 4.2.2 GA) com.my:registry=mycache java2ParentDelegation=false Regards Monmohan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196034#4196034 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196034 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: HDScanner deployment error
"Gary Marsh" wrote : By the way I am using JRE 6 the latest release from Sun. I don't know if this might be adding an element of difference that is confusing us or not. | Nope. Works fine: | C:\Java\jdk1.6.0\bin\java -Didea.launcher.port=7532 -Didea.launcher.bin.path=C:\JetBrains\IDEA8.0.1\bin -Dfile.encoding=windows-1250 -classpath "C:\Java\jdk1.6.0\jre\lib\charsets.jar;C:\Java\jdk1.6.0\jre\lib\deploy.jar;C:\Java\jdk1.6.0\jre\lib\javaws.jar;C:\Java\jdk1.6.0\jre\lib\jce.jar;C:\Java\jdk1.6.0\jre\lib\jsse.jar;C:\Java\jdk1.6.0\jre\lib\management-agent.jar;C:\Java\jdk1.6.0\jre\lib\plugin.jar;C:\Java\jdk1.6.0\jre\lib\resources.jar;C:\Java\jdk1.6.0\jre\lib\rt.jar;C:\Java\jdk1.6.0\jre\lib\ext\dnsns.jar;C:\Java\jdk1.6.0\jre\lib\ext\localedata.jar;C:\Java\jdk1.6.0\jre\lib\ext\sunjce_provider.jar;C:\Java\jdk1.6.0\jre\lib\ext\sunmscapi.jar;C:\Java\jdk1.6.0\jre\lib\ext\sunpkcs11.jar; | ... | Deployed URL: file:/C:/projects/demos/jmx/src/main/resources/META-INF/varia-deployers-beans.xml | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196025#4196025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: How to pick up field-level annotations in annotation plu
"ALRubinger" wrote : | No way to get private fields with a corresponding accessor/mutator read in? | Perhaps we should join the metadata on field and its accessor/mutator if the BAM is FIELDS or ALL. Or we can easily add new BAM - it just needs BeanInfoCreator. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196024#4196024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: HDScanner deployment error
By the way I am using JRE 6 the latest release from Sun. I don't know if this might be adding an element of difference that is confusing us or not. Regards, GMarsh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196022#4196022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196022 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: HDScanner deployment error
"Gary Marsh" wrote : Was there something else besides the aop-beans.xml I needed? I just copied the aop-beans.xml from trunk. But I updated the libs a few days ago - see top pom.xml. I did a clean checkout, ran 'mvn idea:idea' to build up project files for IntelliJ. Adding JMXMain with models classpath, works w/o any problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196023#4196023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Restarting JBoss Programatically
Hello everyone. I have inhereted a JBoss project at work and have been fixing bugs and add enhancements on it for a few months. I have finally got permission to upgrade it from jboss 3.2.1 to jboss 4.2.2.GA. Our restart button on our JSP pages doesn't work anymore. I think ok they probably changed the API for the restart call. After looking at the code I'm not sure they went about this correctly to begin with. Currently if you press the restart button the code calls: log.info("Restarting application server...please wait"); | System.runFinalization(); | Runtime.getRuntime().halt(2); I would not expect this code to restart jboss but in 3.2.1 it does restart jboss. In 4.2.2.GA it does what I would suspect: shuts down jboss. So my question is, is there a way to programatically restart jboss in 4.2.2 without calling batch or shell files? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196021#4196021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196021 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: HDScanner deployment error
Was there something else besides the aop-beans.xml I needed? I snagged the source for this file and put it into my resource directory, refreshed the project and rebuilt it and ran with these error messages : Using bootstrap: file:/C:/Nichpro/MicrocontainerDirectoryScanner/src/META-INF/bootstrap-beans.xml java.lang.IllegalStateException: Incompletely deployed: *** DEPLOYMENTS IN ERROR: Name -> Error HDScanner -> java.lang.NoSuchFieldError: factoryFinder at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:290) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174) at com.nichpro.jmx.bootstrap.Main.configure(Main.java:81) at com.nichpro.jmx.bootstrap.Main.main(Main.java:45) at com.nichpro.jmx.server.config.JMXMain.main(JMXMain.java:33) at com.nichpro.jmx.server.DataManagementServer.main(DataManagementServer.java:291) Deployed URL: file:/C:/Nichpro/MicrocontainerDirectoryScanner/src/META-INF/system-jmx-beans.xml Deployed URL: file:/C:/Nichpro/MicrocontainerDirectoryScanner/src/META-INF/aop-beans.xml I am monitoring /NichPro/NP_ScanDirectory/Data directory. Deployed URL: file:/C:/Nichpro/MicrocontainerDirectoryScanner/src/META-INF/nichpro-beans.xml Data Directory is empty Going to sleep for 15 minutes now java.lang.IllegalStateException: Incompletely deployed: *** DEPLOYMENTS IN ERROR: Name -> Error DMServer -> java.lang.ClassNotFoundException: com.nichpro.jxm.server.DataManagementServer HDScanner -> java.lang.NoSuchFieldError: factoryFinder AOPJBossIntegration -> java.lang.NullPointerException *** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State} JMXStartStopAdvice$AspectBinding -> AspectManager{Installed:Described} JMXCreateDestroyAdvice$AspectBinding -> AspectManager{Installed:Described} AspectManagerJDK5 -> AOPJBossIntegration{Installed:**ERROR**} AspectManager -> AspectManagerJDK5{Installed:Instantiated} JMXRegistrationAdvice$AspectBinding -> AspectManager{Installed:Described} at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:290) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174) at com.nichpro.jmx.bootstrap.Main.validate(Main.java:123) at com.nichpro.jmx.server.config.JMXMain.main(JMXMain.java:43) at com.nichpro.jmx.server.DataManagementServer.main(DataManagementServer.java:291) Same problem with a few more additions. Regards, GMarsh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196020#4196020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196020 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how do I use reminders ?
I'm writing the test class now. Couldn't keep myself from asking you this : "6: I think it is the actor and if that is deduced from the swimlane... it is that user" >From what I see working in my code : 8. 'pooledTaskInstanceList' will pick up pooled tasks. Task 'approvalTask' but with NO user id attached. 9. taskInstanceListForType['approvalTask'] will pick up tasks assigned to current/LOGGED in actor. Task 'approvalTask' + user id attached. 10. Going by logic in 8 and 9, and the fact that reminder is for one user id : This definition : | | | | should remind one user. Am I understanding correctly ? If so, where do I specify the email id for THAT one user ? 10a) Do I need to specify that in JBPM identity - I started using that yesterday. OR 10b) Do I need to use a custom address resolver ? Either way, is you could tell me a little more ( with whatever attributes I'm missing ), that would help. I'm keep checking JBPM tables for possible clues. I've removed the node-enter and notify in my xml cos the eclipse debug is getting confusing - I don't know what was causing some parts of the code to execute. I can only work on a patch if I know what is supported/not supported. I'd love to make enhancements and contribute back...right now I'm in a time pressure situationanother lame excuse. Appreciate your help. Thanks. Sorry about the long messages. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196017#4196017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Script to create wildcard certificate chain in keystore
Here is the raw code for the DOS batch file if you dont want to visit the blog. @echo off | setlocal | @rem -- | @rem This script generates a server certificate suitable to be signed | @remby an authorized CA. If OpenSSL is installed, it can make a | @remsigning CA for you. | @rem | @rem This script requires: OpenSSL, JDK | @rem -- | | @rem set JBOSSHOME="C:\Justice\jboss" | | ::Get the home directory of the most recent JDK | start /w regedit /e reg1.txt "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\%JavaTemp%" | type reg1.txt | find "JavaHome" > reg2.txt | if errorlevel 1 goto ERROR | for /f "tokens=2 delims==" %%x in (reg2.txt) do set JavaTemp=%%~x | if errorlevel 1 goto ERROR | echo Java home path (per registry) = %JavaTemp% | set JAVAHOME=%JavaTemp% | set PATH=%PATH%;%JAVAHOME%\bin | del reg1.txt reg2.txt | echo Detected JDK and added it to PATH. | | ::Get the home directory of OpenSSL | start /w regedit /e reg1.txt "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\%SSLPath%" | type reg1.txt | find "OPENSSL_PATH" > reg2.txt | if errorlevel 1 goto ERROR | for /f "tokens=2 delims==" %%x in (reg2.txt) do set SSLPath=%%~x | if errorlevel 1 goto ERROR | echo OpenSSL home path (per registry) = %JavaTemp% | set OPENSSL_HOME=%SSLPath% | set PATH=%PATH%;%OPENSSL_HOME% | del reg1.txt reg2.txt | echo Detected OpenSSL and added it to PATH. | echo %PATH% | | @rem Create storage directories | echo Creating work directories if they do not already exist. | mkdir %OPENSSL_HOME%\..\myCerts | cd %OPENSSL_HOME%\..\myCerts | mkdir private | mkdir %OPENSSL_HOME%\..\demoCA | cd %OPENSSL_HOME%\..\demoCA | mkdir private | mkdir newcerts | cd %OPENSSL_HOME%\..\ | echo Done. | | @rem Ask to create certificate authority | set /P GENERATECA=Do you want to generate you own 10 year Certificate Authority? [y]: | if "%GENERATECA%" == "" (set GENERATECA=y) |@echo. | if "%GENERATECA%" == "y" ( | openssl req -config %OPENSSL_HOME%\openssl.cfg -new -x509 -extensions v3_ca -keyout %OPENSSL_HOME%\..\demoCA\private\cakey.pem -out %OPENSSL_HOME%\..\demoCA\cacert.pem -days 1096 | ) | @ECHO Finished generating a certificate authority. Your site certificate will be signed with this authority. |@echo. | | @rem Ask to create site certificate chain | set /P GENCERT=Do you want to generate a site certificate signed by your Certificate Authority? [n]: | if "%GENCERT%" == "" (set GENCERT=n) |@echo. | if "%GENCERT%" == "n" GOTO ERROR | | @ECHO Generating your server certificate inside a new keystore. | @ECHO Enter *.your.domain if you wish to generate a wildcard certificate. | keytool -genkey -alias tomcat -keyalg RSA -keystore %OPENSSL_HOME%\..\myCerts\keystore.kdb | | @ECHO Generating a certificate request that will be used by your certificate authority to sign your cert. | keytool -certreq -alias tomcat -keystore %OPENSSL_HOME%\..\myCerts\keystore.kdb -file %OPENSSL_HOME%\..\myCerts\tomcat.csr | | @ECHO Ready to import the cacert.pem public cert from your self created CA in directory .\demoCA . | keytool -import -alias root -keystore %OPENSSL_HOME%\..\myCerts\keystore.kdb -trustcacerts -file %OPENSSL_HOME%\..\demoCA\cacert.pem | | if exist %OPENSSL_HOME%\..\demoCA\private\cakey.pem ( | @rem If you have used this script to create a CA with openssl then this segment will sign the CSR with | @rem your certificate authority from .\demoCA\private\demoCA.key and saves it as .\myCerts\tomcat.crt and converts it to DER format. | echo Signing CSR and saving tomcat.crt | copy /Y %OPENSSL_HOME%\PEM\demoCA\index.txt %OPENSSL_HOME%\..\demoCA | copy /Y %OPENSSL_HOME%\PEM\demoCA\serial %OPENSSL_HOME%\..\demoCA | openssl ca -config %OPENSSL_HOME%\openssl.cfg -policy policy_anything -out %OPENSSL_HOME%\..\myCerts\tomcat.crt -infiles %OPENSSL_HOME%\..\myCerts\tomcat.csr | openssl x509 -in %OPENSSL_HOME%\..\myCerts\tomcat.crt -inform PEM -out %OPENSSL_HOME%\..\myCerts\tomcat.der -outform DER | ) | | @ECHO Ready to import CA signed CSR response into your keystores certificate. | keytool -import -alias tomcat -keystore %OPENSSL_HOME%\..\myCerts\keystore.kdb -trustcacerts -file %OPENSSL_HOME%\..\myCerts\tomcat.der | | @ECHO List the contents. | keytool -keystore %OPENSSL_HOME%\..\myCerts\keystore.kdb -list -v | | @rem Finally, copy the keystore to JBoss. | @rem copy keystore.kdb %JBOSSHOME%\bin /y | | | :ERROR | echo Ending script. | pause View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196016#4196016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196016 __
[jboss-user] [Clustering/JBoss] - Re: AutoDiscovery for multiple clusters on same machine
Thanks Brian. I understand your comment and I agree with it. How does a client look up two different EJB applications deployed on two different clusters? Can jndi.properties work in this case? In this case, I do understand that the proxy downloaded will be from one of the clusters. Do I load the naming environment for each cluster one at a time? Thanks, Shreyas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196015#4196015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196015 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: jbosscache performance
Thank you for your reply. I changed config file to use REPEATABLE_READ, as well as wakeUpInterval. But that does not impact the result much. BTW, I use default JVM setting. We plan to use jboss cache to share some data in cluster environment. 99% will be read activity, and the data in cache is most Hashmap. We will access cache up to 20 thousand times per transaction, but like to keep response time as fast as possible. How do I tune Jboss cache (and JVM) to get best performance? Thanks, Rich View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196012#4196012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: HDScanner deployment error
I just fixed aop-beans.xml. Can you check if it works now? ps: don't forget to set demos.home system property if the code is not in \projects\demos View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196010#4196010 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196010 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Ejb QL Failed
Hi All, When I execute dynamic ejb ql as follows SELECT distinct OBJECT(o) FROM com_afl_global_entity_Partner o WHERE o.id IN (-1,780,1005,1091,1097) ORDER by o.name I got the following error org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "-" at line 1, column 85. Was expecting one of: "ABS" ... "COUNT" ... "MAX" ... "MIN" ... "AVG" ... "SUM" ... "LENGTH" ... "LOCATE" ... "SQRT" ... "MOD" ... "(" ... ... ... ... ... Please help me out,why is it not consider the "-1" as negitive number? Thanks in Advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196008#4196008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: File upload:Exception in cms
hello, i've tried to reproduce the issue, but i didn't succeed. i have tried it with portal 2.7.0 and 2.6.6 upon oracle10g database. on Portal 2.6.6 I see no errors and on 2.7.0 i've got "HTTP Status 500" error and after second try i've got "org.jboss.portal.cms.CMSException: javax.transaction.xa.XAException". Please can you write what version of portal and oracle are you using? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196007#4196007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Load-balance the invocation of a MBean in the cluster fr
"cdelory" wrote : | In the mean time, I figured out another workaround: use the "regular" JRMP proxy factory, which registers a local JNDI name on each target server, and go through HA-JNDI to perform the cluster lookup of one of my registered services. The bad side here is that I cannot really load-balance the service invocations: the HA-JNDI lookup always chooses the first valid response in the response list. Do you mean this is because the mbean is only deployed on a few servers in your cluster, so most lookups involve a cluster-wide search on the server side, and those cluster wide searches are not returning evenly balanced results? That wouldn't surprise me at all. If that's not what you mean, hmm, the lookup calls should be load balanced. anonymous wrote : So, sooner or later, I'll migrate to your workaround or wait the next release. OK. Note that I marked the issue as resolved for 4.2.4 and 5.0.1, but it could be a real long time before any 4.2.4 comes out; perhaps only the discovery of some critical security issue in 4.2.3 would drive the release of a 4.2.4. anonymous wrote : I still have the following question, which in fact is not really related to any clustering issue: can I spare this extra MBean declaration (the proxy factory), but still access my remote MBean service through its remote interface (HAServiceRemote in your example)? Or maybe I want to have one's cake and eat it?. No, to make invocations against the HAServiceRemote type in a remote VM you need an object in that VM that implements the interface and then passes the call back to the server via some transport. That is, you need a proxy. :-) If you are willing to give up calling against the interface and just make detyped JMX invocations, you can use the AS's JMX Remoting service aka the RMIAdaptor. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196006#4196006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: The performance problem of richfaces in IE
Here is an abstract posted on http://blogs.msdn.com/ie/default.aspx " Hello again, this is Peter Gurevich, Performance PM (among other things) for IE7. We have heard a lot of requests to improve our Jscript engine, especially now that AJAX sites are becoming more prevalent on the web. I want you all to know that we have been listening and have recently made some great fixes to our engine to improve the garbage collection routine and to reduce unbounded memory growth. You should see noticeable improvements on AJAX sites in the Release Candidate we shipped last week. I want you also to know that performance of the object model and JavaScript engine will be an area that we focus on strongly in future releases. While investigating the performance issues on script heavy sites we noticed several design patterns that resulted in less than optimal script performance. Changing these design patterns on the site end often resulted in huge performance wins (4x to 10x increase) to the user, so I wanted to share these recommendations with everyone. To that end, this blog will be the first in a 3 part series focusing on developing performance optimized scripts for web pages, covering the following: 1. Symbolic Look-up recommendations 2. JavaScript code inefficiencies 3. Script and performance considerations specific to Internet Explorer " Please let me know if there are other useful performance topics youâd like to hear about. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196005#4196005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: The performance problem of richfaces in IE
"swatermeyer" wrote : In our portal the difference betweeen those two browsers is noticeable but instead of 30 seconds in IE it takes 25 seconds in firefox/opera etc. | | Which OS do you use? W2K, WinXP or another one? I am using WinXP... it took 25 seconds to response a web page? how much times your server took to process request? how complicated your page is? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196002#4196002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jakarta-regexp-1.5.jar - Class Not Found if it placed as
Hi missed the module entry for jar in deloyment descriptor. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196001#4196001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: HDScanner deployment error
"Gary Marsh" wrote : | HDScanner -> java.lang.NoSuchFieldError: factoryFinder | Where does this come from? I searched for this 'factoryFinder' in demos, MC, AS, CL, Deployer w/o success. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196000#4196000 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196000 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jakarta-regexp-1.5.jar - Class Not Found if it placed as
Hi, The issue in deployment descriptor, i haven't placed any module entry deployment descriptor Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195998#4195998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195998 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Any possibility to understand Delphi?
I thought I'd post my solution to this here as I've spent a day looking for a solution to the same problem, and only finding posts such as this without answers. I have a JBossWS service that I am connecting a legacy Borland C++ app to, and ran into this same problem: the missing namespace. In the WSDL Importer generated code, change the line with RegisterInvokeOptions to: InvRegistry()->RegisterInvokeOptions(__interfaceTypeinfo(MyWebService), (ioDocument, ioLiteral, ioHasNamespace)); | I can't see how to get WSDL Importer to generate this though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195997#4195997 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - XHTML openOn error
Eclipse 3.4.1 SUN JVM 1.5, 1.6 JBoss Tools night build Win Server 2003 (x64) After several installations of Eclipse, JBoss tools, java 1.5 and 1.6 when try "openOn" some backing bean in xhtml page i got the error: ( http://pastebin.com/m3518ecf4 ) !SESSION 2008-12-11 18:06:07.184 --- eclipse.buildId=M20080911-1700 java.version=1.5.0_11 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=bg_BG Command-line arguments: -os win32 -ws win32 -arch x86 -clean !ENTRY org.eclipse.equinox.p2.director 2 0 2008-12-11 18:06:15.949 !MESSAGE Problems resolving provisioning plan. !SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-12-11 18:06:15.949 !MESSAGE Unable to satisfy dependency from org.jboss.tools.birt.core 1.0.0.GA-N200812102009 to requiredCapability: osgi.bundle/org.eclipse.birt.integration.wtp.ui/0.0.0. !SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-12-11 18:06:15.949 !MESSAGE Unable to satisfy dependency from org.jboss.tools.eclipse.as.tptp 1.0.0 to requiredCapability: osgi.bundle/org.eclipse.hyades.trace.ui/0.0.0. !SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-12-11 18:06:15.949 !MESSAGE Unable to satisfy dependency from org.jboss.tools.eclipse.as.tptp 1.0.0 to requiredCapability: osgi.bundle/org.eclipse.tptp.platform.jvmti.client/0.0.0. !SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-12-11 18:06:15.949 !MESSAGE Unable to satisfy dependency from org.jboss.tools.eclipse.as.tptp 1.0.0 to requiredCapability: osgi.bundle/org.eclipse.tptp.platform.execution/0.0.0. !SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-12-11 18:06:15.949 !MESSAGE Unable to satisfy dependency from org.jboss.tools.eclipse.as.tptp 1.0.0 to requiredCapability: osgi.bundle/org.eclipse.tptp.platform.profile.server.core/0.0.0. !SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-12-11 18:06:15.949 !MESSAGE Unable to satisfy dependency from org.jboss.tools.eclipse.as.tptp 1.0.0 to requiredCapability: osgi.bundle/org.eclipse.tptp.platform.instrumentation.ui/4.3.100. !SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-12-11 18:06:15.949 !MESSAGE Unable to satisfy dependency from org.jboss.tools.birt.feature.feature.group 1.0.0.GA-N200812102009 to requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.birt.feature.group/[2.3.1,3.0.0). !SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-12-11 18:06:15.949 !MESSAGE Unable to satisfy dependency from org.jboss.tools.birt.feature.feature.group 1.0.0.GA-N200812102009 to requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.birt.integration.wtp.feature.group/[2.3.1,3.0.0). !SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-12-11 18:06:15.949 !MESSAGE Unable to satisfy dependency from org.jboss.tools.birt.feature.feature.group 1.0.0.GA-N200812102009 to requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.birt.integration.wtp.ui/[2.3.1.v20080827,2.3.1.v20080827]. !ENTRY org.eclipse.osgi 2 1 2008-12-11 18:06:23.667 !MESSAGE NLS unused message: ACTUAL_RUN_TIME_ABSOLUTE_FOLDER in: org.jboss.tools.vpe.messages.messages !ENTRY org.eclipse.ui 4 0 2008-12-11 18:07:11.447 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.jboss.tools.seam.text.ext.hyperlink.SeamBeanHyperlinkPartitioner.recognize(SeamBeanHyperlinkPartitioner.java:287) at org.jboss.tools.common.text.ext.hyperlink.AbstractHyperlinkPartitioner.getChildPartitionType(AbstractHyperlinkPartitioner.java:48) at org.jboss.tools.common.text.ext.hyperlink.AbstractHyperlinkPartitioner.getChildPartitionType(AbstractHyperlinkPartitioner.java:55) at org.jboss.tools.common.text.ext.hyperlink.AbstractHyperlinkPartitioner.getChildPartitionType(AbstractHyperlinkPartitioner.java:55) at org.jboss.tools.common.text.ext.hyperlink.AbstractHyperlinkPartitioner.getChildPartitionType(AbstractHyperlinkPartitioner.java:55) at org.jboss.tools.common.text.ext.hyperlink.HyperlinkDetector.getPartitionTypes(HyperlinkDetector.java:65) at org.jboss.tools.common.text.ext.hyperlink.xpl.BaseHyperlinkDetector.getPartitionType(BaseHyperlinkDetector.java:120) at org.jboss.tools.common.text.ext.hyperlink.xpl.BaseHyperlinkDetector.getHyperlinks(BaseHyperlinkDetector.java:51) at org.jboss.tools.common.text.ext.hyperlink.xpl.BaseHyperlinkDetector.detectHyperlinks(BaseHyperlinkDetector.java:132) at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:265) at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:466) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:199) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at org.eclipse.swt.widge
[jboss-user] [Clustering/JBoss] - Re: Clustering Done, Load balancing not happenings
Check out the load balancing section in the server administration guide. I'd recommend getting all of the documentation for version 4.0.5 as it should all be up to date. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195992#4195992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195992 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: HDScanner deployment error
The Error message in my first Post was the first error message. There is subsequent message which seems to be a further cascade from the first. The second message says : java.lang.IllegalStateException: Incompletely deployed: *** DEPLOYMENTS IN ERROR: Name -> Error HDScanner -> java.lang.NoSuchFieldError: factoryFinder DMServer -> java.lang.ClassNotFoundException: com.nichpro.jxm.server.DataManagementServer at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:290) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174) at com.nichpro.jmx.bootstrap.Main.validate(Main.java:123) at com.nichpro.jmx.server.config.JMXMain.main(JMXMain.java:43) at com.nichpro.jmx.server.DataManagementServer.main(DataManagementServer.java:295) Where DataManagementServer is the code that calls JMXMain.main(). Regards, GMarsh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195991#4195991 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: The performance problem of richfaces in IE
In our portal the difference betweeen those two browsers is noticeable but instead of 30 seconds in IE it takes 25 seconds in firefox/opera etc. Which OS do you use? W2K, WinXP or another one? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195989#4195989 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195989 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Clustered/Bridged JMS Messaging?
Thanks for the replay. The old stuff (JBossMQ) does work, but we are trying to rid ourselves of a production issue with the old JBossMQ configuration. The issue dealt with the producing instance ( of JBoss ) being restarted and the consuming instance not. In some cases we run out of threads because of the UIL2 layer bug in the PingThread. There are many posts on this issue. Anyway, since my last post I got it to work in a "clustered" configuration. Thanks again, Cory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195988#4195988 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: HDScanner deployment error
I took the HDScanner.java, Main.java, JMXMain.java, MainDeployerHelper.java and their corresponding .xml configuration files from the DZone_1_0 demo. It was the demo code referenced in your article "A Look Inside the JBoss Microcontainer, Part I -- Component Models" authored by Alesj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195987#4195987 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM-3.3.0.GA Released
I tried upgrading the schema and the jars required for 3.2.3. Schema upgrade went fine but my previous unit tests are failing because the hibernate id generation is not working correctly when I try to load some identities. Is this a known issue with hibernate generator class = native . Do we have a resolution for this? Thanks Bhagat View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195986#4195986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195986 ___ 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 MappingException
"jaikiran" wrote : Where exactly is this class present in your packaging? Is it part of the har or is it bundled in a separate jar? If its in a separate jar, where in the EAR is the jar placed? Thank you for the reply. I eventually figured this part out. I am now building an ear that contains a jar, a har and a war. The har is the same as before. The jar contains all the non-web-specific classes for my application. The war contains the web-specific classes as well as the servlet definitions. I am no longer getting the above error with regards to being unable to map the Date class. (I'm now getting a different error related to servlets finding things which live in the jar instead of the war, but that's a separate forum.) One line in the console log still confuses me: | 09:56:29,373 INFO [SessionFactoryImpl] building session factory | 09:56:29,561 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured | 09:56:29,561 INFO [NamingHelper] JNDI InitialContext properties:{} | 09:56:29,561 INFO [Hibernate] SessionFactory successfully built and bound into JNDI [java:/hibernate/NextGenRMDemoSessionFactory] | What JNDI is the SessionFactoryObjectFactory not finding? Jboss-web.xml looks like this: | | | | | | jdbc/NextGenRMDemoDS | java:/NextGenRMDemoDS | | | | hibernate/NextGenRMDemoSessionFactory | java:/hibernate/NextGenRMDemoSessionFactory | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195980#4195980 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195980 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how do I use reminders ?
5: notify and reminder are two different things. Notify is 'there is a task for you', reminders are 'You still have a task' 6: I think it is the actor and if that is deduced from the swimlane... it is that user. If you want to be sure, create a unittest. 7: depends on your solution, but yes it might be the case. Question from my side: Why are you trying to work around things? You seem like a knowledgable person, so why not make a patch for jBPM that does what you want. That part of the source is not that difficult to understand. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195979#4195979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Client jars for 5.0.0.GA/1.4.1.GA
I aways look at what thirdparty libs JB5 is using on this file: http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_GA/component-matrix/pom.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195978#4195978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Upgrading to JBoss 5.0
You could probably tinker with aop-message-client.xml and add your aspect into that. You could change that in a property on messaging-service.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195975#4195975 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195975 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Jboss 5.0.0 CR2 installation problem
same as I with JBoss 5.0.0.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195974#4195974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195974 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - EJB 2 call from servlet
Hi got a pressing issue. I got a legacy ear running with remote EJBs on my JBoss app server 4.0.3SP1 and I do not want to mess the this ear. I'm building a web app that is to access a EJB from the legacy system through a servlet. When I call the servlet I get a ClassCastException on some $proxy object. >From what I can find on forums I guess that there is some conflict between >class loaders however I have no idea how to fix this. Any help we be nice :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195973#4195973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Client jars for 5.0.0.GA/1.4.1.GA
Excellent, thanks for the quick reply Clebert, much appreciated. Do you know if these jars are identifiably versioned? I use Maven, and for previous incarnations I've just deployed copies of the jars from the distribution to my own repository with my own version numbers so I could be sure I was using the correct ones, but it would be nice to retrieve these from a central repository in the "normal" Maven way, specifying a definitive version number. Many thanks, Bob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195971#4195971 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195971 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Lazy children loaded when persist is called
Let's say we have an entity that has a OneToMany relationship declared like this : | @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "Parent") | public Set getChildren() { | return this.children; | } | | public void setChildren(Set children) { | this.children = children; | } | When I call persist on the entity, hibernate firsts populates the list of children although I have never accessed the getter. Here is the call in a stateless session bean: | | package org.domain.services.users; | | import javax.ejb.Stateless; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | | import org.domain.SeamOne.entity.Parent; | import org.domain.services.users.ParentManager; | | public @Stateless | class ParentManagerBean implements ParentManager { | | @PersistenceContext | private EntityManager em; | | public void ChangeName(String pName, String pId) { | Parent parent = em.find(Parent.class, pId); | // An hibernate trace just appeared that shows a select just for | // the parent class | | parent.setName( pName ); | | | em.persist(parent); | // An hibernate trace just appeared that shows a select to populate | // the children | } | } | | When I first saw the traces from hibernate, I didn't know for sure which call had produced the traces. I then started jboss in debug mode and stepped through the code to realize that the children were loaded on the persist call. My code works fine, but I can't see the need for that query when the children have not been accessed because they can't be dirty. I've tried removing the "cascade = CascadeType.ALL" and it then doesn't do the query, but I now have to call persist on the children of the class when they have been modified. Is there a reason for that behavior? Is that an bug? Is there a way to circumvent this without loosing the cascading feature? Thank you all, Sylvain Catudal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195970#4195970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195970 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.7 - see a blank login page
I believe this was reported by some other user as well and I think has already been fixed in trunk of 2.7. If you can, please try building and deploying the code from http://anonsvn.jboss.org/repos/portal/branches/JBoss_Portal_Branch_2_7. That makes me think that it may be better if I provide user the latest build from trunk to download and try. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195969#4195969 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195969 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Client jars for 5.0.0.GA/1.4.1.GA
JBoss5 has broken down the client jars. I had been through this on the client-example, and I came up with this list: | | | | | | | | | | | | | | | | | | | | | | | I used a mix of adding what I knew I would need plus: "find . -name \*jar -exec unzip -l {} \; > list.txt" And adding the missing class. I think this will be (or should be) documented on the JBAS user's guide. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195967#4195967 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195967 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Clustered/Bridged JMS Messaging?
"javacory" wrote : | | In our case we have one application in a JBoss server instance that produces messages to a queue and another application in another JBoss instance that has an MDB which consumes them. With the old JBossMQ configuration we used a remoteJNDI adapter to do this. | | | The JCA layer is the same. You just need to configure a new JMS Xa Resource Adapter pointing to the remote node. Your old configuration on jms-ds.xml would probably still work ok. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195964#4195964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195964 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how do I use reminders ?
I have workaround for notifying pooled actors. In fact, the node-enter event is doing that for me. 5. If I remove notify, does the reminder work ? 6. 'Who' is the reminder reminding ? Is it using the swimlane from the parent tag (task) ? 7. Does 6 mean that I should not use swimlane at all because of 1. I introduced swimlane only to emulate the examples. Earlier I just had pooled actors, and one user would start to work on a task. I just want to remind that user. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195963#4195963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - jboss 5, jdk 6 and web services
I've trying to deploy a SOAP web service on jboss 5. The service and client have been compiled with JDK 6. I've copied the jboss-native-* jars files to the lib/endorsed directory as recommended. When I run the client I get the following exception Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/xml/messaging/saaj/soap/AttachmentPartImpl at com.sun.xml.ws.message.AttachmentUnmarshallerImpl.(AttachmentUnmarshallerImpl.java:55) at com.sun.xml.ws.message.stream.StreamMessage.readPayloadAsJAXB(StreamMessage.java:215) at com.sun.xml.ws.client.sei.ResponseBuilder$Body.readResponse(ResponseBuilder.java:444) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:242) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103) at $Proxy24.legacySelectAndSection(Unknown Source) at org.cas.ddaa.ws.test.DDAAClientTest.callMethod(DDAAClientTest.java:119) at org.cas.ddaa.ws.test.DDAAClientTest.main(DDAAClientTest.java:134) This happening when my client is unmarshalling the response from the server. Everything on the server has run correctly. Any suggestions? I'm stumped, apart from realising that it something to do with the problems using JDK 6 and JBoss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195959#4195959 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195959 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user