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
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() -
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
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:
|
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
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
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
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).
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
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}
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
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
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 :
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[]
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
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:
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
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
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
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 :
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
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
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
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
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
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
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
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
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]
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
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 :
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
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
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
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 :
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
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
|
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
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
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
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
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 :
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]
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
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
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
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
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 :
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
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
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
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
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 :
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
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
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 :
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 :
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 :
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
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 :
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
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,
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
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 :
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
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 :
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
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
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
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
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
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
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
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
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
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]
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:
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
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
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
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 :
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
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
___
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 :
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
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 :
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 :
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!
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 :
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
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
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
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
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
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
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
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
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
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 :
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 - 100 of 117 matches
Mail list logo