[jboss-user] [JBoss jBPM] - Re: Accessing the parent/super execution from a subprocess e

2009-08-14 Thread flavio.donze
hi shekharv

That's how I'm getting the key right now and it works fine, but it's an ugly 
cast.
I would like to have a getSuperProcessExecution() on the OpenExecution 
interface.
OpenExecution has a method getSubProcessInstance() but no method to access the 
super ProcessInstance, that's basically the issue here.

greets
flavio

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249572#4249572

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249572
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2009-08-14 Thread TomHombergs
Have you ever found out what caused the multiple requests? I have the same 
problem: doView() is called 4 times although the portlet is only included one 
on the page. 

What's more: i hacked into the LocaleInterceptor, which intercepts the 
HttpRequest and resets its locale-setting...it also gets called 4 times! JBoss 
Portal seems to make 4 requests out of one.

A different page containing the same portlets (and the same javascript) only 
gets called 1 time...I have no clue what triggers this behaviour.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249585#4249585

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249585
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Printing Service with thread unsave drivers

2009-08-14 Thread Till Dreier
Thank You for your response.
This could be a good solution, but i think there is still a problem with the 
printer driver dll which is not working in a multi thread application. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249587#4249587

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249587
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpm4 and oracle application server integration

2009-08-14 Thread dubbeld
Yes, you can until some jbpm4 issues are fixed (see JIRA), extend 
JtaTransaction and in the contructed set the userTransactionJndiName property 
to the java:comp one. 

Also created a new CorrectedTransactionBinding class which is the same as 
TransactionBinding in jbpm4 but which passes for the JtaTransaction the 
extended class above to the ObjectDescriptor

then make a copy of the jbpm.wire.bindings.xml as such it is first in classpath 
(WEB-INF/classes f.e.) and change the regular TransactionBinding to your 
CorrectedTransactionBinding. 

You would expect you could use jbpm.user.bindings.xml but that currently won't 
work :-(

Its not the most optimal solution but at least is much better then changing the 
jbpm4 codebase each time after an upgrade.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249588#4249588

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249588
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpm4 and oracle application server integration

2009-08-14 Thread stup
Thanks! :)
That's exactly i've been looking for

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249589#4249589

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249589
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - well there was a jboss-j2ee jar which i removed

2009-08-14 Thread Elhanan
11:18:03,480 WARN  [ServiceController] Problem creating service 
jboss.j2ee:jndiName=com.pnx.pmp.configuration.common.ConfigurationServiceSessionHome.underwrite,service=EJB
java.lang.NoSuchMethodException: 
org.jboss.ejb.StatelessSessionContainer.removeHome(javax.ejb.Handle)
at java.lang.Class.getMethod(Class.java:1581)
at 
org.jboss.ejb.StatelessSessionContainer.setupHomeMapping(StatelessSessionContainer.java:139)
at 
org.jboss.ejb.SessionContainer.createService(SessionContainer.java:169)
at org.jboss.system.ServiceMBeanSupport.jboss

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249593#4249593

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249593
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - i then removed ejb jar which was on our ear and got:

2009-08-14 Thread Elhanan
11:29:19,771 INFO  [EjbModule] Deploying LCResponseHandlerMDB
11:29:25,999 WARN  [ServiceController] Problem starting service 
jboss.j2ee:jndiName=com.pnx.pmp.configuration.common.ConfigurationServiceSessionHome.underwrite,service=EJB
java.rmi.ServerException: Could not bind home; nested exception is: 
javax.naming.CommunicationException: Receive timed out [Root exception 
is java.net.SocketTimeoutException: Receive timed out]
at org.jboss.proxy.ejb.ProxyFactory.bindProxy(ProxyFactory.java:476)
at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:243)


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249594#4249594

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249594
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: make sure my hibernate config in jboss remains the same?

2009-08-14 Thread jaikiran
Hmmm, you started the thread with a subject about hibernate config, then the 
post contained MDB deployment errors and now it has some other exceptions 
without any details. So i don't know what help to provide :)

While posting logs or xml content or code, please remember to wrap it in a code 
block by using the Code button in the message editor window. Please use the 
Preview button to ensure that your post is correctly formatted.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249595#4249595

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249595
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Cannot get any example apps to deploy in JBoss 5.1.0-GA

2009-08-14 Thread t4p
All,

I have had JBoss 3.2 running for many years, and now I am trying to get up to 
speed on JBoss 5.1 (w/ Java 1.5) -- but I cannot get ANY sample app to deploy.  
I have followed the instructions in the getting started docs to the letter.  
I've build the JBoss version of Duke's bank and also the jsfejb3 example.  
Below are the stack traces I get trying to deploy.

Why is this stuff so hard to just get off the ground?  What am I doing wrong?  
I'm normally a pretty smart guy, but I'm not feeling very smart right now ... 
:-/

Plz help!  I am really stuck here, thanks!
/Mark

01:45:48,312 ERROR [AbstractKernelController] Error installing to Parse: name=vf
szip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/jsfejb3.ear/ state=Not Insta
lled mode=Manual requiredState=Parse
org.jboss.deployers.spi.DeploymentException: Error creating managed object for v
fszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/jsfejb3.ear/app.jar/
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcept
ion(DeploymentException.java:49)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO
utput.createMetaData(AbstractParsingDeployerWithOutput.java:362)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO
utput.createMetaData(AbstractParsingDeployerWithOutput.java:322)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO
utput.createMetaData(AbstractParsingDeployerWithOutput.java:294)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO
utput.deploy(AbstractParsingDeployerWithOutput.java:234)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
sImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1210)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:702)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter
.process(MainDeployerAdapter.java:117)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDSca
nner.java:362)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScan
ner.java:255)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:41
7)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java
:280)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$101(ScheduledThreadPoolExecutor.java:65)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
runPeriodic(ScheduledThreadPoolExecutor.java:146)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(ScheduledThreadPoolExecutor.java:170)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:651)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:676)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed
 to resolve schema nsURI= location=persistence
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars
er.java:203)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java
:168)
at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:189)
at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166)
at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(Sch
emaResolverDeployer.java:137)
at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(Sch
emaResolverDeployer.java:121)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse

[jboss-user] [EJB/JBoss] - Re: TxConnectionManager and enabling trace level logging

2009-08-14 Thread asookazian
JBoss 4.2.3.GA

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249599#4249599

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249599
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: exception-handler with custom exception in jbpm 3.2.6

2009-08-14 Thread massimo.zanette
I guess you are right, but this make me a little bit confusing.
Putting Action and exception-handler inside the Process Archive give me an easy 
(and already built) way for managing versioning (I'm thinking about point 
18.2.2 in http://docs.jboss.org/jbpm/v3/userguide/jpdl.html#delegation ).
Does it means that i can version Action but i can't version exception-handler?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249600#4249600

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249600
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - jbpm4 user guide : small error in doc

2009-08-14 Thread npirard
http://docs.jboss.com/jbpm/v4.0/userguide/html_single/#deployingaprocess

the given example is : 

long deploymentDbid = repositoryService.createDeployment()
.addResourceFromClasspath(org/jbpm/examples/services/Order.jpdl.xml)
.deploy();


but in fact deploy() returns a String ;-)

could someone correct it ?


ok it is a detail, but :
_ as a beginner I just try to understand the concepts of name, key, id, 
version, which get quickly confusing
_ the french say le diable se cache dans les details (the devil hides in the 
details), which quite often proves a wise statement, even in computer science
_ when reading the paragraph I get Exceptions in my two remaining neurons
_ an accurate doc is better, no ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249603#4249603

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249603
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Why no logs written to the server.log by starting Jboss?

2009-08-14 Thread thomas2008ch
Hi,

Normally if one start the Jboss, many logs will be written into the server.log.

But in one of my Jboss server it's not the case. I think maybe the 
configuration is wrong. 

Soemone know where to check and correct it?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249604#4249604

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249604
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to detect deployment failure

2009-08-14 Thread sasanplus
Hi,

Thanks for the reply.

WS = Web Service

basically I created a valid war file with a few WS in it (Web Service) and then 
I corrupted the content by removing i.e. web.xml and few other stuff to make 
sure this is not a valid .war and not going to be deployed. The actualy binary 
can be opened but the content is not a .war any more i.e. no web.xml and a 
couple of classes are removed.

I expected the deployment to fail. In app server console I get following which 
is fair enough:

10:44:37,309 INFO  [TomcatDeployer] deploy, ctxPath=/TestWebApplication, 
warUrl=.../tmp/deploy/tmp8688159346501002326TestWebApplication-exp.war/
10:44:37,418 WARN  [config] Unable to process deployment descriptor for context 
'/TestWebApplication'

but when I listen to the events (NotificationListener) I only get the following 
events:

org.jboss.deployment.SubDeployer.create
and 
org.jboss.deployment.SubDeployer.start

I do not get any failure events

I added listener to jboss.system:service=MainDeployer and any deployers beneath 
it. (basically everything)

Also the app server is 4.2.3 (GA)

Note that this application shows up in JMX. So my solution was to query JMX and 
if I can not find any WS then the application is not deployed. But I prefer to 
get a failure message as oppose to the JMX query thing.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249607#4249607

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249607
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Retrieve queue size in jboss 5.1

2009-08-14 Thread luis-a-cas...@ptinovacao.p
Hi, Thanks a lot for your replies.

Yes I want to retrieve specific queue statistics. 

I've tryed to install jbm2 in jboss 5.1. It's simple and works. Now I can use 
the management core API to access those resources. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249609#4249609

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249609
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpm Process Deployment Exception

2009-08-14 Thread prachi.mukhija
Hi,

Which GPD are you using? Try the jbpm-jpdl-designer-site-3.1.6 with Eclipse 
3.4.1+ versions. This seems to be a configuration error.
I faced the same sometime back and the above solution resolved my error.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249610#4249610

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249610
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - actually hibernate config was hidden motivation and still is

2009-08-14 Thread Elhanan
see it all started from the fact that we always had problems working with 
isolated ears in jboss, even in 3.2.7, i guess it started with wrong jars in 
our ears, all i wanna do is to able to work as closely as possible to our 
websphere configuration on aix. we HUGE problems trying to configure jboss jta 
under spring with both jboss and websphere.

all the problems i mentioned here, started when i tried to use jboss with 
sperated classloading configuration, i understand there is a way to configure 
it to be j2ee compliant , i tried that according to docs here: 
http://docs.jboss.org/jbossas/jboss4guide/r3/html/pr05.html

so to recap, i wanted our ear in jboss 4.2.3 to work in isolated mode, so i 
added the jboss-app.xml file to meta-inf dir, call jms excption deployment and 
removed jboss-j2ee.jar and ejb.jar we had in our ear. 

i configured the xml files, but i still get this exception i wrote above.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249611#4249611

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249611
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Question regarding ANT tasks in demo setup

2009-08-14 Thread sebastian.s
Hello!

I might be overlooking something again but I've got a question regarding the 
demo setup included with jBPM 4.0. To set up some things for testing I wanted 
to use some of the ANT-tasks used in the demo setup.  Unfortunately I can't 
find the task which unpacks jbpm-gpd-site.zip included with jBPM and installs 
it into Eclipse. In jbpm-4.0\gpd\build.xml I just found the parts where Eclipse 
is downloaded if needed and where it is unzipped.

So I decided not to use the ANT-task but when I tried to install the GPD 
manually via Install new Software in Eclipse I got the following error:


  | An error occurred during the 
org.eclipse.equinox.internal.provisional.p2.engine.phases.CheckTrust phase.
  |   session context was:(profile=epp.package.jee, 
phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.CheckTrust, 
operand=, action=).
  |   Error reading signed content.
  |   The file 
C:\eclipse\plugins\org.jboss.tools.flow.common_1.0.0.v200907072256.jar does 
not exist
  | 
  | 

I am a bit confused because when I just used the demo setup like described in 
the docs everything including the GPD worked fine. Any hints?

Thanks!
Sebastian

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249617#4249617

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249617
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Question regarding ANT tasks in demo setup

2009-08-14 Thread sebastian.s
Since it's likely that Ronald is going to post:

Met vriendelijke groet! :)
Sebastian

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249619#4249619

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249619
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: Help configure MDB threads

2009-08-14 Thread siddharth.bondre
I am using JBOSS 5.x release and class org.jboss.annotation.ejb.PoolClass is 
supposed to be in jboss-annotations-ejb3.jar. I am not able to find this 
particular jar under my JBOSS 5.x installation. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249620#4249620

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249620
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - TIBCO EMS + MDB

2009-08-14 Thread siddharth.bondre
I have a simple application where an MDB hosted on jboss connects to a TIBCO 
EMS Queue. I can see that there are 17 instances of MDBS in pool (all active as 
there are pending messages on queue) but only 2 Readers on the queue. Isn't it 
that each MDB instance should etch one session on queue? 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249623#4249623

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249623
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Class loading conflict

2009-08-14 Thread alesj
You put wrong attribute. ;-)

j2seClassLoadingCompliance -- parent-first

I guess we should validate this xmls.

So, this does the trick for me:

  | classloading xmlns=urn:jboss:classloading:1.0
  | domain=some-name
  | name=some-name
  | import-all=true
  | export-all=NON_EMPTY
  | version=0.0.0
  | parent-first=false
  | parentDomain=DefaultDomain
  | /  
  | 

Simply put this into your deployment/app.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249628#4249628

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249628
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - TCP connections in CLOSE_WAIT state

2009-08-14 Thread JoanB
hi

i m using jboss4.2.2.GA and oracle 10g

OS : RHEL5

Problem Description:
Users get a 503 error message when the try to access website.All TCP 
connections in CLOSE_WAIT are owned by Jboss.
 As ver 4.2.2 is not supported i suspect that it might be known issue. is there 
any fix i can apply ? or is there existing version already with fix that i can 
use ( none - supported ) for testing purposes? Any help appreciated.
Cheers, Joan

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249630#4249630

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249630
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - timer in ear: nothing happens

2009-08-14 Thread parszab
Hi!

I've seen quite a few enties about this, but none gave me a solution. I'm 
making an ear, with jbpm (3.3.1). The ear has the jbpm-enterprise.jar as a 
module, all EJB-s in that deploy  properly (CommandServiceBean, TimerEntityBean 
etc.)

I use the default jbpm.cfg.xml, no changes there. That already contains the 
line: 


  | service name=scheduler 
factory=org.jbpm.scheduler.db.DbSchedulerServiceFactory /
  | 

My timers are configured like this in the process definition:


  | create-timer duedate='10 seconds' transition='end' /
  | 

And nothing happens! :( Nothing triggers the timers. The actions are created 
and can be found in the DB, though.

Could someone please help me out: how can I make the scheduler service start, 
so my timers run properly?

Thanks a lot!
PSz

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249632#4249632

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249632
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2009-08-14 Thread TomHombergs
Found the reason for mutliple requests on 
http://www-01.ibm.com/support/docview.wss?uid=swg21242898.

Seems to be a general Portal issue and not JBoss-specific: if there is an -Tag 
on your page  which links to a non-existing image, another page request is sent.

I found and corrected two such -Tags on my page and the number of requests was 
reduced by 2.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249633#4249633

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249633
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: portlet doView is called multiple times

2009-08-14 Thread TomHombergs
read img-Tag instead of -Tag...the forum stripped the html markup

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249634#4249634

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249634
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Class loading conflict

2009-08-14 Thread objectiser
Yes that worked.

Thanks for your help.

Regards
Gary

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249635#4249635

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249635
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Enabling session replication does not work jboss 4.3 EAP

2009-08-14 Thread rks_86
Hi All,

I have done below settings to enable session replication but it doesnot seems 
to work as its logging me out each time i stop one server to test replication.

Below are the settings apart from Apache loadbalancing settings:

JBoss Server config changes:
changed 
jboss-eap-4.3/jboss-as/server/all/deploy/jboss-web-cluster.sar/META-INF/jboss-service.xml
 

default ClusterName to MCLU

changed jboss-eap-4.3/jboss-as/server/all/deploy/jboss-web.deployer/server.xml



changed 
/opt/jboss-eap-4.3/jboss-as/server/all/deploy/jboss-messaging.sar/messaging-service.xml

Sucker password to a new password

Please tell me if I need to do anything to continue the replication between 2 
jboss servers.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249637#4249637

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249637
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Generating DDL from annotated POJOs

2009-08-14 Thread max.ander...@jboss.com
What database are you running against ? 
Are the database actually online/connected ?

Anything in the Error Log View ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249640#4249640

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249640
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: how to start job executor

2009-08-14 Thread marcel.de.koster
I also added the programmatic timer start using the TaskExecuter via the 
ProcessEngine interface (you do not need to cast to a specific class). 

But shouldn't it be possible to do this:

bpm-configuration
...
process-engine-context
...
job-executor auto-start=true /
/process-engine-context

...
/jbpm-configuration

For me the above code doesn't work. Only programmatic starting of job executor.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249642#4249642

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249642
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss OSGi] - Re: OSGi and MicroContainer

2009-08-14 Thread speleomaniac
Then I have a problem

I placed the bundles into the deploy directory of my JBoss instance and they 
are not hot deployed

I had manually tested all the files are deploying to the external Equinox and 
actually from Felix Admin console I can deploy them manually also

I don't know what is going wrong

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249645#4249645

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249645
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss OSGi] - Re: OSGi and MicroContainer

2009-08-14 Thread speleomaniac
Wrong alarm, mistakenly I overwrite the equinox 3.4.2 with 3.5.0 in jboss-osgi 
and it didn't like that

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249649#4249649

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249649
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Re: Spring Component Auto Detection

2009-08-14 Thread marius.bogoevici
For anyone following the discussion on this forum, I've made a few changes to 
the project structure, moving the context classes in the vfs module and leaving 
the deployers to deal with deployment only. 

A few hints:

1. context class is org.jboss.spring.vfs.context.VFSXmlWebApplicationContext
2. you only need to include jboss-spring-int-vfs.jar in your application
3. the stable branch for the project is to be found at 
http://anonsvn.jboss.org/repos/jbossas/projects/spring-int/branches/1_0/



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249650#4249650

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249650
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpm4 user guide : small error in doc

2009-08-14 Thread npirard
same kind of inaccurracy : the id in table 5.1 and 5.2 has a format like 
{key}:{version} (with : between key and version)
whereas the text above states :
The id will have format {key}-{version} with a dash between key and version
and paragraph 5.6.2 seems to use this dash format too


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249651#4249651

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249651
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: TCP connections in CLOSE_WAIT state

2009-08-14 Thread jaikiran
See these

http://www.jboss.org/index.html?module=bbop=viewtopict=155670

http://www.jboss.org/index.html?module=bbop=viewtopict=148660

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249652#4249652

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249652
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Maintenance and Repair Tools

2009-08-14 Thread michaelholtzman
Greetings.

Is anyone aware of any tools for analyzing, repairing, etc. the jBPM database? 

For example, 

- performing regular maintenance tasks like purging the database of process 
instances that ended over 1 year ago.

- identifying and fixing a data integrity constraint error.

Thanx.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249654#4249654

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249654
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM4 process definition deployment.

2009-08-14 Thread JimDwyer
I tried dropping the .bar file into the deploy directory with no results.  I 
will look into the bar deployer and see if there are some issues. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249655#4249655

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249655
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Generating DDL from annotated POJOs

2009-08-14 Thread JPAV
As I indicated in my initial question, I'm trying to generate DDL for SQL 
Server.  The database is online and accessible via the Data Source Explorer, 
but not otherwise sure what you mean by connected.  I'm just trying to generate 
DDL; why would I need to be connected to the database?

Regarding the error log - doh, should've looked at that.  Whatever happened to 
Eclipse opening that view automatically when an error occurs (The Active on New 
Events option was checked)?  Anyway, I do have an error - Class not found for 
the SQLServerDriver class, which makes no sense to me since the Data Source 
Explorer finds it just fine.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249656#4249656

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249656
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Generating DDL from annotated POJOs

2009-08-14 Thread JPAV
Guess I should also mention that the ClassNotFoundException was embedded within 
a HibernateConsoleRuntimeException.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249657#4249657

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249657
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to detect deployment failure

2009-08-14 Thread jaikiran
sasanplus wrote : and then I corrupted the content by removing i.e. web.xml 
and few other stuff to make sure this is not a valid .war and not going to be 
deployed. The actualy binary can be opened but the content is not a .war any 
more i.e. no web.xml and a couple of classes are removed.
  | 

The absence of a web.xml does *not* stop the war from being deployed. And it 
won't be considered as a corrupt deployment. Even the absence of some classes 
which are needed at runtime of the war and not deployment time, too will not 
cause the deployment failure.

If you want to test the deployment failure then you can try by adding a web.xml 
with a non-existent servlet class. That should fail the deployment.


While posting logs or xml content or code, please remember to wrap it in a code 
block by using the Code button in the message editor window. Please use the 
Preview button to ensure that your post is correctly formatted.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249658#4249658

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249658
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Why no logs written to the server.log by starting Jboss?

2009-08-14 Thread jaikiran
You need to tell us more about your setup. Which version of JBoss AS? Which 
operating system? Is it a clean installation? Do you have any applications 
deployed in that instance? 

The log4j configurations are in JBOSS_HOME/server/ servername/conf/log4j.xml 
(or jboss-lo4j.xml depending on the version of JBossAS you use).


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249659#4249659

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249659
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Cannot get any example apps to deploy in JBoss 5.1.0-GA

2009-08-14 Thread jaikiran
See the last couple of posts in this thread which discusses a similar issue:
http://www.jboss.org/index.html?module=bbop=viewtopict=159353

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249660#4249660

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249660
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Custom Interceptor Reading Principal for MDB's

2009-08-14 Thread steff517
Hi,
I have a problem with JBoss security. I implemented an interceptor in which I 
need to read the current principal. This basically works very well, I get the 
subject using the following code:

   1. (Subject) 
PolicyContext.getContext(javax.security.auth.Subject.container)  

The problem occurs when I have a Message Driven Bean which is annotated with 
@RunAs(SYSTEM). The code above always returns null. I also tried the 
following code, to read the subject.

Subject.getSubject(AccessController.getContext()); 
and also reading from the sessionContext
sctx.getCallerPrincipal()

With all this, I didn't have success. I saw in the JBoss sources that the 
RunAsIdentity is sort of a special treatment which is read by the 
SecurityInterceptor like this:
SecurityActions.peekRunAsIdentity()
But calling this is not possible for me due to security restricitons and I 
think it's also not meant to be read like this.
Does anybody have an idea what is the correct way to read the subject and 
principal in this case?

Thanks!
stefan

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249663#4249663

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249663
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM4 process definition deployment.

2009-08-14 Thread kukeltje
There are/were some issues with the deployer from what I remember. Searching 
the dev forum might shed some light on it.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249666#4249666

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249666
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Maintenance and Repair Tools

2009-08-14 Thread kukeltje
1: If there are, they were not mentioned here. Easiest thing to do is write a 
small application that uses hiberenate to find all processinstances with or 
beyond a certain end date and do a delete via hibernate. That will cascadingly 
remove all things

2: Hmm... I never had a 'data integrity constraint violation' so this will be 
even less likely to exist

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249667#4249667

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249667
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpm4 user guide : small error in doc

2009-08-14 Thread kukeltje
Please file a jira issue for this.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249668#4249668

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249668
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Incomplete deployment listing-- Packages waiting for de

2009-08-14 Thread PeterJ
murali67p, why did you post this deployment report on a 2-year-old thread? And 
why in the JBoss Portal forum? Please create a new topic in the Beginner's 
forums and explain what it is you are doing, and give the JBoss AS version.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249669#4249669

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249669
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: how to start job executor

2009-08-14 Thread kukeltje
Technically yes (to a certain extend), practically no (due to the limitations 
of this 'certain extend')

Shiyeling menthioned them already: Many usecases of using jBPM in different 
environments. e.g. you cannot start a thread from a normal class in many 
appservers, you needs startup servlets for this..

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249671#4249671

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249671
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: timer in ear: nothing happens

2009-08-14 Thread kukeltje
It's in the docs: http://docs.jboss.org/jbpm/v3.2/userguide/html_single/#d0e140

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249674#4249674

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249674
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Question regarding ANT tasks in demo setup

2009-08-14 Thread kukeltje
sebastian.s wrote : Since it's likely that Ronald is going to post:
  | 
  | Met vriendelijke groet! :)
  | Sebastian

Likely but not certain :-P Have a nice weekend

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249675#4249675

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249675
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Question regarding ANT tasks in demo setup

2009-08-14 Thread kukeltje
Entschuldiging,

Schönes Wochenende

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249676#4249676

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249676

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: exception-handler with custom exception in jbpm 3.2.6

2009-08-14 Thread kukeltje
You can version the exception-handler class, but not the exception class.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249679#4249679

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249679
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: make sure my hibernate config in jboss remains the same?

2009-08-14 Thread PeterJ
Elhanan, I noticed (via the email sent by watching this forum) that you set the 
subject line for each of your posts, and that the new subject line contains 
explanatory information about your post. Don't you realize that the subject 
line gets set only on the first post to a topic, and that the new subject lines 
do not get shown here? And that the subject area accepts only a limited number 
of characters (the subject lines I am getting via email are not complete). 
Don't you even read what you have posted? Please do not put half of your text 
in the subject line - it makes your posts difficult to follow and/or confusing.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249680#4249680

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249680
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Maintenance and Repair Tools

2009-08-14 Thread michaelholtzman
Yes, I have already written a number of these one-trick ponies to solve 
specific problems. We're more interested in diagnosing database issues.

We are pushing jBPM very hard, running multiple processing threads within a 
java app as well as multiple distributed java apps. (We have a client that 
requires 20,000+ workflow instances PER HOUR during a three hour window when 
they do invoice processing).

As a result we often see generic persistence service errors (unable to sync, 
deadlocks, etc.) which can be very difficult to diagnose. A tool to analyze and 
correct or at least identify the cause of these problems would be very helpful.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249681#4249681

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249681
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpm4 and oracle application server integration

2009-08-14 Thread kukeltje
;-) I would have (temporarily) changed in in the source . LOL. And I should 
also have mentioned that indeed there are some issues and once those are fixed 
patching is not needed. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249683#4249683

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249683
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpm4 and oracle application server integration

2009-08-14 Thread kukeltje
And now I forgot to add: providing the real patches will be welcomed :-)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249684#4249684

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249684
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: make sure my hibernate config in jboss remains the same?

2009-08-14 Thread Elhanan
off course i read what i post , but BEFORE i post it (otherwise there isn't 
much point in fixing it, i don't have an edit option)...

call me silly, but when one provides a user with a text field to input stuff, 
well i kinda expect it to stay there.  didn't know i should re-check it.

so to make things clear. because our ear operates in an isolated classpath on 
was 6.1, i would like it to be the same in jboss 4.2.3 

so far no luck, everything following the instructions to make it j2ee complaint 
didn't work. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249685#4249685

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249685
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Maintenance and Repair Tools

2009-08-14 Thread kukeltje
Nice hearing it is used so extensively. Not nice to hear there are persistency 
errors. 

Ok , first, my experience is that diagnosing deadlocks etc is indeed hard, not 
only with jBPM, but in general. In most cases we used a dba to do find the 
deadlocks in combination java/db expert that uses thread dumps from the jvm to 
see if there are specific threads that are stuck in relation to what is seen in 
the db. If it is your own code, the process after that is 'fairly' easy since 
you know the code. If it is jPBM, I can imagine this is not the case. 

But if you inform us where and when you see errors occuring we'll be glad to 
help out where we can.

Unfortunately, it is next to impossible for the jBPM project to provide tooling 
for this. 

Regarding the inconsistencies in data, I'm very curious where that happens. 
Within jBPM?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249686#4249686

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249686
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Question regarding ANT tasks in demo setup

2009-08-14 Thread kukeltje
Ok and to really give you an answer:

I think you are mistaken: 
http://docs.jboss.com/jbpm/v4.0/userguide/html_single/#d0e348

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249687#4249687

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249687
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpm4 user guide : small error in doc

2009-08-14 Thread npirard
https://jira.jboss.org/jira/browse/JBPM-2486

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249688#4249688

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249688
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: make sure my hibernate config in jboss remains the same?

2009-08-14 Thread PeterJ
You really need to read your post after you post it - after all, that is what 
others will see.

I'm not sure why the subject field is provided when replying to a post. That 
has always bugged me, especially since it is such a simple thing to change. 
It's as if the developer who wrote the forum code either didn't care, or was 
lazy, or never bothered to do user interface testing.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249690#4249690

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249690
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem configuring jBPM4 with Spring

2009-08-14 Thread jbarrez
Are you using JPA or Hibernate? In the first case, these kind of errors are to 
be expected since we've not yet implemented JPA integration.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249693#4249693

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249693
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Question regarding ANT tasks in demo setup

2009-08-14 Thread sebastian.s
I was absolutely sure it was installed automatically. Thanks for your help.
Have a nice weekend as well!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249695#4249695

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249695
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to detect deployment failure

2009-08-14 Thread sasanplus
Nope,

I kept the web.xml with reference to WS that does not exist and I got:

17:25:56,899 ERROR [[/TestWebApplication]] Servlet /TestWebApplication threw 
load() exception
  | javax.xml.ws.WebServiceException: Cannot obtain endpoint for: 
jboss.ws:context=TestWebApplication,endpoint=SecondWebService
  | at 
org.jboss.wsf.stack.cxf.CXFServletExt.initServiceEndpoint(CXFServletExt.java:175)
  | at org.jboss.wsf.stack.cxf.CXFServletExt.init(CXFServletExt.java:80)
  | at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
  | at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
  | at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4375)
  | 
in console, but no event to indicate the failure.

org.jboss.deployment.SubDeployer.creat
and
org.jboss.deployment.SubDeployer.start 







View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249697#4249697

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249697
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Maintenance and Repair Tools

2009-08-14 Thread michaelholtzman
Well, to make things even more fun we support three db platforms: Sybase, 
Oracle, and SqlServer.

First off, almost all of the deadlock problems were cured after indexing the 
JBPM tables on all the foreign key columns. (We almost had to call the 
paramedics for the DBA when we told him we were adding 100 indexes to the 
database). That tip should be featured more prominently in your documentation. 
For Sybase, we had to explicitly enable row locking on the tables as well. BTW, 
indexing also improved 'deleteInstance' speed  from 8 seconds per instance to 4 
instances per second.

Now most often we see 'cannot sync state with session'. This happens when 
jbpmContext.save() fails for some reason ... we suspect a rollback due to 
resource contention, but we're not really sure.

We occasionally see persistence service errors due to failure to 
serialize/deserialize an object - we believe these are home-grown variable 
types (for example, we have java objects to represent tables and picklists). 
Usually we find an error in our implementation that causes this, but more 
detailed reporting would be useful.

Our system has lots of inter-related moving parts, so creating a trivial 
example to recreate these issues is pretty much impossible. See 
http://www.olf.com/ for an overview.

Thanx for your help.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249698#4249698

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249698
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Deploying a webservice with isolated namespace

2009-08-14 Thread raczm
Hello everyone,

What I need to get done: 
- deploy several webservices on one jboss server
- all of them have to provide a wsdl description file
- every one of them is using one class pt.iscte.fenix.util.PropertiesManager 
for getting configuration information from build.properties in the runtime

Problem description (short):
Every webservice uses the same instance of PropertiesManager (the one that was 
first loaded in the memory) which points to the wrong build.properties file 
(and every webservice has it's own build.properties files with different keys)

What I want to achieve:
I want to isolate webservices so that each of them is in their own sandbox.

Problem description(longer):
When I deploy one webservice packed as jar into jboss/server/deploy everything 
works as expected - the properties from build.properties are read properly. But 
when I deploy another webservice instead of using properties from its own 
build.properties it uses the ones that were used by the first webservice. So it 
obviously means that it has to use the PropertiesManager instance created by 
the first service. 

A temporary solution would be to use different class names for 
PropertiesManager for every webservice (I've tried, it works), but that doesn't 
solve the main problem, which is namespace conflict. So I would like to put 
every jar into their own sanbox, so that I'm assured it only uses its own 
classes.

I've came across solution to put the jar file into ear and provide ear with 
META-INF/jboss-app.xml:
jboss-app
  |loader-repository 
  |test1.agent:archive=testagent1.jar
  |/loader-repository 
  | /jboss-app
But since I'm counting on jbossws and annotations to create my wsdl, when I use 
a jar inside a ear jboss ejbdeployer doesn't generate a wsdl file for me.

I'm using jboss-4.2.3. Every webservice is zipped into jar and compose of at 
least 3 source files:

##Test1Agent.java:
package agent1.test;
  | 
  | import javax.jws.WebService;
  | 
  | @WebService
  | public interface TestAgent1 {
  | public String executeTest();
  | }

##Test1AgentBean.java:
package agent1.test;
  | 
  | import javax.ejb.Remote;
  | import javax.ejb.Stateless;
  | import javax.jws.WebService;
  | import javax.jws.soap.SOAPBinding;
  | import agent1.PropertiesManager;
  | 
  | @WebService(name=testagent1, endpointInterface=agent1.test.TestAgent1)
  | @SOAPBinding(style = SOAPBinding.Style.RPC) 
  | @Remote(TestAgent1.class)  
  | @Stateless
  | public class TestAgent1Bean implements TestAgent1 {
  | public String executeTest()
  | {
  | String text = PropertiesManager.getProperty(test.sign);
  | return text;
  | }
  | }

##PropertiesManager.java:
package agent1;
  | 
  | import java.io.IOException;
  | import java.util.Properties;
  | 
  | /**
  |  * @author Luis Cruz
  |  *
  |  */
  | public class PropertiesManager extends 
pt.utl.ist.fenix.tools.util.PropertiesManager {
  | 
  | private static final Properties properties = new Properties();
  | 
  | static {
  | try {
  | loadProperties(properties, /configuration.properties);
  | loadProperties(properties, /build.properties);
  | loadProperties(properties, /dictionary.properties);
  | } catch (IOException e) {
  | throw new RuntimeException(Unable to load properties files., 
e);
  | }
  | }
  | 
  | public static String getProperty(final String key) {
  | return properties.getProperty(key);
  | }
  | 
  | public static boolean getBooleanProperty(final String key) {
  | return Boolean.parseBoolean(properties.getProperty(key));
  | }
  | 
  | public static Integer getIntegerProperty(final String key) {
  | return Integer.valueOf(properties.getProperty(key));
  | }
  | 
  | public static void setProperty(final String key, final String value) {
  | properties.setProperty(key, value);
  | }
  | 
  | public static boolean containsKey(final String key) {
  | return properties.containsKey(key);
  | }
  | }

If I made anything unclear feel free to point it out. Thanks in advance. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249699#4249699

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249699
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Php on JBoss?

2009-08-14 Thread gdriggs
Have you tried Quercus under JBoss Web? I ask because WordPress doesn't work 
for me with Web's build of PHP but Quercus lists it as one of their target apps.

-Gary

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249702#4249702

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249702
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem configuring jBPM4 with Spring

2009-08-14 Thread ziglee
JPA

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249703#4249703

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249703
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Php on JBoss?

2009-08-14 Thread PeterJ
I have not tried Quercus under JBoss Web. However, I am currently using Quercus 
under the server/web configuration of AS 5.1.0 (the web config is basically 
JBoss Web plus connector support).  I did run into one issue. I had this in my 
*-ds.xml file:

use-java-contextfalse/use-java-context

This caused an error due to a missing dependency:

** NOT FOUND Depends on 'jboss:service=invoker,type=jrmp' **

I had to remove that line from my *-ds.xml file and then add a resource-ref to 
my web-xml and add in a jboss-web.xml file to get the datasource to be looked 
up in the ENC.

mysql-ds.xml
datasources
  |   local-tx-datasource
  | jndi-namejdbc/NorthwindDS/jndi-name
  | connection-urljdbc:mysql://localhost:3306/northwind/connection-url
  | driver-classcom.mysql.jdbc.Driver/driver-class
  | user-namenorthwind/user-name
  | passwordx/password
  | 
transaction-isolationTRANSACTION_READ_COMMITTED/transaction-isolation
  | min-pool-size5/min-pool-size
  | max-pool-size20/max-pool-size
  | idle-timeout-minutes15/idle-timeout-minutes
  | metadata
  |   type-mappingmySQL/type-mapping
  | /metadata
  |   /local-tx-datasource
  | /datasources

web.xml
?xml version=1.0 encoding=utf-8?
  | web-app xmlns=http://java.sun.com/xml/ns/javaee;
  |   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |   xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;
  |   version=2.5
  | 
  |   descriptionCaucho Technology's PHP Implementation/description
  |   servlet
  | servlet-nameQuercus Servlet/servlet-name
  | servlet-classcom.caucho.quercus.servlet.QuercusServlet/servlet-class
  | init-param
  |   param-namedatabase/param-name
  |   param-valuejdbc/NorthwindDS/param-value
  | /init-param
  |   /servlet
  |   servlet-mapping
  | servlet-nameQuercus Servlet/servlet-name
  | url-pattern/index.php/*/url-pattern
  |   /servlet-mapping
  |   welcome-file-list
  | welcome-fileindex.php/welcome-file
  |   /welcome-file-list
  |   resource-ref
  | res-ref-namejdbc/NorthwindDS/res-ref-name
  | res-typejavax.sql.DataSource/res-type
  | res-authContainer/res-auth
  | res-sharing-scopeShareable/res-sharing-scope
  |   /resource-ref
  | /web-app

jboss-web.xml
!DOCTYPE jboss-web PUBLIC -//JBoss//DTD Web Application 2.4//EN 
http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd;
  | jboss-web
  |   resource-ref
  | res-ref-namejdbc/NorthwindDS/res-ref-name
  | jndi-namejava:jdbc/NorthwindDS/jndi-name
  |   /resource-ref
  | /jboss-web

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249704#4249704

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249704
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to configure mail-service.xml for Exchanger Server w

2009-08-14 Thread Kevinpei
?xml version=1.0 encoding=UTF-8?
  | !-- $Id: mail-service.xml 62350 2007-04-15 16:50:12Z dimit...@jboss.org $ 
--
  | server
  | 
  |   !--  
--
  |   !-- Mail Connection Factory  
--
  |   !--  
--
  | 
  |   mbean code=org.jboss.mail.MailService
  |  name=jboss:service=Mail
  | attribute name=JNDINamejava:/Mail/attribute
  | attribute name=Userkpei/attribute
  | attribute name=Passwordpassword/attribute
  | attribute name=Configuration
  |   !-- A test configuration --
  |   configuration
  | !-- Change to your mail server prototocol --
  | property name=mail.store.protocol value=pop3/
  | property name=mail.transport.protocol value=smtp/
  | 
  | !-- Change to the user who will receive mail  --
  | property name=mail.user value=/
  | 
  |  
  |!-- Change to the mail server  --
  | property name=mail.pop3.host value=abcsvr3.abcwireless.local/
  | 
  | !-- Change to the SMTP gateway server --
  | property name=mail.smtp.host value=abcsvr3.abcwireless.local/
  | 
  | !-- The mail server port --
  | property name=mail.smtp.port value=/
  | 
  | !-- Change to the address mail will be from  --
  | property name=mail.from value=k...@abcwireless.com/
  | 
  | !-- Enable debugging output from the javamail classes --
  | property name=mail.debug value=false/
  |   /configuration
  | /attribute
  | dependsjboss:service=Naming/depends
  |   /mbean
  | 
  | /server



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249707#4249707

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249707
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to configure mail-service.xml for Exchanger Server w

2009-08-14 Thread Kevinpei
My quick question is:

Can JBoss Mail Service work with Exchange Server(AcitveSync protocol)?

Thanks!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249708#4249708

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249708
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Accessing the parent/super execution from a subprocess e

2009-08-14 Thread shekharv
What was I thinking! I read multiple posts and then got back to this, so lost 
context, didn't see that you already had the solution for the timebeing. And 
yes, that should become part of the API, although I think we should clearly 
specify that in the JIRA.

:)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249710#4249710

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249710
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossMQ] - Stopping / starting queues... can't find invoker

2009-08-14 Thread rfidler1978
Running on JBoss 4.2.3 with some EJB2 and some EJB3 MDBs spread amongst various 
jar/sar files.

I had found that I could use the invoker which pertained to an MDB queue to 
stop/start message deliver and tested it using invocation calls through 
twiddle.  This works great for EJB2 deployments.  For my EJB3 MDBs, there isn't 
an invoker for the queue so what's the difference?  Does JBossMQ queue 
deployment work differently between the two versions of EJB?

Looking at the JMX console, I can see that there are queues for all my MDBs, 
regardless of the EJB version.  

To get more of an idea what I did get to work with the EJB2 MDBs check out...

http://www.vijaykandy.com/archives/9

Any help is greatly appreciated!!

p.s. If this is off topic, kindly point me in the right direction.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249713#4249713

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249713
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] Setting maxSpareThreads and minSpareThreads doesn't do anything in JBoss 4.2.0.GA

2009-08-14 Thread Raul Acevedo

I'm running JBoss 4.2.0.GA and I want limit the number of unused idle
threads.  This is supposed to be possible using maxSpareThreads and
minSpareThreads but neither option seems to do anything:

Connector maxThreads=100 minSpareThreads=10 maxSpareThreads=30 ...
/

JBoss always starts with only one active thread, and if it needs to create
100, it'll keep 100 alive, even if the load drops down to nothing.

Is there a way to do this?

Thanks,

Raul Acevedo
http://www.cantara.com

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: datasource and singleton

2009-08-14 Thread henk53
greiff wrote : 
  | to avoid expensive JNDI lookups to datasource is it possible to use the 
singleton pattern for datasources ?
  | 

Just wondering, are JNDI lookups really that expensive? When looking up an EJB 
(either programmatic, or via injection), isn't there a JNDI lookup happening 
all the time?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249722#4249722

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249722
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Help for jboss-structure.xml to eliminate jaxb-xjc.jar probl

2009-08-14 Thread vavasthi
I have a .ear file that contains a war (containing a rest webservices using 
resteasy), a jar file containing ejbs. Since the project pulls in jaxb-xjc.jar 
file and that results in IllegalStateException because of the jaxb-xjc.jar file 
containing nested directories with sub directories also containing META-INF and 
MANIFEST files. I read on another that I should use jboss-structure.xml file to 
get around the problem and I tried to do that. Here is the xml file that I have 
written.

structure
  | context
  | path name=/
  | metaDataPath
  | path name=META-INF/
  | /metaDataPath
  | classpath
  | path name= suffixes=.jar /
  | /classpath
  | /context
  | context
  | path name=Myejb.jar/
  | metaDataPath
  | path name=META-INF/
  | /metaDataPath
  | classpath
  | path name= suffixes=.jar /
  | /classpath
  | /context
  | /structure
With this change, when I try to deploy the ear file, I don't file the 
persistence manager which is defined in persistence.xml file in Myejb.jar file. 
Can anybody point me to what I am doing wrong.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249726#4249726

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249726
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Application Scoped datasources

2009-08-14 Thread henk53
matanderson wrote : I am looking for a way to setup application scoped 
datasources within JBoss (4.2.3 or 5).[...] Is this possible on JBoss?
  | 
  | 

I think so, put your database-ds.xml in your ear at the top level, and define a 
reference to it in yourear/META-INF/jboss-app.xml:


  | jboss-app
  | module
  | servicedatabase-ds.xml/service
  | /module
  | /jboss-app
  | 

At least now its defined by your individual app. Jboss AS offers a mechanism to 
prevent classes being visible to other applications. This is called scoped 
class loading and works by defining a class loader repository. Maybe a similar 
mechanism (or perhaps even that exact mechanism) could be used to prevent the 
datasource from being visible to other apps.

I'm not the greatest Jboss expert, but maybe this give you some pointers and 
hopefully a real expert will give some better advice.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249741#4249741

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249741
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - How can I define web context in JBoss 5.1.0 other then usin

2009-08-14 Thread mkimi...@gmail.com
I would like to use different web context other than using war file name in 
Jboss 5.1.0.
e.g.
If you deploywar which is filename.war ,normally url will be 
http://hosturl:8080/filename/  
I want to change this http://hosturl:8080/webapp

How can I achieve this?  I would appreciate any response!

best regards
Masa

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249742#4249742

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249742
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How can I define web context in JBoss 5.1.0 other then

2009-08-14 Thread jaikiran
It's covered in our wiki 
http://www.jboss.org/community/wiki/ChangeTheContextOfAWAR

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249745#4249745

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249745
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Help for jboss-structure.xml to eliminate jaxb-xjc.jar p

2009-08-14 Thread jaikiran
vavasthi wrote : 
  | With this change, when I try to deploy the ear file, I don't file the 
persistence manager which is defined in persistence.xml file in Myejb.jar file. 
Can anybody point me to what I am doing wrong.

Can you post that log/exception stacktrace which shows the persistence.xml is 
not found?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249746#4249746

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249746
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - about eviction and other stuff

2009-08-14 Thread shms
Hi everybody ,

I am trying to integrate the Jboss cache with a big stand alone environment the 
main problem with this program we need a huge data to process with amount reach 
to 7  GB so the idea is to use a cache system to evict some of the data and 
retrieve it when we want any way 
i will get in the problem right away my question is the Jboss cache sensitive 
to memory ?
and any one have some suggestion .
I tried to create  a test before integrate the jboss cache with the system but 
i could not make it run so anybody can figure the problem


 i make the ram for the virtual , the idea behind the test frame work is to 
create dummy data and add it to the cache tree and check if it evict it but it 
did not worked .
sorry i post this code but i want to show all the evolution process on it i 
used to debug and check and come up with ideas and test them on the same code 

import java.util.HashMap;
  | import java.util.Map;
  | import java.util.Scanner;
  | 
  | import org.jboss.cache.Cache;
  | import org.jboss.cache.CacheFactory;
  | import org.jboss.cache.DefaultCacheFactory;
  | import org.jboss.cache.Fqn;
  | import org.jboss.cache.Node;
  | import org.jboss.cache.Region;
  | import org.jboss.cache.RegionManagerImpl;
  | import org.jboss.cache.config.Configuration;
  | import org.jboss.cache.config.EvictionAlgorithmConfig;
  | import org.jboss.cache.config.EvictionConfig;
  | import org.jboss.cache.config.EvictionRegionConfig;
  | import org.jboss.cache.config.Configuration.CacheMode;
  | import org.jboss.cache.eviction.EvictionEvent;
  | import org.jboss.cache.eviction.EvictionQueueList;
  | import org.jboss.cache.eviction.LRUAlgorithm;
  | import org.jboss.cache.eviction.LRUAlgorithmConfig;
  | import org.jboss.cache.interceptors.EvictionInterceptor;
  | import org.jboss.cache.transaction.GenericTransactionManagerLookup;
  | import org.jboss.util.LRUCachePolicy;
  | import org.jgroups.tests.PullPushTestMux.MyListener;
  | 
  | 
  | public class JBossTest {
  | 
  | 
  | private static NodeObject, Object newNode;
  | private NodeObject, Object lastNode ;
  | //  private Object watcher = new myListener();
  | Object watcher = new myListener();
  | 
  | 
  | 
  | /**
  |  * @param args
  |  */
  | public static void getMemorySize()
  | {
  | long size = Runtime.getRuntime().totalMemory() - 
Runtime.getRuntime().freeMemory();
  | System.out.println(The size of the memory at the current time 
is : +  size);
  | }
  | public static  double[] getDummyData()
  | {
  | return new double[(int)(1000*Math.random()) + 1];
  | }
  | 
  | //   private void orderChildren(Node node)
  | //   {
  | // if (node == null) return;
  | //
  | // if (node  instanceof root)
  | //   {
  | //  FqnTreeNode node = (FqnTreeNode) parent;
  | //  ArrayList children = Collections.list(node.children());
  | //  Collections.sort(children);
  | //  node.removeAllChildren();
  | //  Iterator childrenIterator = children.iterator();
  | //  while (childrenIterator.hasNext()) node.add((FqnTreeNode) 
childrenIterator.next());
  | //   }
  | //   }
  |@SuppressWarnings(null)
  | public void startUpTest()
  |{
  | /*
  |  * the configuration for the cache object 
  |  */
  | 
  | CacheFactoryObject, Object factory  = new 
DefaultCacheFactoryObject, Object();
  |   
  | 
  | //  Cache   cache = 
factory.createCache(/home/ecc_8/shamah0s/Desktop/SerialDemo/config.xml, 
false); 
  | CacheObject, Object   cache = factory.createCache(); 
  | 
  | Configuration config = new Configuration();
  | 
  | //  
config.setTransactionManagerLookupClass(GenericTransactionManagerLookup.class.getName());
  | //  config.setIsolationLevel(IsolationLevel.READ_COMMITTED);
  | config.setCacheMode(CacheMode.LOCAL);
  | //  config.setCacheMode(CacheMode.INVALIDATION_SYNC);
  | config.setLockAcquisitionTimeout(15000);
  |
  |
  |NodeObject, Object root = cache.getRoot();
  |FqnString fqnNode = Fqn.fromString(root/arrayPath);
  |   
  | //   newNode = root.addChild(fqnNode);
  | //   newNode.setResident(true);
  |  
  |FqnString fqnNode1 = Fqn.fromString(root/hi);
  |FqnString fqnNode2 = Fqn.fromString(root/meToo);
  |FqnString fqnNode3 = Fqn.fromString(root/arrayPath/what);
  |FqnString fqnNode4 = Fqn.fromString(root/arrayPath/what/is);
  |FqnString fqnNode5 = Fqn.fromString(root/arrayPath/what/is/he);
  |setNode(root);
  |
  |
  |root.addChild(fqnNode2);
  |root.addChild(fqnNode3);
  |root.addChild(fqnNode4);
  |

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Help for jboss-structure.xml to eliminate jaxb-xjc.jar p

2009-08-14 Thread vavasthi
Here is the exception. BTW, I am using jboss 5.1.0 GA


  | 11:14:03,522 ERROR [Ejb3Deployment] Exception while processing container 
metadata for EJB: MySessionBean in unit: My.ear  
  | 11:14:03,523 ERROR [AbstractKernelController] Error installing to Real: 
name=vfszip:/opt/tools/jboss-5.1.0.GA/server/default/deploy/My.ear/ 
state=PreReal mode=Manual requiredState=Real
 
  | org.jboss.deployers.spi.DeploymentException: Error deploying My.ear: 
Exception while processing container metadata for EJB: MySessionBean in unit: 
My.ear  
  | at 
org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:196)  
  | at 
org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:99)   
  | at 
org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
 
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
   
  | at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
   
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
 
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
   
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
  
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
 
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
  

and further
Caused by: java.lang.IllegalArgumentException: Can't find a persistence unit 
named 'null' in 
abstractvfsdeploymentcont...@359971180{vfszip:/opt/tools/jboss-5.1.0.GA/server/default/deploy/My.ear/}
  
  | at 
org.jboss.jpa.resolvers.BasePersistenceUnitDependencyResolver.resolvePersistenceUnitSupplier(BasePersistenceUnitDependencyResolver.java:107)
 
  | at 
org.jboss.ejb3.Ejb3Deployment.resolvePersistenceUnitSupplier(Ejb3Deployment.java:770)

  | at 
org.jboss.ejb3.EJBContainer.resolvePersistenceUnitSupplier(EJBContainer.java:1428)
   
  | at 
org.jboss.injection.PersistenceUnitHandler.addPUDependency(PersistenceUnitHandler.java:130)
  
  | ... 33 more 

  | 11:14:03,529 WARN  [HDScanner] Failed to process changes

  | org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of 
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):   
   

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249749#4249749

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249749
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user