[jboss-user] [JBossMQ] - Re: Deadlock race-condition committing JBossMQ txn

2008-11-04 Thread scotto
OK I have found a solution! The deadlocking seems to be caused by this bug: https://jira.jboss.org/jira/browse/JBAS-5801 As JBoss AS 4.2.4.GA is not available yet, I manually backported the fixes from the 4.2.4.GA branch into my JBoss 4.2.3.GA sources (building and updating the jms-ra.rar and

[jboss-user] [EJB/JBoss] - java.lang.ClassCastException while deploying ejb jar

2008-11-04 Thread rana24
Hi, I have created a sample EJB2.0 application for jboss. it seems it conv 2008-11-04 13:25:49,228 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public java.lang.String com.test.HelloBean.sayHello() -

[jboss-user] [EJB 3.0] - Using enviroment variables in persistence.xml

2008-11-04 Thread dyahav
Hi all, I would like to use an environment variable in my persistence.xml for determining the database dialect and username dynamically. Currently I'm using a simple string but when other wants to run it, he should change it. I want to avoid it by taking it dynamically using an environmet

[jboss-user] [JBoss jBPM] - Re: Need URL to get source code of jPdl web console

2008-11-04 Thread mputz
anonymous wrote : Are those the correct locations for all the source for the jbpm-console web-app? Almost, but the URL you have mentioned points to a specific patch branch. I would rather suggest to use the sources from the jbpm-3.2.3.GA tag: |

[jboss-user] [EJB 3.0] - Re: Using enviroment variables in persistence.xml

2008-11-04 Thread jaikiran
Its possible. Here's an example: | persistence | persistence-unit name=EJB3Persistence | | jta-data-source${myds}/jta-data-source | | /persistence-unit | /persistence Then i pass the myds value as a JVM parameter while starting JBoss: run.bat

[jboss-user] [JBoss Messaging] - Re: setting header values

2008-11-04 Thread timfox
I would suggest reading any simple JMS tutorial. The one at java.sun.com is quite good. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186589#4186589 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186589

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Intermittent 503 error

2008-11-04 Thread mridulmishra
Hi, Not sure if this is the right forum but let me try. We are getting quite frequently 503 error in Apache log. Some time's we get the error as below in mod_jk.log at web server's ::jk_lb_worker.c (1229): All tomcat instances failed, no more workers left for recovery but some other

[jboss-user] [EJB 3.0] - Re: Using enviroment variables in persistence.xml

2008-11-04 Thread jaikiran
Passing the -D java parameter does exactly this :-) When you deploy this persistence.xml, each user on their own machines does not have to change the persistence.xml. Instead all he has to do is set the -D parameter either on the command prompt or in the startup script (run.bat or run.sh).

[jboss-user] [JBoss jBPM] - jBPM Task Form

2008-11-04 Thread ziccardi
Hi all. Sorry if my question can look stupid, but I'm a jBPM newbie. I tried to search through the internet and through the forum, but maybe I lack some information vital to perform a good query. Here is the problem: I have a jBPM flow defined through jPDL. I have created the xhtml files

[jboss-user] [JBoss jBPM] - Re: Fork that have conditions.. how??

2008-11-04 Thread aben
Hi, thanks for the reply I need just the behaviour. my requirement is a fork with several transitions , on some of them / all of them will be conditions . the jbpm will take only the transitions that their condition evaluate to true for ex : condition expression=#{true=true}

[jboss-user] [JBoss Cache: Core Edition] - Connection Closed error during

2008-11-04 Thread m_antonyrajesh
For our application we need to get a unique ID from the request and store it in the DB and replicate in JBoss cache.So that next time when the same ID comes in the request we can load the node from DB and check for the existence of the ID.But sometime it is not working and throwing the below

[jboss-user] [EJB 3.0] - Re: How does JBoss handle Local and Remote interfaces

2008-11-04 Thread rafaelcba
Hi All! Is possible force Call-By-Value on local invocations made cross EARs with isolated class loaders deployed on same JBoss? I have that scenario: Two EARs deployed on same JBoss AS: App1.ear - META-INF (descriptors) - lib/lib.jar (ClassA.class) - EJB.jar (MyBean1) App2.ear - META-INF

[jboss-user] [JBoss jBPM] - Re: Fork that have conditions.. how??

2008-11-04 Thread salaboy21
I don't think so, but let me review the code.. for what I have in my head the Fork code look for the leaving transitions to create sub tokens.. so.. i doesn't evaluate the conditions inside them... I hope it helps.. View the original post :

[jboss-user] [JBoss jBPM] - Re: How to invoke rules(drools) from a jBPM

2008-11-04 Thread rinki
Below are the files: 1. File for invoking jbpm process package com.sample.test; import org.jbpm.graph.def.ProcessDefinition; import org.jbpm.graph.exe.ProcessInstance; public class TestDroolsInvocation { /** * @param args */ public static void main(String[]

[jboss-user] [JBoss Messaging] - DefaultMaxDeliveryAttempts quirk?

2008-11-04 Thread boniek
When I set DefaultMaxDeliveryAttempts to -1 my messages get deleted from database when i close session and connection - when the value is positive number and I close session and connection before messages get delivered numer of times, they stay in the database. Why messages dont stay in the

[jboss-user] [JBoss Getting Started Documentation] - Re: PROBLEM STARTING JBOSS 4.0.2

2008-11-04 Thread Wolfgang Knauf
Peter, in Eclipse 3.4/WebTools 3.0, this setting moved from the runtime settings to the server settings. So, in the servers view, right click = Open, you will find the timeout settings in the upper right corner of the settings editor:

[jboss-user] [JBoss jBPM] - Re: jBPM Task Form

2008-11-04 Thread salaboy21
This xhtmls generated inside the Eclipse Designer are for use it in the jbpm-console very quickly, if you want to use it in your web application, you must use the same web frameworks to include the xhtml and probably do it in the same way. May be the best approach is not use the PAR package

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 3.0.0.Beta1 Released

2008-11-04 Thread [EMAIL PROTECTED]
remember to restart eclipse since it caches the update site content. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186701#4186701 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186701

[jboss-user] [JBoss jBPM] - Re: jBPM Task Form

2008-11-04 Thread ziccardi
That's a pity... I wanted to give the team who developes flows the ability to define the flow and the input forms, so that they could update the whole flow (both the XML and the forms) in one time, without requiring to deploy again the web application... Than, in my web application I would

[jboss-user] [JBoss jBPM] - Re: jBPM Task Form

2008-11-04 Thread salaboy21
I think this is the best approach.. but you can also look in how the jbpm-console include your deployed PAR. But I personally think that is a wasting of time. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186703#4186703 Reply to the post :

[jboss-user] [Security JAAS/JBoss] - Re: @SecurityDomain, Principal resolution

2008-11-04 Thread cro110011
thx - works perfectly :-) regards, christian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186710#4186710 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186710 ___ jboss-user

[jboss-user] [JBoss jBPM] - seam global event - need direction or suggestions

2008-11-04 Thread coralfe
Hi, I asked this on the seam forum but got no reply. Maybe someone here can help. http://seamframework.org/Community/GlobalEvent I am not sure how to design this and its seems slightly outside of the standard examples so I'm not finding clarity in the documentation. The above thread

[jboss-user] [JBoss Portal] - Re: Problems with Identity portlet and user portlet

2008-11-04 Thread alessio.papi
I got it, there were some properties into the table JBP_USER_PROP without value (the column jbp_value was null). When I removed these properties the identity portlet started to work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186733#4186733 Reply to the

[jboss-user] [JBoss Portal] - Re: Unable to add portlets with 2.7.0

2008-11-04 Thread [EMAIL PROTECTED]
This looks like a JVM bug, could you try to update to 1.5.0_15 or 1.5.0_16 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186744#4186744 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186744

[jboss-user] [JBoss jBPM] - Fork that have conditions.. how??

2008-11-04 Thread aben
Hi All, I need a way to create a FORK that have conditions on the transitions, so it will take only the transitions only if the conditions on them evaluate to true , how can it be done ? the documentation talks only on conditions inside decision.. Thanks For your help View the original

[jboss-user] [EJB 3.0] - Re: Using enviroment variables in persistence.xml

2008-11-04 Thread PeterJ
If you really insist on using an environment variable, then try this (you didn't say which OS you are using, so I'll use Linux syntax). Set the env var: export MYDS=java:MyEJB3DS then in the run.conf, add: JAVA_OPTS=$JAVA_OPTS -Dmyds=$MYDS and change the persistence.xml file as Jaikiran

[jboss-user] [Installation, Configuration DEPLOYMENT] - Not able to access JBoss from other machines

2008-11-04 Thread varunrally
Hello, I am using JBoss 4.2.3 and it is running fine as long as I use it on the local machine. When I try to access it from some other machine on port 8080, it does not work. There is definitely no problem with firewall, or anything related to network as I am successfully able to connect from

[jboss-user] [JBoss Cache: Core Edition] - Re: Reloading an invalidated entry

2008-11-04 Thread [EMAIL PROTECTED]
Good point. Thanks for letting me know. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186669#4186669 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186669 ___ jboss-user mailing

[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-04 Thread karltraunmueller
Carlo, thanks for responding. Yes, 2.0.9, maven output is: D:\sandbox\projects\green\EmbeddedEjbTestmvn -Dverbose=true dependency:tree | [INFO] Scanning for projects... | [INFO] Searching repository for plugin with prefix: 'dependency'. | [INFO]

[jboss-user] [JBoss Cache: Core Edition] - JBoss not cleaning up after Session Invalidate

2008-11-04 Thread itisprasad
Hello all, I see that JBoss leaves behind open connections in the connection pool even after Session is invalidated. I also waited till the idle-timeout-minutes duration specified in Oracle-ds.xml, but still found the same behavior. Any help would be much appreciated. TIA, Prasad View the

[jboss-user] [Beginners Corner] - Re: InvalidClassException when connecting standalone client

2008-11-04 Thread exo26
Hello, Did you find a solution for this issue? I can't find the library with the QName class that has serialVersionUID = -6756054858541526837. Kind regards, Steven View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186762#4186762 Reply to the post :

[jboss-user] [JBoss Cache: Core Edition] - Re: Reloading an invalidated entry

2008-11-04 Thread nathanmesser
In answer to my own question, in case anyone else has similiar difficulties, it seems I was using node incorrectly. The API documentation states: A Node is a named logical grouping of data in the JBoss Cache. A node should be used to contain data for a single data record, for example

[jboss-user] [EJB 3.0] - Re: ClassCastException after JNDI lookup - SOLVED

2008-11-04 Thread tperrigo
Ok, I followed the advice from the last couple of posters, and adding ALL of the jars from the jbossall-client.jar's Manifest to my classpath FINALLY made my test work! I had jbossall-client.jar in my classpath originally, along with (what I had thought) were all the jars I would need

[jboss-user] [JBoss Messaging] - Re: Comparison to ActiveMQ

2008-11-04 Thread mkelley
There are a few ActiveMQ features my company is using that I'm wondering about support for in JBM. - Virtual destinations. See http://activemq.apache.org/virtual-destinations.html. Messages sent to single destination are copied, filtered, and routed to multiple destinations. - Composite

[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-04 Thread wolfc
So far can't find anything different than my own setup except junit, which I have as:dependency | groupIdjunit/groupId | artifactIdjunit/artifactId | version[4,)/version | scopetest/scope | /dependency What JDK are you using? View the original post :

[jboss-user] [Beginners Corner] - Re: TravelAgentBean not bound?

2008-11-04 Thread denisputnam
Hi Jaikiran, Thank you for getting back to me. I am still having trouble connecting the dots. Below it the output of the JMX console. Given this information, what pieces to I need to apply to what files or code to get my bean to be bound? I see the persistence.units:jar entry and that is

[jboss-user] [JBoss jBPM] - Re: deploy a procesee to jboss server suing java code

2008-11-04 Thread salaboy21
My first impresion is that your code have a wrong path to the upload server.. I do not know the SOA platform but i think the correct path is | /jbpm-console/upload | so try to change this line in your code: | deployTask.setServerDeployer(/jbpm-console/app/upload); | to |

[jboss-user] [JBoss Portal] - Re: JBOSS-Alfresco Integration

2008-11-04 Thread rammyramkumar
Can you please tell me the steps for integrating the alfresco with jboss portal server.? This will be of great help. Is there any documents so that you share with me. thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186779#4186779 Reply to

[jboss-user] [Microcontainer] - Towards remoting-jboss-beans.xml

2008-11-04 Thread [EMAIL PROTECTED]
I'm working on moving the Remoting related stuff in AS from deploy/remoting-service.xml to deploy/remoting-jboss-beans.xml, and I have a few questions to make sure I'm not doing something anti-idiomatic. A skeletal version of remoting-jboss-beans.xml is appended below. 1. Are there any

[jboss-user] [JBoss Cache: Core Edition] - Buddy migration and removal

2008-11-04 Thread genman
I was trying to get timed removal to work with buddy replication: JBCACHE-1435 So instead of using an eviction policy, I wrote my own timer to remove nodes from the cache. It works fine except when the data gets migrated from one cache to the other. In which case, the data copied to cache2 has

[jboss-user] [EJB 3.0] - Re: Using enviroment variables in persistence.xml

2008-11-04 Thread dyahav
Thanks, but I would prefer using an environment variable. Do you know how to do that? Thanks again dyahav View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186592#4186592 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186592

[jboss-user] [JBoss Cache: Core Edition] - Re: Buddy migration and removal

2008-11-04 Thread genman
It looks like the eviction issue was fixed, but what's the solution to this problem if you use timed removal? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186787#4186787 Reply to the post :

[jboss-user] [EJB/JBoss] - CallByValue attribute

2008-11-04 Thread rafaelcba
When make sense change the CallByValue attribute of server/default/deploy/ear-deployer.xml and Naming service in server/default/conf/jboss-service.xml? [1] has a description but i try apply this behavior on my JBoss and don't work fine. My test scenario is described at [2]. [1]

[jboss-user] [JBoss jBPM] - Re: jBPM Task Form

2008-11-04 Thread ziccardi
Thank you very much for your reply. Tell us about your application.. you don't use the web console? give us more details No. I don't use the web console. I want to integrate the pages inside my own web application (much likely the web console does). Which would be the best way? I' need to

[jboss-user] [JBoss Messaging] - Re: Comparison to ActiveMQ

2008-11-04 Thread ataylor
anonymous wrote : - Virtual destinations. See http://activemq.apache.org/virtual-destinations.html. Messages sent to single destination are copied, filtered, and routed to multiple destinations. we don't virtual destinations but we do support wildcard routing in JBM 2.0. i.e. if you send a

[jboss-user] [Beginners Corner] - Re: Reloading the application context

2008-11-04 Thread jaikiran
That wont cause your existing application to be redeployed. But yes, if you put something in the deploy folder, the server will try to deploy these new files (which might even turn out to be invalid deployments). Any specific reason why you are putting the files in the deploy folder? And what

[jboss-user] [JBoss Messaging] - Re: Comparison to ActiveMQ

2008-11-04 Thread timfox
ataylor wrote : | anonymous wrote : - Composite destinations. See http://activemq.apache.org/composite-destinations.html. A comma-separated list of destination names are treated like a single destination. | | no we don't support this at present. | . Can't you get the same effect by

[jboss-user] [JBoss jBPM] - Re: How to invoke rules(drools) from a jBPM

2008-11-04 Thread salaboy21
it must be in the class path.. in your case you need to be shure that the drl file is in your application classpath.. In my case I include it in my par archive because I deploy the process to a JBoss Server. View the original post :

[jboss-user] [JBoss jBPM] - deploy a procesee to jboss server suing java code

2008-11-04 Thread Grid.Qian
Hi all, just have a question: I am working for importing jboss soa-p esb quick-start samples to eclipse. There is a sample named:bpm_orchestration1. It need call a jbpm process from esb service. Now it can run by ant. From the build.xml, I got this task to deploy a process to a server: target

[jboss-user] [EJB 3.0] - Help need to solve the jms not bound error

2008-11-04 Thread houston_dragon
Hi, I am learning JBoss/EJB3 using this tutorial: http://www.netbeans.org/kb/60/javaee/ejb30.html Getting Started with Java EE Applications I am using Netbeans 6.1. I just use the JBoss 5.0.0CR2 as the application server. I follow the instructions and Everything is fine until I click the Post

[jboss-user] [JBoss Portal] - Modal Panel in JBoss portal or hide/show portlets

2008-11-04 Thread ratheesh.nair
Hi, I was wondering is there any way where I can show a model popup window in Jboss portlet (either using rich:modelpanel or something else). I was trying hard to show a modal panel/window with results from database inside a datatable control available in rich faces. No luck for me... Also if

[jboss-user] [JBoss Cache: Core Edition] - Do you prefer a tree or a plain map API for your projects?

2008-11-04 Thread [EMAIL PROTECTED]
We are considering offering an optimized Map style view, but we were just wondering what the usage of it would be. In other words would you prefer a normal java HashMap style interface to the Cache, or the existing Tree that is there today? In either case if you could add a comment explaining

[jboss-user] [JBoss Portal] - Re: Modal Panel in JBoss portal or hide/show portlets

2008-11-04 Thread ratheesh.nair
oops, I forgot to mention the tech stack I am working with RichFaces 3.2.2 GA, Jboss Portal 2.7.0 GA, JSF-Facelets 1.1.14, Portlet Bridge 1.0.0.B4 thanks Ratheesh.R.Nair View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186810#4186810 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Comparison to ActiveMQ

2008-11-04 Thread ataylor
anonymous wrote : Can't you get the same effect by create multiple queues bound on the same address? Tim's correct, in JBM 2 we have the notion of addresses. Every queue is bound to an address so if you bind queue A,B and C to address queueABC, they all recieve any messages routed to that

[jboss-user] [JBoss jBPM] - call/ start bpel process from web application

2008-11-04 Thread sw_bpel
hello, i have created my own bpel process, deployed it use an ant script and tested it using soap ui. it seems that so far everything works fine. now i have created an web application in eclipse (dynamic web project) and i want to call/ invoke/ start the bpel process from an servlet inside the

[jboss-user] [JBoss jBPM] - Re: Fork that have conditions.. how??

2008-11-04 Thread salaboy21
Ok, I wil try to write in my blog how to do that.. I think I will start with something like multichoicefork http://www.jboss.org/community/docs/DOC-11442 You can try to do an approach too and then we can compare it. View the original post :

[jboss-user] [Beginners Corner] - Re: Reloading the application context

2008-11-04 Thread nitha
Thanks . Through our application, we are uploading files and is saved in the deploy folder. Is this causing the application to reload. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186606#4186606 Reply to the post :

[jboss-user] [Security JAAS/JBoss] - Re: Silent Authentication with IE / NegotiateLoginModule

2008-11-04 Thread Nagendra_singh_krishnawat
I am implementing the same, I have some doubts while configuring the service account. As you have already implemented the silent authentication before you could answer my doubts, It would be great if I can contact you through email. Thanks Nagendra View the original post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Not able to access JBoss from other machines

2008-11-04 Thread jaikiran
http://www.jboss.org/community/docs/DOC-10179 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186619#4186619 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186619 ___ jboss-user

[jboss-user] [EJB 3.0] - Re: Using enviroment variables in persistence.xml

2008-11-04 Thread jaikiran
You mean Operating System level environment variable? If yes, any specific reason why you want to do that instead of the JVM parameter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186598#4186598 Reply to the post :

[jboss-user] [Beginners Corner] - Could not obtain connection to any of these urls: localhost:

2008-11-04 Thread JavaStud
When trying to run the helloworld quickstart, 'ant deploy' builds successfully but when running 'ant runtest', I get the following error: runtest: [echo] Runs Test JMS Sender [java] Exception in thread main javax.naming.CommunicationException: Coul d not obtain connection to any of

[jboss-user] [JBoss Portal] - How do I display/modify the Porlet Modes in the Window Contr

2008-11-04 Thread jbportaldeveloper28
In the manual, section 1.1.3 Portal Windows, how do I configure the window controls of a portlet? http://docs.jboss.com/jbportal/v2.7.0.CR1/userGuide/html_single/#d0e565 I would like to be able to configure the display of the Portlet Modes and take advantage of the help ? icon. Currently,

[jboss-user] [JBoss Portal] - Re: Portlet Caches Expiration Doesn't appear to work...

2008-11-04 Thread analyzediz
Any ideas, anyone??? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186820#4186820 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186820 ___ jboss-user mailing list

[jboss-user] [JBoss Portal] - Re: Portlet Caches Expiration Doesn't appear to work...

2008-11-04 Thread [EMAIL PROTECTED]
Would you be able to provide a war for us to test? You can send that to me in email: pjha AT redhat DOT com. Also which jboss portal version are you using? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186824#4186824 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: How to invoke rules(drools) from a jBPM

2008-11-04 Thread rinki
what is the location of your .drl. The url is blocked for me :-( Regards, Ruchika View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186686#4186686 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186686

[jboss-user] [JBoss jBPM] - Re: jBPM Task Form

2008-11-04 Thread ziccardi
No-one has an answer? Is it an hard task? Or: my question is not clear? Do you need any other information? Regards, Massimiliano View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186692#4186692 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Fork that have conditions.. how??

2008-11-04 Thread salaboy21
If you need to that i think you can extend the Node class to make your custom Fork, because this involves the number of child tokens that you need to create. So, my question is, do you need a tag to do that? or just the behevior..?? Let me know what approach need your requierments and we can do

[jboss-user] [Security JAAS/JBoss] - Re: Map LDAP Roles to Application Roles in XML

2008-11-04 Thread jej2003
Is there no one with a similar use case? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186829#4186829 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186829 ___ jboss-user mailing

[jboss-user] [JBoss jBPM] - Re: Fork that have conditions.. how??

2008-11-04 Thread aben
without writing new tags, what is the default behaviour of FORK , is it ignoring the conditions on its transitions ? can the regular FORK tag can be somehow used in order to process only the transitions that its condition is true ? , | FORK name=fork | transition to=x | condition

[jboss-user] [JBoss jBPM] - Re: Fork that have conditions.. how??

2008-11-04 Thread salaboy21
I was looking into the code and I find this that can help you: | // by default, the fork spawns a token for each leaving transition | if (script==null) { | transitionNames = getLeavingTransitionsMap().keySet(); | | } else { // a script is specified | // if a

[jboss-user] [JBoss jBPM] - Re: HOw to create user so that no one can see others tasks..

2008-11-04 Thread woo37830
I used jsf tags and gravel tags to accomplish this for my case. j4j:listTasks includeEnded=true target=#{tasks} / gd:filter source=#{tasks} target=#{tasks} entryVar=entry test=#{request.remoteUser == entry.actorId} / this provides a list of tasks that are queued to the current

[jboss-user] [Beginners Corner] - Re: Reloading the application context

2008-11-04 Thread jaikiran
nitha wrote : We are uploading ppts, pdfs , images and video files. we have created separate folders for each under the 'deploy' folder. Instead of putting them in deploy folder, a better way to do this is explained here http://www.jboss.com/index.html?module=bbop=viewtopicp=4042437 View the

[jboss-user] [JBoss jBPM] - Re: deploy a procesee to jboss server suing java code

2008-11-04 Thread ziccardi
If you need to deploy a process by code, you can use something like this: byte[] parBytes = readFully(yourfile.par); JbpmContext ctx = JbpmConfiguration.getInstance().createJbpmContext(); new DeployProcessCommand(parBytes).execute(ctx); ctx.close(); If you want to deploy a simple xml process

[jboss-user] HTML form's POST method behaving like GET method

2008-11-04 Thread Balamurali Ananthan
Hello, I am using Jboss Portal 2.6.6-GA. I have a form in a portlet that collects username and password from the user and sends it to the portlet logic to process it. form name=mainForm action=portlet:actionURL/ method=POST INPUT TYPE=TEXT NAME=username SIZE=20 INPUT TYPE=PASSWORD

[jboss-user] [JBoss Tools (users)] - DB inheritance mapping

2008-11-04 Thread ipazmino
Hi, I have a table that holds general fields, representing a generalization, and two holding specific fields, as they are specializations. Mapping these entitites I wish to have the following class hierarchy abstract class Person { | private String firstname; | private String

[jboss-user] [Installation, Configuration DEPLOYMENT] - Incomplete Deployment listing

2008-11-04 Thread elangobala
Hi , I developed a web application.when i was trying to deploy in to the server,i m getting the error as stated below... Deployed package: file:/D:/jboss-4.2.2.GA/server/default/deploy/wm_cafshared.war 2008-11-05 01:59:33,822 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner]

[jboss-user] [JBoss Portal] - Re: Unable to add portlets with 2.7.0

2008-11-04 Thread rutfield
Thanks for the feedback. I upgraded to JDK 1.5.0_16. Performed an ant clean followed by a deploy-all. I get the same problem when accessing as admin:

[jboss-user] [JBoss jBPM] - Re: How to invoke rules(drools) from a jBPM

2008-11-04 Thread salaboy21
I have a posted example in my blog.. where I use the following line: | builder.addPackageFromDrl(new InputStreamReader(this.getClass().getResourceAsStream(/categorizar.drl)); | Look that I take the drl file from my classpath. Take a look at the post.. is in Spanish but you can translate

[jboss-user] [EJB 3.0] - Re: Using enviroment variables in persistence.xml

2008-11-04 Thread dyahav
Yes, I mean OS environmet. I have a project that contains a persistence.xml file. this file contains the database configuration including the username and password. For development, I would like to deploy this project in other machines using their owning JBoss (that is, each machine has its own

[jboss-user] [JBoss Portal] - Re: Unable to add portlets with 2.7.0

2008-11-04 Thread jbportaldeveloper28
we had a similiar issue. What we did for a temporary fix was to comment out the getIcon() call from returning a value. so under server\xxx\deploy\jboss-portal.sar\portal-core.war\WEB-INF\jsp\content\portlet_editor.jsp, we did the following: | |private String getIcon(PortletInfo

[jboss-user] [JBoss jBPM] - Re: jBPM Task Form

2008-11-04 Thread salaboy21
what does it mean: anonymous wrote : | I want to integrate the xhtml files I created and deployed inside the PAR file inside my web application | Tell us about your application.. you don't use the web console? give us more details View the original post :

[jboss-user] [JBoss Portal] - Re: Two Questions: Does JPortal have an index.html? How are

2008-11-04 Thread jbportaldeveloper28
Thanks for the advise. I did try modifying that default-object.xml already but didn't have any luck. Here is what I did: | ?xml version=1.0 encoding=UTF-8? | !--~~~ | ~ JBoss, a division of Red Hat

[jboss-user] [EJB/JBoss] - Re: java.lang.ClassCastException while deploying ejb jar

2008-11-04 Thread rana24
Can anyone put some light what could be the problem here ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186568#4186568 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186568 ___

[jboss-user] [JBoss jBPM] - Re: How to invoke rules(drools) from a jBPM

2008-11-04 Thread salaboy21
Can you show us your code? this stack only show us the nullpointer exception because he coudn' t find the correct path to you drl file.. anonymous wrote : | com.sample.action.FireRulesActionHandler | View the original post :

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 3.0.0.Beta1 Released

2008-11-04 Thread [EMAIL PROTECTED]
But... Is there any reason why the development-update-site only contains Alpha1-Builds? http://download.jboss.org/jbosstools/updates/development/ I just clicked the link and saw only beta builds: -R200810311334 JBossTools Development Release: 3.0.0.Beta1-R200810311334

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 3.0.0.Beta1 Released

2008-11-04 Thread alexeev.net
Thank you masters. But... Is there any reason why the development-update-site only contains Alpha1-Builds? http://download.jboss.org/jbosstools/updates/development/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186582#4186582 Reply to the post :

[jboss-user] [Beginners Corner] - Re: Reloading the application context

2008-11-04 Thread nitha
We are uploading ppts, pdfs , images and video files. we have created separate folders for each under the 'deploy' folder. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186624#4186624 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Unable to add portlets with 2.7.0

2008-11-04 Thread rutfield
Wow! That worked! I now have icon next to each item in the list, but it is now populated and seems to be funcitoning. It appears to be misbehaving if an icon isnot found. Should iconLocation be initialized to ? SHould the logic be changed to handle the case where there is no icon? Thank you!

[jboss-user] [JBoss Portal] - Re: Unable to add portlets with 2.7.0

2008-11-04 Thread jbportaldeveloper28
Glad it worked. This was just a temporary fix we did for now. There *SHOULD* be a proper way to handle this in the end. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186843#4186843 Reply to the post :

[jboss-user] [Beginners Corner] - Re: TravelAgentBean not bound?

2008-11-04 Thread denisputnam
Okay, I am a knuckle head. I had to change TravelAgentBean/remote to TravelAgent/remote. Sometimes you just can't see things right in front of you. Now I have to go figure out what I missed in the book to end up with a TravelAgent class rather than the TravelAgentBean class. View the

[jboss-user] [EJB 3.0] - Domain Name Setting

2008-11-04 Thread nanda_kishore
i devloped web application in J2EE. I want to launch it as a website. how to configure the domain name in JBOSS. b'coz in jboss - we can access website as follows: http://mywebsite.com/web-war web-refers war file, which is the web application developed in j2ee. i need to remove the web-war. i

[jboss-user] [JBossWS] - How to generate the WSDL at build time for EJB3 based web se

2008-11-04 Thread rjdbc
I am exposing a Stateless Session Bean as a web service using following annotations and would like to capture WSDL during build time. Currently, the wsdl is getting generated at deployment. Is there a way to generate it before deployment for EJB3 based web services? I am using

[jboss-user] [Security JAAS/JBoss] - One way SSL hanshake between jboss(client) and weblogic(se

2008-11-04 Thread patwary_shiva
I have a requirement to do One way SSL handshake from one server (jboss server) to another server( weblogic ).Both the servers are SSL configured. I am using httpclient to do httppost . I also need to verify server certificate to make sure that I am talking to the right server. I am not sure

[jboss-user] [Beginners Corner] - Re: Could not obtain connection to any of these urls: localh

2008-11-04 Thread PeterJ
Port 1099 is the JNDI port for JBossAS. It would appear that you have not yet started JBossAS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186859#4186859 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186859

[jboss-user] [JBoss Portal] - Re: How do I display/modify the Porlet Modes in the Window C

2008-11-04 Thread PeterJ
To get the help icon to display you need to indicate that the portlet supports the help mode. In portlet.xml: portlet | portlet-nameSomePortlet/portlet-name | ... | supports\ | ... | portlet-modeHELP/portlet-mode | /supports | ... | /portlet

[jboss-user] [EJB 3.0] - Re: Domain Name Setting

2008-11-04 Thread PeterJ
First remove the current default app at server/xxx/deploy/jboss-web.deployer/ROOT.war (remove the whole directory). Second, add a jboss-web.xml file to your web app's WEB-INF directory and put the following it it: ?xml version=1.0 encoding=UTF-8? | jboss-web |context-root//context-root

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Incomplete Deployment listing

2008-11-04 Thread PeterJ
What you posted is a report that the deploy writes after deployment - this report rarely describes the root cause for the deployment failure. Earlier in the console log there will be an exception stack trace. Find and post the first exception stack trace (note that you might have to increase

[jboss-user] [JBoss Portal] - Re: Unable to add portlets with 2.7.0

2008-11-04 Thread rutfield
I happened to have 2.6.5 which was working on my system before the upgrade to 2.7.0. It looks like it has changed and the iconLocation variable is no longer initialized to null along with other changes. | %! |private String getIcon(PortletInfo info) |{ | String

[jboss-user] [JBoss Messaging] - Re: Messaging 1.3GA lock ups

2008-11-04 Thread jerry.zhao
I also meet this problem, but i find it not cause by jboss, it cause by outofmemory, i think you check it whether cause by java.lang.OutOfMemoryError View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186872#4186872 Reply to the post :

[jboss-user] [Management, JMX/JBoss] - Re: jconsole problem with JDK1.6

2008-11-04 Thread caculus
i meet the same problem too, however i found it's work on jdk 1.6.06 not work on jdk 1.6.07 and 1.6.10 1. set java_opts = -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl -Dcom.sun.management.jmxremote

  1   2   >