[jboss-user] [JNDI/Naming/Network] - How to get IP address

2008-11-25 Thread asfauzil
hallo can i get ip address from whos binding a stateless ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4191971#4191971 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4191971

[jboss-user] [JBoss jBPM] - End Node - End All Tasks

2008-11-25 Thread tpaz
Hi, I'd like End-Node to end all tasks of the current process. Can someone recommend how to do that? Thanks, Tomer View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4191972#4191972 Reply to the post :

[jboss-user] [Security JAAS/JBoss] - ClientCertificate + Username/Password Login

2008-11-25 Thread Morgy
Hi, i am trying to to create a Login mechanism that uses ClientCertificates and Username/Password techniques. What i got right now is a Tomcat check if the Certificate is valid and a login via Username/Password. What i need is a way to actually access the Certificate to not only check its

[jboss-user] [JBoss jBPM] - Re: variable scope from a script

2008-11-25 Thread tbeernot
kukeltje wrote : anonymous wrote : I assume more people do this. | | If I find the time (remember, I do not work for JBoss/RH and only do this in my free time) I'll try to make a unit test without scripting and see what happens then. | | I know and it is highly appriciated.

[jboss-user] [Microcontainer] - Re: [VFS] Better way to scan for modifications

2008-11-25 Thread dazz_x
well done, that seems logical thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4191984#4191984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4191984 ___ jboss-user mailing

[jboss-user] [Security JAAS/JBoss] - is it security hole

2008-11-25 Thread sunlinux
Pls. go thru below text from nikto( web server scanner ) .. what it showing .. Is thr any security hole in my jboss server if yes pls tell how to fix it. + Target IP: *.*.*.* + Target Hostname:*.*.*.* + Target Port:80 + Start Time: 2008-11-26 13:22:53

[jboss-user] [JBossWS] - Could not transmit message when 2nd time deploying.

2008-11-25 Thread dmitry.kudrenko
Greetings, I have web application deployed on jboss 4.2.2.GA. This application communicates with a web service. It works fine when I deploy the application first time after restarting jboss. But stops work when I deploy it without restarting jboss. Caused by: java.io.IOException: Could not

[jboss-user] [JBoss jBPM] - Re: variable scope from a script

2008-11-25 Thread kukeltje
Well... Since I think not many people use it this way, I'd not qualify the 'bug' as serious. The risk is that if this is changed, some other things fall over. Things that might be more used View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192007#4192007 Reply

[jboss-user] [Clustering/JBoss] - Problem with farming when node re-joins cluster - applicatio

2008-11-25 Thread szymon_z
Hi, I'm having an issue which seems to be connected with JBoss clustering mechanism. I have the following configuration: - 4 JBoss 4.2.3GA nodes on the same subnet - Load balancer on Apache/mod_jk If I launch all nodes with no farmed application so that all of them form a cluster and THEN put

[jboss-user] [JBoss jBPM] - Re: End Node - End All Tasks

2008-11-25 Thread mputz
I think things got mixed up here. The 'end-complete-process' attribute on end-state only makes sense in an end-state that appears in a leg of a fork, and which should end the complete process, see https://jira.jboss.org/jira/browse/JBPM-1181. Ending a process does not end the taskInstances,

[jboss-user] [JBoss jBPM] - Re: activation.jar doesn't exist in the project with 3.3.0.G

2008-11-25 Thread karypid
Had the same problem. Fixed it by doing what this sticky post (at the top of this forum) says: http://www.jboss.com/index.html?module=bbop=viewtopict=145459 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192019#4192019 Reply to the post :

[jboss-user] [JBoss AOP] - Re: New SystemOuts since upgrade to 2.0.0.GA with Jboss AS (

2008-11-25 Thread DerMas
I think I found the problem in the following class: | package org.jboss.aop.util.logging; | | /** | * A thin wrapper around the jboss logging framework, so that if a proper logger is not installed | * we get the output redirected to System.out. | * | * @author a href=[EMAIL

[jboss-user] [JBoss Messaging] - Re: Scheduled Messages not being cleared properly on a remov

2008-11-25 Thread ataylor
actually, on review i think you're correct. This may be a bug. Any chance you could provide a standalone test to demonstrate it and someone will take a look. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192025#4192025 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Scheduled Messages not being cleared properly on a remov

2008-11-25 Thread ataylor
If you open a JIRA you can attach the test to it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192026#4192026 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192026 ___

[jboss-user] [JBoss Messaging] - Re: Scheduled Messages not being cleared properly on a remov

2008-11-25 Thread ataylor
anonymous wrote : Is this the expected behaviour? FIrstly there is nothing in the jms specification regarding scheduling messages so this will always be vendor specific. Relying on vendor specific functionality makes your application less portable between jms products. Anyway, in JBM 1.4 the

[jboss-user] [Installation, Configuration DEPLOYMENT] - Configure JBoss to use only one processor

2008-11-25 Thread taze1701
Hello! Is there a possibility to configure JBoss to use only one processor even one a multi processor machine? If this is not possible for JBoss itself, is it possible to force this via JVM args? Thanks in advance, Taze View the original post :

[jboss-user] [JBoss jBPM] - Re: Unable to get the taskform with variables

2008-11-25 Thread salaboy21
This is a common mistake.. please, change the name of your task (not task-nodes) with names with no spaces.. then re-generate this forms.. and look in the file where all the forms are linked.. I don't remeber the name but is another xml file near the xhtml files. View the original post :

[jboss-user] [Beginners Corner] - Re: No connectivity + DTD

2008-11-25 Thread chausberger
jaikiran wrote : The XML parsers try to validate against the DTD which can either be available locally in the jar or on the internet at the specified URL. From what i know, the xml parsers first look for the DTD within the jar and if that fails, it tries to connect to the internet. does

[jboss-user] [JBoss jBPM] - Re: End Node - End All Tasks

2008-11-25 Thread tpaz
I tried the following handler, which seems straightforward: public class EndAllTasks implements ActionHandler { public void execute(ExecutionContext executionContext) throws Exception { executionContext.getTaskMgmtInstance().endAll(); } } but I'm getting a

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - @PersistenceContext injection from a different jar fails

2008-11-25 Thread Nouredine13
Hello, I have a sample application with an EJB3 SLSB which is being injected with a PersistenceContext which is configured in a different jar file as follows : package org.myapp.ejb.impl; import javax.ejb.Local; import javax.ejb.Stateless; import javax.persistence.EntityManager; import

[jboss-user] [JBoss jBPM] - Re: ExceptionHandler / changes since 3.2GA

2008-11-25 Thread mpet
Thanks, I filled in a jira issue as suggested: https://jira.jboss.org/jira/browse/JBPM-1887 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192014#4192014 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192014

[jboss-user] [Installation, Configuration DEPLOYMENT] - @PersistenceContext injection from a different jar fails

2008-11-25 Thread Nouredine13
Hello, I have a sample application with an EJB3 SLSB which is being injected with a PersistenceContext which is configured in a different jar file as follows : package org.myapp.ejb.impl; import javax.ejb.Local; import javax.ejb.Stateless; import javax.persistence.EntityManager; import

[jboss-user] [JBoss jBPM] - Re: Getting error in Jbpm webconsole

2008-11-25 Thread kukeltje
it's not only the latest minor verion (3.3), but it already changed in 3.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192009#4192009 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192009

[jboss-user] [JBoss jBPM] - Re: variable scope from a script

2008-11-25 Thread tbeernot
kukeltje wrote : Well... Since I think not many people use it this way, I'd not qualify the 'bug' as serious. The risk is that if this is changed, some other things fall over. Things that might be more used I do not agree: the documentation is very specific about that variables have contexts

[jboss-user] [JBoss AOP] - Re: New SystemOuts since upgrade to 2.0.0.GA with Jboss AS (

2008-11-25 Thread DerMas
Just some more info: The sysouts come from the class: | package org.jboss.aop.util.logging; | | /** | * | * @author a href=[EMAIL PROTECTED]Kabir Khan/a | * @version $Revision: 1.1 $ | */ | | public class SystemOutLoggerPlugin implements LoggerPlugin The methods used

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: @PersistenceContext injection from a different jar fails

2008-11-25 Thread jaikiran
Let's continue this discussion in your other thread here http://www.jboss.com/index.html?module=bbop=viewtopict=146250 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192055#4192055 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: End Node - End All Tasks

2008-11-25 Thread kukeltje
look at the end-complete-process attribute on an end node. But iirc, if you just have one end node that already should happen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192010#4192010 Reply to the post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: @PersistenceContext injection from a different jar fails

2008-11-25 Thread jaikiran
Let's continue this discussion in your other thread at http://www.jboss.com/index.html?module=bbop=viewtopict=146250 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192056#4192056 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: How to configure Jbpm in non-distributed tomcat cluster?

2008-11-25 Thread hudson.2010
kukeltje, thank you very much for your reply. As per your answer, can I understand that: jBPM haven't any session level talk. Then I have 2 questions (please excuse me that I'm a very beginer of jBPM): 1. How can jBPM adapt into J2EE cluster environment? 2. jBPM may lock 1 DB record for a very

[jboss-user] [Installation, Configuration DEPLOYMENT] - Multiple Ear Files on same jboss

2008-11-25 Thread sunnie_y2s00
Hi, I have 2 ear deployed on my jboss. But the issue is that either of the one does work for me. both the ear have different context path. The ear that been deployed former works and the later deployment doesnt work for me. While deploying the second ear file i get the following

[jboss-user] [JBoss Cache: Core Edition] - Re: java.sql.SQLException: ORA-00001: unique constraint (CCC

2008-11-25 Thread [EMAIL PROTECTED]
Looks like you're seeing http://www.jboss.com/index.html?module=bbop=viewtopicp=4173132#4173132. Fixed in JBCACHE-1410 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192078#4192078 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Problems with GraphSession.deleteProcessInstance()

2008-11-25 Thread michaelholtzman
An HQL delete query will not resolve Foreign Key dependencies (according to Hibernate docs). Since JBPM_LOG has FK's to itself for parent logs, I don't think that an HQL query will work. :( Please tell me I'm wrong :) View the original post :

[jboss-user] [JBoss jBPM] - Re: End Node - End All Tasks

2008-11-25 Thread mputz
Using an ActionHandler with taskMgmtInstance.endAll() in the process-end event should work. If you experience any issues, please create a unit test, let us know which version you are working with and show us the exception. View the original post :

[jboss-user] [JBoss Cache: Core Edition] - How to use data gravitation?

2008-11-25 Thread kenees
Hi Guys I'm a little confused by the user guide, it said that anonymous wrote : autoDataGravitation - Whether data gravitation occurs for every cache miss. By default this is set to false to prevent unnecessary network calls. Most use cases will know when it may need to gravitate data and will

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Multiple Ear Files on same jboss

2008-11-25 Thread Wolfgang Knauf
Please provide more details. Normally, a failed deployment results in exception stacktraces on the JBoss console, followed by the snippet you posted. Best regards Wolfgang View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192104#4192104 Reply to the post :

[jboss-user] [JBoss Portal] - JBoss Portal 2.7.0 - Error process faces request

2008-11-25 Thread natoine
Hi, i have try to install the current version of JBoss portal (2.7.0) but when trying to access http://localhost:18080/portal i have the following error : Cause: javax.portlet.PortletException: Error process faces request | Message: Error process faces request | StackTrace: | |

[jboss-user] [Remoting] - Re: Using ServerInvokerServlet for Jboss Messaging

2008-11-25 Thread garwind111
Thanks. It's a bit embarrassing, I must have this feature as fast as possible. I think I will get back to Jboss MQ. I keep these Jira request in mind, for a later retry. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192115#4192115 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: variable scope from a script

2008-11-25 Thread mputz
There is a test case that covers this scenario: http://fisheye.jboss.org/browse/JBPM/jbpm.3/jpdl/jar/src/test/java/org/jbpm/context/exe/VariableScopingTest.java?r=1.1 Looking at testScopeOverriding(), this works properly if the createVariable(String name, Object value, Token token) is used.

[jboss-user] [JBoss Portal] - Re: JBPORTAL-1978 : scriptaculous prototype js

2008-11-25 Thread cpage
I use prototype 1.6.0.2 and scriptaculous 1.8.1 with Portal 2.6.6 and DnD is ok for me in IE7, FF2 and FF3. I have made changes only in dyna.js. I have changed lot of things in Portal java code so i don't know if these changes in js will be ok for everyone. The 5 lines in dyna.js : replace

[jboss-user] [Remoting] - Re: How to set ping timeout of ConnectionValidator?

2008-11-25 Thread swany
Ron, Attempting to follow the remoting / messaging code that is quite new to me, I think I follow what you have said. However, attempting to backtrack through the call chain to see where the URI is passed from server to client I quickly get lost. I think I have discovered the appropriate

[jboss-user] [Microcontainer] - Re: BeanMetaData and management

2008-11-25 Thread alesj
alesj wrote : alesj wrote : bob.mcwhirter wrote : | | | @JMXObjectName | | | public String myFancyObjectNameGeneratorOnMyMBean() { | | | return cheese:name= + simpleName; | | | } | | | | | This makes sense and can be easily added. | | | I'll let you

[jboss-user] [Remoting] - Re: remoting-https-service configuration

2008-11-25 Thread Fitz
Thanks for your reactivity. We can't base our application on a functionality not supported by JBM. Jboss encourages usage of JBM instead of JBoss MQ for a long time ago, but a functionality (vital for us) proposed by MQ has just been scheduled 2 days ago for JBM! I am going to resort back to

[jboss-user] [JBoss jBPM] - Re: variable scope from a script

2008-11-25 Thread tbeernot
mputz wrote : /** | |* sets a variable. If a variable exists in the scope given by the token, that | |* variable is updated. Otherwise, the variable is created on the root token | |* (=process instance scope). | |*/ | | public void setVariable(String name,

[jboss-user] [Microcontainer] - JBoss Rails deployers, diagram and explanation

2008-11-25 Thread bob.mcwhirter
Howdy guys-- I've written up a blog post and a diagram hopefully describing how the Rails deployer set (7 deployers) works: http://oddthesis.org/posts/2008-11-diagram-of-deployers Thanks for all the help in the past weeks. I feel like I finally grokked some things with the realization that

[jboss-user] [JBoss jBPM] - org.hibernate.PersistentObjectException - after creating Tim

2008-11-25 Thread MikeSchulze
Hi, within my process-definition, I have two state-nodes. When the node-entry event occurs a timer is created. When the 1st timer is done it propagate to the 2nd node. After the propagation and the creation of the 2nd timer I get this exception. 16:50:14,000 ERROR [GraphElement] action threw

[jboss-user] [JBoss Portal] - Re: JBPORTAL-1978 : scriptaculous prototype js

2008-11-25 Thread [EMAIL PROTECTED]
Sounds great ! Thanks a bunch ! Adding this to the Jira in your name View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192183#4192183 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192183

[jboss-user] persistence.xml and datasource

2008-11-25 Thread Jari Fredriksson
Hello! Jboss likes to name jdbc-datasources like java://DefaultDS I would like to use name like jdbc/MyDatasource in my persistence.xml That is so the definition would be portable across application servers out there. I'm sure there must a simple way to declare and alias for persistence.xml

[jboss-user] [JBoss jBPM] - Re: Case handling(management) vs workflow

2008-11-25 Thread [EMAIL PROTECTED]
Hi Roland, I like to see that somebody is interested in principles as well. For all of you familiar with workflow but not with case handling read article is.tm.tue.nl/staff/wvdaalst/publications/p252.pdf It is far the best what I have found, worth reading till the end. It is written by

[jboss-user] [JBoss Messaging] - Expiry_Queue testing

2008-11-25 Thread Sandypriya
JBOSS 4.2.3 and JBM 1.4.0 SP3 I would like to test, whether the timeout messages go into EXPIRY_QUEUE or not? for this, I modified my send method to | sender.send( message, DeliveryMode.PERSISTENT , 4, 1000 ); | and made my consumer(mdb) off. Then, I restarted my application server, with

[jboss-user] [Beginners Corner] - Re: java.util.logging to Log4j mapping

2008-11-25 Thread jaikiran
I haven't given it a try, but how about packaging a logging.properties in your war file and configuring a file appender/handler (whatever the right term is) instead of the console handler? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192195#4192195 Reply

[jboss-user] [Security JAAS/JBoss] - Re: Big authentication problem: not being redirected to the

2008-11-25 Thread Marcos_APS
ragavgomatam wrote : PLease post the code of your login page Hello, ragavgomatam! Thanks for the reply. I've already solved it. I just added redirect to the navigation-rule in the faces-config.xml file, as you can see below: | // in faces-config.xml | navigation-rule |

[jboss-user] [JBoss jBPM] - Re: variable scope from a script

2008-11-25 Thread kukeltje
Martin, Tom, That is precisely the reason I was kind of amazed and thought there was some strange behaviour in the source. I was adapting the unit test locally to match this more expected behaviour. but changing it might create a problem for other users that 'use' the current behaviour. Tom,

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Configure JBoss to use only one processor

2008-11-25 Thread PeterJ
I know of only one JVM that has command line options to set processor affinity (to specify which processors to run on), but it is not generally available. Setting processor affinity is an operating-system specific operation, and you did not say what operating system you are using. On Windows,

[jboss-user] [JBoss jBPM] - Re: End Node - End All Tasks

2008-11-25 Thread kukeltje
Things did not get mixed up... there is a line missing from my post... probably wrong quoting again...My first line was: If you have multiple end-nodes in your processdefinition and there is more then one token still active when the current token arrives in the specific end-node, this

[jboss-user] [JBoss jBPM] - Re: Problems with GraphSession.deleteProcessInstance()

2008-11-25 Thread kukeltje
hmmm works in 3.2.3 here afaics... so might be 3.1 related. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192208#4192208 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192208

[jboss-user] [JBoss AOP] - Re: Transaction Demarcation and JBoss AOP 2.0

2008-11-25 Thread mwringe
Stack trace of the error (note test.Test is the mbean that has the aop transaction applied to it) Caused by: java.lang.RuntimeException: Unable to locate the transaction manager | at org.jboss.tm.TransactionManagerLocator.locate(TransactionManagerLocator.java:134) | at

[jboss-user] [JBoss jBPM] - Re: Problems with GraphSession.deleteProcessInstance()

2008-11-25 Thread kukeltje
Sorry, pressed submit to soon... If you make a small unittest, I'll check in 3.2.3 to see if the behaviour is different from your situation View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192210#4192210 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: How to configure Jbpm in non-distributed tomcat cluster?

2008-11-25 Thread kukeltje
1: by using it in a server that provides functionality for this. e.g. if JBoss AS supports hibernate caching across a cluster jBPM will use that if you configure it to use e.g. the datasource of your appserver. You should also use ejb timers then instead of the jBPM timer solution (although

[jboss-user] [JBoss Cache: Core Edition] - Re: Strange invalidation

2008-11-25 Thread dancantong
Thank you very much. I think that is what I need. I'm testing it but after executing: cacheInstance.putForExternalRead(nodeCatchedFqn, key, data); when I try to retrieve the data with: data = cacheInstance.get(nodeCatchedFqn,key); I get no data. The node has been created but it has no data

[jboss-user] [JBoss jBPM] - Re: Unable to get the taskform with variables

2008-11-25 Thread kukeltje
it's forms.xml... you were so close ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192214#4192214 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192214 ___ jboss-user mailing

[jboss-user] [JBoss jBPM] - Re: How to get a Bpel Process Instance through API?

2008-11-25 Thread [EMAIL PROTECTED]
BPEL process instances are definitely stored in the JBPM_PROCESSINSTANCE table. There is no reason why you wouldn't be able to retrieve a process instance through the GraphSession methods, other than some database connectivity problem. What is the full message (and stack trace, if any) of the

[jboss-user] [JBoss jBPM] - Re: variable scope from a script

2008-11-25 Thread tbeernot
kukeltje wrote : Could you create a jira issue? I'll change the priority then ;-) https://jira.jboss.org/jira/browse/JBPM-1889 I think I added a nice suggestion how this can cleanly be resolved: add a setVariable method to token, which behaves as the createVariable on ContextInstance. View

[jboss-user] [JBoss Portal] - Re: JBPORTAL-1978 : scriptaculous prototype js

2008-11-25 Thread wesleyhales
This is in 2.7 trunk. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192228#4192228 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192228 ___ jboss-user mailing list

[jboss-user] [JBossWS] - Converting EJB2.1 to Webservice

2008-11-25 Thread altes-kind
Hi, I'm pretty new to web services and currently working on an app which has to be migrated from Bea Weblogic 8.1 to JBoss AS 4.2.1. Currently the app is using the Bea Weblogic specific Ant task servicegen to create the webservice producer out of an EJB2.1 project (see

[jboss-user] [JBoss Cache: Core Edition] - Re: Strange invalidation

2008-11-25 Thread Sancheski
As I see in your cache descriptor, you dont use any Cache loader. You can use, for example, a JDBCCacheLoader, that will keep all data stored in a DB. Then, if your application required data that has been invalidated from any node, it can be obtain through the cache loader. I hope it may help

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-11-25 Thread bstansbe...@jboss.com
Mohit, It turns out your employer has a support contract with Red Hat. Please use the support case opened on our Customer Service Portal to resolve the issues you are seeing. The CSP is a much better tool for handling complex operational issues like what we're discussing on this thread.

[jboss-user] [Beginners Corner] - Re: Problem with minimal server

2008-11-25 Thread swedeNewbie
Hi again! My bean looks like: | package tmp; | import javax.ejb.Stateless; | @Stateless | public class CalculatorBean implements CalulatorRemote { |public int add(int a, int b) { | return a + b; |} | } | And the client looks like: | All needed stuff |

[jboss-user] [JBoss jBPM] - ProcessState getSubProcessDefinition is null

2008-11-25 Thread don_t
Hi, I'm trying to access the sub-process child node of a process-state. My test program is listed below. I call getSubProcessDefinition and always get null. Any ideas what I'm doing wrong? | import java.util.HashMap; | import java.util.Map; | | import junit.framework.TestCase; |

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-11-25 Thread mohitanchlia
So I upgraded the jgroup.jar to 2.6 and that resolved the issue of slowness. I do have a question, while looking around I found VIEW_SYNC in jgroups that help resolve scenario where the node is taken out of service by FD. Do you think it's worth having this parameter in UDP configuration of

[jboss-user] [Installation, Configuration DEPLOYMENT] - Shared lib failure: org.apache.jasper.JasperException

2008-11-25 Thread rodfreire
Hello, When using the displaytag feature from an in-house built .war, the server yields exception: 16:24:46,181 ERROR [HibernateSessionFilter] Hibernate Session Filter runtime error. The absolute uri: http://displaytag.sf.net cannot be rolved in either web.xml or the jar files deployed with

[jboss-user] [JBoss jBPM] - Re: Case handling(management) vs workflow

2008-11-25 Thread [EMAIL PROTECTED]
When you are looking for open source solution in java http://osbl.wilken.de/wiki/index.php/Con:cern View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192251#4192251 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192251

[jboss-user] [Beginners Corner] - Re: Problem with minimal server

2008-11-25 Thread PeterJ
The 'minimal' configuration does not support EJB deployment. The CalculatorBean class gets deployed (as a POJO), but the @Stateless annotation is ignored (requires an EJB deployer, which is not in 'minimal'). That in turn prevents the JNDI name from being registered. You should be using the

[jboss-user] [JBoss Messaging] - Re: Scheduled Messages not being cleared properly on a remov

2008-11-25 Thread mtpettyp
Done and done. https://jira.jboss.org/jira/browse/JBMESSAGING-1460 Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192253#4192253 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192253

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: RepositorySelector and hibernate log

2008-11-25 Thread boby
Thanks for your advice. I chose the jboss-log4j.xml to configure my application's log. I'll see later to use some log4j for each application in .ear with JBoss5. I dont prefer avoiding your last solution which is the classloader scoping, as said in this Wiki :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Shared lib failure: org.apache.jasper.JasperException

2008-11-25 Thread PeterJ
Try this. Place the displaytag-1.1.jar at server/xxx/deploy/jboss-web.deployer/jsf-libs. That is where the JSF JAR files (with the inlcuded tag libraries) are located; perhaps your tag libraries will be picked up from there also. anonymous wrote : It does work with our official JBoss [EAP]

[jboss-user] [Beginners Corner] - Re: Setting up JBOSS 5 Server on my local computer

2008-11-25 Thread maz00
Thanks guys View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192256#4192256 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192256 ___ jboss-user mailing list

[jboss-user] [Beginners Corner] - Exception handling and error in general

2008-11-25 Thread maz00
Hi all, I'm pretty new to jsp. I have a class set up that connects to the database and returns the result if successul. I call it from my .jsp which works fine. My question is lets say I force it to cause an exception by chaging the word microsoft in the following statement

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Shared lib failure: org.apache.jasper.JasperException

2008-11-25 Thread rodfreire
Peter, Worked like a charm!! Thanks a lot!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192260#4192260 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192260 ___ jboss-user

[jboss-user] [JBoss Cache: Core Edition] - Re: JDBMCacheLoader location property

2008-11-25 Thread genman
The earlier cache loader probably should be fixed, filed as JBCACHE-1447. For JDBM is the size of the datafile never decreases. This may be an issue to some people but in practice it's probably okay as empty space is eventually reused. View the original post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problems with JPA/Hibernate persist

2008-11-25 Thread jharby1
I am having problems with EntityManager.persist - I am not getting any errors but on this insert I'm trying below nothing is going in the database (MS SQLServer). This is running in JBoss from an SLSB so I am using the CMT. In some prior methods I am successfully populating some objects from

[jboss-user] [Beginners Corner] - Re: Exception handling and error in general

2008-11-25 Thread PeterJ
I recommend that the method making the Class.forName() call not catch the exception, or perhaps repackage the caught exception into another exception and throw that. Then let the caller catch the exception. In your case, the code in your JSP would have to catch the exception and generate html

[jboss-user] [Beginners Corner] - Re: Exception handling and error in general

2008-11-25 Thread PeterJ
Oh, one other though. You can have the JSP ignore the exception, and then in your web.xml place an error handler that will display an error page: error-page | exception-typejava.lang.Exception/exception-type | location/error.html/location | /error-page View the original post :

[jboss-user] [JBoss Cache: Core Edition] - Re: JDBMCacheLoader location property

2008-11-25 Thread cavani
After some tests, I realize the size doesn't shrink. I am using cache to store results from batch processing. The data are regenerated everyday. With the remove leak, the data file grows very quick. Anyway, I give a second try with H2 embedded and JDBCCacheLoader. After removing transaction

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-11-25 Thread bstansbe...@jboss.com
I've asked the JGroups developers to respond to this question. VIEW_SYNC is not one of the standard protocols we include in the JBoss AS channel configurations, so I'm not as familiar with all of its pros and cons as I am with most protocols, and I don't want to give you wrong information.

[jboss-user] [JBoss Cache: Core Edition] - Re: JDBM Performance with Jboss Cache

2008-11-25 Thread cavani
cavani wrote : Last week I tried using JBC3 and H2 embedded database with JDBCCacheLoader and the storage get 13GB during the process! I don't know how (and spent more then 1h before I canceled the test). My own second opinion in this matter:

[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-11-25 Thread mohitanchlia
Thanks a lot. Jboss support group tells us that we shouldn't upgrade jgroups just like that. I think they are working on giving us the patch. Please let me know about VIEW_SYNC because what scares me is that once FD drops the member it never detects that member again and VIEW_SYNC seem to be

[jboss-user] [EJB 3.0] - EJB3 Session Bean as 2.1 Service

2008-11-25 Thread cburnley
I'm deploying a remote ejb3 service (4.2.3) that needs to be called by a legacy ejb 2.1 (4.0.3) client. I've declared the bean with @Remote and @RemoteHome, and added container-configuration in a jboss.xml but it seems as though the service is still exposed as a ejb3 service because I get

[jboss-user] [JBoss Portal] - Portlet Instance ID

2008-11-25 Thread Bulsara
Hi, how can I get the portlet instance id in a doView method??? Please help me. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192276#4192276 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4192276

[jboss-user] [Performance Tuning] - Re: JBoss Performance Tuning

2008-11-25 Thread tdanecito
Currently at 3-4msec as measured at the Rich Client decoder (JAX-WS) after upgrading to AMD64 X2 5200+. Using JBoss 4.2.2GA and JDK 1.6.0_07. Apache is in front of JBoss and access logs indicate 0usec for about 90% of the requests. Regards, Tony Anecito Founder, MyUniPortal

[jboss-user] [JBoss jBPM] - Re: Case handling(management) vs workflow

2008-11-25 Thread kukeltje
hahaha.. we are not looking for an opensource solution in Java hahaha since I think you can achieve most of this with jBPM as well ad-hoc tasks etc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192282#4192282 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: ProcessState getSubProcessDefinition is null

2008-11-25 Thread kukeltje
that might be caused by the binding='late' I think. Try what happens if you start one process or what happens if you remove the binding is late. Not that that is the solution, just curious. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192284#4192284 Reply

[jboss-user] [EJB 3.0] - Re: EJB3 Session Bean as 2.1 Service

2008-11-25 Thread ALRubinger
cburnley wrote : which would imply that it is not really a 2.1 view of the service because it uses ejb3 proxy classes No, it's a valid EJB 2.1 View, but the ICE is because the 4.2.3 and 4.0.3 Proxy classes are not compatible. Solution is to ensure that your client has the correct classes on

[jboss-user] [JBoss jBPM] - Does AssignmentHandler work within the start node??

2008-11-25 Thread ardavan
Hi, I can't assign the actorid that I want for a simple start node: As a test case I am using a simple processdefinition: | ?xml version=1.0 encoding=UTF-8? | process-definition xmlns=urn:jbpm.org:jpdl-3.2 name=test | | start-state name=Submission | task

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problems with JPA/Hibernate persist

2008-11-25 Thread jharby1
P.S. I'm using Intellij's ORM generator to create the entity - here is the generated code for that: | package com.csatp.model; | | import javax.persistence.*; | import java.sql.Timestamp; | | @Entity | @Table(catalog = WeekOld, schema = dbo, name = RECORDLOCK) | public class

[jboss-user] [EJB 3.0] - Re: EJB3 Session Bean as 2.1 Service

2008-11-25 Thread cburnley
Addeding the serial compatable libraries to the classpath is not an option since the client is jboss 4.0.3. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192290#4192290 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: ProcessState getSubProcessDefinition is null

2008-11-25 Thread don_t
I tried without late binding and got same result. However after looking at the unit test it seems the subprocess need to be set explicitly and the superprocess then persisted in the database. | // create the subprocess | ProcessDefinition subProcessDefinition = new

[jboss-user] [Beginners Corner] - JBoss not bound as a global element

2008-11-25 Thread jhsingle
I am porting a working system from JB 4.2.0 to 5.0.0.CR2 and am getting the following error when starting JBoss: vfszip:/home/jhsingl/pkg/jboss-5.0.0.CR2/server/default/deploy/usermgmt.ear - org.jboss.xb.binding.JBossXBRuntimeException: Element {http://java.sun.com/xml/ns/javaee}jboss is not

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problems with JPA/Hibernate persist

2008-11-25 Thread jharby1
P.S.^2 - I found a way to get this to work by specifying the transaction attribute on the bean method to be NEVER and using the EntityManager Transactions. But is there a better way to do this? It seems like a hack as is. View the original post :

[jboss-user] [JBoss Portal] - No such user admin

2008-11-25 Thread nvipas
Just installed JBoss Portal on a box. It uses Oracle10g on another box. server.log shows issues related to 'No such user admin'. Has anyone encountered this before? If yes, may I know how to overcome this issue? Thanks View the original post :

[jboss-user] [JBoss Portal] - Re: No such user admin

2008-11-25 Thread PeterJ
I assume that you configured a *-ds.xml file to connect to Oracle. What username and password did you provide in that file? Is it a valid Oracle username and password? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192301#4192301 Reply to the post :

  1   2   >