[jboss-user] [JBoss jBPM] - query about jbpm-console

2009-06-05 Thread arpan25
Hi,

I am using jbpm-3.2.6.GA with jboss-5.0.0.GA
Can anyone tell me which is the folder that needs to be looked into for files  
displaying the jbpm-console ? I want to try changing the display...which folder 
should i use ?

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

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


[jboss-user] [JBoss jBPM] - Re: how generate image for a process definitions file in jpd

2009-06-05 Thread maruthi.sura
Hi,
  i seen the https://jira.jboss.org/jira/browse/GPD-320 issue it say that issue 
is fixed in jBPM jPDL Designer 4.0.0.CR1 version . but i got  jpdl4 beta 1.0.0 
version.but still i am unable to get an image . please provide more information 
on the issue.

Thanks  regards
Maruthi


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

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


[jboss-user] [JBossWS] - Re: Error installing WebService in JAXRPCMetaDataBuilder

2009-06-05 Thread chiguruvada
Hi 

I am also getting the same problem.  Please let me know is there any solution 
for this.  

Thanks 
Ravi kumar chiguruvada

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

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


[jboss-user] [JBoss Portal] - Re: Javascript error in clustering environment

2009-06-05 Thread rinku05
Solved

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4235541
___
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 run JBoss AS as Windows Service

2009-06-05 Thread yhovart
First of all, thx.

JAVA_HOME is set :

  | JAVA_HOME=C:\Program Files\Java\jdk1.6.0_12.
  | 

Here are the Java options included by the run.conf.bat:
Dev instance:

  | rem #
  | rem # dev 
  | rem #
  | set JAVA_OPTS=-Xms128M -Xmx512M -XX:MaxPermSize=256M
  | set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=360 
-Dsun.rmi.dgc.server.gcInterval=360
  | set JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.resolver.warning=true
  | set JAVA_OPTS=%JAVA_OPTS% -XX:NewRatio=3
  | 

Integration Instance:

  | rem #
  | rem # integration 
  | rem #
  | set JAVA_OPTS=-Xms768M -Xmx768M -XX:MaxPermSize=256M
  | set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=360 
-Dsun.rmi.dgc.server.gcInterval=360
  | set JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.resolver.warning=true
  | set JAVA_OPTS=%JAVA_OPTS% -XX:NewRatio=3 -XX:+UseParallelGC
  | 

I have also modifiy the service.bat to add -b option to the run.bat.
If it works, i'd rather specify the '-Djboss.bind.address' in run.conf.bat.

The whole service.bat (no other changes):
 
  | REM @echo off
  | REM JBoss, the OpenSource webOS
  | REM
  | REM Distributable under LGPL license.
  | REM See terms of license at gnu.org.
  | REM
  | REM 
-
  | REM JBoss Service Script for Windows
  | REM 
-
  | 
  | 
  | @if not %ECHO% ==  echo %ECHO%
  | @if %OS% == Windows_NT setlocal
  | set DIRNAME=%CD%
  | 
  | REM
  | REM VERSION, VERSION_MAJOR and VERSION_MINOR are populated
  | REM during the build with ant filter.
  | REM
  | set SVCNAME=JBAS50SVC
  | set SVCDISP=JBoss Application Server 5.1
  | set SVCDESC=JBoss Application Server 5.1.0 GA/Platform: Windows x86
  | set NOPAUSE=Y
  | 
  | REM Suppress killing service on logoff event
  | set JAVA_OPTS=-Xrs
  | 
  | REM Figure out the running mode
  | 
  | if /I %1 == install   goto cmdInstall
  | if /I %1 == uninstall goto cmdUninstall
  | if /I %1 == start goto cmdStart
  | if /I %1 == stop  goto cmdStop
  | if /I %1 == restart   goto cmdRestart
  | if /I %1 == signalgoto cmdSignal
  | echo Usage: service install^|uninstall^|start^|stop^|restart^|signal
  | goto cmdEnd
  | 
  | REM jbosssvc retun values
  | REM ERR_RET_USAGE   1
  | REM ERR_RET_VERSION 2
  | REM ERR_RET_INSTALL 3
  | REM ERR_RET_REMOVE  4
  | REM ERR_RET_PARAMS  5
  | REM ERR_RET_MODE6
  | 
  | :errExplain
  | if errorlevel 1 echo Invalid command line parameters
  | if errorlevel 2 echo Failed installing %SVCDISP%
  | if errorlevel 4 echo Failed removing %SVCDISP%
  | if errorlevel 6 echo Unknown service mode for %SVCDISP%
  | goto cmdEnd
  | 
  | :cmdInstall
  | jbosssvc.exe -imwdc %SVCNAME% %DIRNAME% %SVCDISP% %SVCDESC% 
service.bat
  | if not errorlevel 0 goto errExplain
  | echo Service %SVCDISP% installed
  | goto cmdEnd
  | 
  | :cmdUninstall
  | jbosssvc.exe -u %SVCNAME%
  | if not errorlevel 0 goto errExplain
  | echo Service %SVCDISP% removed
  | goto cmdEnd
  | 
  | :cmdStart
  | REM Executed on service start
  | del .r.lock 21 | findstr /C:being used  nul
  | if not errorlevel 1 (
  |   echo Could not continue. Locking file already in use.
  |   goto cmdEnd
  | )
  | echo Y  .r.lock
  | jbosssvc.exe -p 1 Starting %SVCDISP%  run.log
  | call run.bat -b xx.x.x.xxx  .r.lock  run.log 21
  | jbosssvc.exe -p 1 Shutdown %SVCDISP% service  run.log
  | del .r.lock
  | goto cmdEnd
  | 
  | :cmdStop
  | REM Executed on service stop
  | echo Y  .s.lock
  | jbosssvc.exe -p 1 Shutting down %SVCDISP%  shutdown.log
  | call shutdown -S  .s.lock  shutdown.log 21
  | jbosssvc.exe -p 1 Shutdown %SVCDISP% service  shutdown.log
  | del .s.lock
  | goto cmdEnd
  | 
  | :cmdRestart
  | REM Executed manually from command line
  | REM Note: We can only stop and start
  | echo Y  .s.lock
  | jbosssvc.exe -p 1 Shutting down %SVCDISP%  shutdown.log
  | call shutdown -S  .s.lock  shutdown.log 21
  | del .s.lock
  | :waitRun
  | REM Delete lock file
  | del .r.lock  nul 21
  | REM Wait one second if lock file exist
  | jbosssvc.exe -s 1
  | if exist .r.lock goto waitRun
  | echo Y  .r.lock
  | jbosssvc.exe -p 1 Restarting %SVCDISP%  run.log
  | call run.bat -b xx.x.x.xxx  .r.lock  run.log 21
  | jbosssvc.exe -p 1 Shutdown %SVCDISP% service  run.log
  | del .r.lock
  | goto cmdEnd
  | 
  | :cmdSignal
  | REM Send signal to the service.
  | REM Requires jbosssch.dll to be loaded in JVM
  | @if not %2 ==  goto execSignal
  | echo Missing signal parameter.
  | echo Usage: service signal [0...9]
  | goto cmdEnd
  | :execSignal
  | jbosssvc.exe -k%2 %SVCNAME%
  | goto cmdEnd
  | 
  | :cmdEnd
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4235545
___
jboss-user mailing list

[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php

2009-06-05 Thread ravindrashinde11
nitm..r u able to run php on jboss application server. If yes can you give me 
the steps

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

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


[jboss-user] [JBoss jBPM] - Re: How to end TaskInstance in a ActionHandler

2009-06-05 Thread freak182

that's my notion of timer when attached to a 'task-node' that it will end the 
task node and route to the intended 'timeout transition'...i think this 
possible only if not using db persistence? please advise? thanks.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Resource messages not displayed in JBoss Tools Visual Ed

2009-06-05 Thread tdtappe
Most of my pages are located in src/main/webapp/pages. But it doesn't work 
either for pages located in src/main/webapp.
And also most of the pages use a template located in src/main/webapp/layout. 
But pages without template-usage doesn't work either.

One simple page looks like this:

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | html xmlns=http://www.w3.org/1999/xhtml;
  |   xmlns:h=http://java.sun.com/jsf/html;
  |   xmlns:f=http://java.sun.com/jsf/core;
  |   xmlns:s=http://jboss.com/products/seam/taglib;
  |   xmlns:ui=http://java.sun.com/jsf/facelets;
  | 
  | head
  | title#{messages['common.errorTitle']}/title
  | /head
  | body
  | h1#{messages['common.errorHeader']}/h1
  | span class=errors
  | h:messages id=messages globalOnly=true/
  | /span
  | /body
  | /html

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

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


[jboss-user] [Remoting] - Socket timeout exception handler

2009-06-05 Thread suresh_muthu
Is there a generic way to handle Socket timed out exception? Can we add a 
listener like JMS Exception listener? I see that 
SocketClientInvoker.handleException is handling the exception. Is there a way 
to add listener that gets notified on exceptions?


  | Caused by: java.rmi.MarshalException: Socket timed out.  Waited xxx 
milliseconds for response while calling on InvokerLocator 
[socket://x.x.x.x:x/?clientMaxPoolSize=xxtimeout=xxxvalidatorPingPeriod=xxxvalidatorPingTimeout=xxx];
 nested exception is: 
  | java.net.SocketTimeoutException: Read timed out
  | at 
org.jboss.remoting.transport.socket.SocketClientInvoker.handleException(SocketClientInvoker.java:118)
  | at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:689)
  | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:133)
  | at org.jboss.remoting.Client.invoke(Client.java:1640)
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: how generate image for a process definitions file in jpd

2009-06-05 Thread kukeltje
First of all (without wanting to offend you) you are the one that should 
provide more info, at least next time. If tou saw the jira issue, you should 
have mentioned that. Would have saved *me* 15 minutes.

Secondly, CR1 is *newer* than beta2 as you could also make up from the jira

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4235552
___
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 run JBoss AS as Windows Service

2009-06-05 Thread yhovart
After rebooting, the server started with service start but i got a 
permgenspace error.

I copied the JAVA_OPTS from my run.conf.bat into the service.bat and then it 
works.

Maybe the run.conf.bat is not taken into account when starting as a service, i 
should check that.

I also notice that declaring the -Djboss.bind.adress in run.conf.bat isn't 
enough so i leave the hardcoded -b option in service.bat.

Thx for your help.

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal : Creation of New Portals

2009-06-05 Thread ariel_red
Yes,you can. I have already done the job. According the reference guider ,you 
can create your own portal and make it default. You can try it.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Resource messages not displayed in JBoss Tools Visual Ed

2009-06-05 Thread mareshkau
Are message bundles includes in page throw faces-config, seam-config file? Does 
open on functionality works throw source part? 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss AS Hibernate sources missing

2009-06-05 Thread gr28
Hi,

We are currently using JBoss AS 4.2.1 GA. An update to a newer version is not 
possible due to JBoss WS changes.

Our JBoss distribution has a serious Hibernate bug that we want to fix. As 
found in the MANIFEST the Hibernate version that our JBoss uses is 3.2.4 SP1

I downloaded the source code from hibernate.org for exactly this version. 
Compiling works fine, but as I found out the original hiberante3.jar in my 
JBoss contains classes that are not included in the Hibernate source code. E.g. 
the following classes are missing in the Hibernate source code:

org.hibernate.dialect.Oracle9iDialect 
org.hibernate.dialect.Oracle10gDialect

Does anybody know where to find this classes and why those are missing in my 
Hiberante version?

The manifest of the original hibernate3.jar shows the following:

Implementation-Title: Hibernate3
Specification-Vendor: JBoss (http://www.jboss.org/)
Specification-Version: 4.2.1.GA
Implementation-Vendor-Id: http://www.jboss.org/
Hibernate-Version: 3.2.4.sp1
Implementation-Version: 3.2.4.sp1
Implementation-Vendor: hibernate.org
Implementation-URL: http://www.jboss.org/

Thank u!
bye, Georg


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

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


[jboss-user] [JBoss AOP] - Re: Get bean context from an Aspect

2009-06-05 Thread slimamar
Hello,

We use EJB 3 interceptors at the server side and we want use the target bean
by calling  the method 'getTargetObject' of the 'Invocation' object.

Unfortunately, this method return always null at every invocation.

Is it normal ?

Thanks in advance.

JBoss AOP 2.0.0.SP1
JBoss AS 5.0.0.GA

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

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


[jboss-user] [JBoss AOP] - Get the target bean in a interceptor

2009-06-05 Thread slimamar
Hello,

We use EJB 3 interceptors at the server side and we want use the target bean
by calling the method 'getTargetObject' of the 'Invocation' object.

Unfortunately, this method return always null at every invocation.

Is it normal ?

Thanks in advance.

JBoss AOP 2.0.0.SP1
JBoss AS 5.0.0.GA

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4235589
___
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: JBoss AS Hibernate sources missing

2009-06-05 Thread gr28
I browsed throw the SVN and the mentioned classes are missing:

http://anonsvn.jboss.org/repos/hibernate/core/tags/v324sp1/src/org/hibernate/dialect/

The missing classes are available in Hibernate 3.2.5, but my JBoss claims to 
use 3.2.4 SP1

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

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


[jboss-user] [JBoss jBPM] - Re: How to end TaskInstance in a ActionHandler

2009-06-05 Thread kukeltje
No, works with db persistency as well. Look at the docs for the jpdl attributes 
and/or look at the unittests in the source


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Jboss memory settings on 64 bit server

2009-06-05 Thread ozguy
Hi,
I am in the process of setting up Jboss Server in a clustered mode using Jboss 
4.2.3 and portal 2.6.7.

Just been playing around with the memory settings and wanted to see if any of 
you have any opinion on the memory settings i currently have.

I have 2 64 bit servers running Java 1.5.0.19 and with a RAM of 24G on Centos OS

This is what i have currently done.
1. Setup OS to use large/huge TLB. I think the sys admin has set this up to 18G.

2. i have been playing around with the heap/memory settings and this is what i 
currently have:
#Memory Settings
JAVA_OPTS= -d64 -Dsun.rmi.dgc.client.gcInterval=180 
-Dsun.rmi.dgc.server.gcInterval=180 -Xms15g -Xmx15g -XX:PermSize=1g 
-XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=256m -XX:NewSize=6g 
-XX:MaxNewSize=6g -XX:+UseLargePages

#Garbage Collector settings
JAVA_OPTS=$JAVA_OPTS -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled 
-XX:+CMSClassUnloadingEnabled -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC 
-XX:MaxGCPauseMillis=500  -XX:+CMSIncrementalMode

#extra settings
JAVA_OPTS=$JAVA_OPTS -server -Xss128k  -Djboss.serverPeerID=$ServerPeerID 
-Djboss.partition.name=$partitionName 
-Dportal.hibernate.cache.partition.name=$hibernateCache -verbose:gc 
-XX:+PrintGCDetails  -XX:+PrintGCTimeStamps 
-Xloggc:/var/log/jboss/jvmgcc/gcc.txt 



Does any of you have any suggestion on the above settings ?


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

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


[jboss-user] [Beginners Corner] - confused about System Threads Pool

2009-06-05 Thread jtcnz
Using web-console, look at jboss.system:service=ThreadPool
The attributes metrics:
QueueSize0
BlockingModeRun
MinPoolSize   10
MaxPoolSize  10
MaxQueueSize   1000

Then look at jboss.system:type=ServerInfo
ActiveThreadCount 141


The size of ThreadPool is 10. Why are there 141 threads active? 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Resource messages not displayed in JBoss Tools Visual Ed

2009-06-05 Thread tdtappe
I am not sure I understand what you mean. But I haven't got any messages-tag in 
my faces-config or anywhere else. Though I tried to explicitly name a resource 
bundle there to see if it is  problem like that. But as you might guess without 
success.

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

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


[jboss-user] [Performance Tuning] - Is this a way to evaluate load balance?

2009-06-05 Thread jtcnz
How I used to evaluate the performance of load balancing for my cluster is to 
observe the CPU usage on every node. 

Today I found that the JMX MBean jboss.management.local could also show some 
information about load balancing. 

For example, I have a SLSB in my application called ClinetUtility
Then the statistic information about the usage of this session bean can be 
found under 
jboss.management.local:EJBModule=xx.ear,..,j2eeType=SLSB,name=ClientUtility
e.g  getArrayFromDB=[Count: 14606, min time:0, Max Time:1437 Total 
time:7623773, Request Rate:52.0(Description:...) ]

Then I can compare this statistic info on different node and see the difference 
to evaluate the load balance.

Do you also think this is a good way to do so? 

Does somebody know the meaning of Request Rate? 

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

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


[jboss-user] [JBoss Portal] - Cross Page wiring in JBoss

2009-06-05 Thread dorothy
Hi

Can anyone please suggest how to implement cross page eventing using JSR 286 
portlets in JBoss. My events are working perfectly without the aid of any 
administrative tool, when they are in the same page. But wen the portlets are 
placed across pages, then the Co-ordination tool is not displaying any events 
in the admin console. Please suggest how we can use the tool

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

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


[jboss-user] [EJB 3.0] - preventing dirty reads non repetablereads

2009-06-05 Thread mravikrish
Hi,

  i am  new to transactions concept.i want to prevent dirty reads,non repetable 
reads,panthom reads. i am using @verson attribute on my entity account. can any 
body suggest

tha...@regards
K.Ramu

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

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


[jboss-user] [Javassist user questions] - Re: Using Javassist inside Mojo [RESOLVED]

2009-06-05 Thread ad-rocha
You´re righit Chiba. The code below did the trick. Thank you very much for 
your help!


  | ClassWorld world = new ClassWorld();
  | 
  | ClassRealm realm = world.newRealm(org.codecompany.jeha.plugin, 
  |Thread.currentThread().getContextClassLoader());
  | 
  | ClassRealm runRealm = realm.createChildRealm(runenv);
  | 
  | SetArtifact artifacts = project.getDependencyArtifacts();
  | for (Artifact artifact : artifacts) {
  |runRealm.addConstituent(artifact.getFile().toURI().toURL());
  | }   
  | 
  | Thread.currentThread().setContextClassLoader(
  |runRealm.getClassLoader());
  | 

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

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Is Quartz is supported by Oracle 11g, Jboss EAP or JDK 1.6

2009-06-05 Thread meghaladevi
Hi, 
I started my application which uses
Oracle 11g, Jboss EAP and JDK 1.6

-I have configured quartz.properties to point to proper database.
-Placed quartz-all-1.6.5.jar into [jboss installation dir]/server/clipper/lib
-Removed quartz.rar from [jboss installation dir]/server/clipper/deploy
- Have placed proper driver for Oracle 11g i.e ojdbc6.jar into lib path.

But the Quartz related schedulers are not coming up. There are no entries in 
QUARTZ related tables. Please provide your inputs.

Do let me know if quartz is not supported by  Oracle 11g, Jboss EAP or JDK 1.6


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

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


[jboss-user] [JBoss jBPM] - notifying jbossesb services when a JBPM workflow is canceled

2009-06-05 Thread mfishm1
Hi,

Can someone please point me in the right direction. I have a case where I have 
a JBPM workflow that I am using to control the flow through a series of 
JBossESB services. Everything works as I would like until I try to cancel one 
of those workflows using a CancelProcessInstanceCommand. When that happens, the 
workflow is canceled correctly but the workflow's active node's action is 
allowed to run to completion. Since some of my service endpoints might take a 
significant amount of time to run, an hour or more, I would really like to 
somehow notify the running endpoint that it was canceled and allow it to stop 
and do some clean up. Is there any way to do this?

Thanks.

-- Mark 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Resource messages not displayed in JBoss Tools Visual Ed

2009-06-05 Thread yradtsevich
Try to add the following line right after the  tag to your page:
f:loadBundle basename=messages var=messages /

Does it work?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Resource messages not displayed in JBoss Tools Visual Ed

2009-06-05 Thread yradtsevich
*after the  tag

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

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


[jboss-user] [JBoss Tools (users)] - Re: Resource messages not displayed in JBoss Tools Visual Ed

2009-06-05 Thread yradtsevich
*HTML. Cannot insert the angle brackets =)

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

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


[jboss-user] [JBoss Portal] - Re: Cross Page wiring in JBoss

2009-06-05 Thread thomas.he...@jboss.com
You can't. Usually it would be a bad practice. Why do you need this ?

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

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


[jboss-user] [JNDI/Naming/Network] - JNDI-lookup returns

2009-06-05 Thread happy_robot
hi all,

i'm developing an application under JBoss 5.0.0 with EJB3.
I'm using stateful EJBs, what works really fine inside the AS (i'm calling them 
from a deployed web-app).
All JNDI lookups from the webapp do return Proxy-interfaces as expected.

I also try to get my EJBs from an J2SE-client.
But here i get only references to javax.naming.Reference-objects.
Where's my fault?


Output of my J2SE-application:

  | Context javax.naming.initialcont...@6d632c2d
  |  jndi.properties
  | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.provider.url=localhost:1099
  | java.naming.factory.url.pkgs=org.jnp.interfaces 
  | 
  | 
  | Proxy/CSDatabase/ServerWebClientRemote/remote 
classjavax.naming.Reference
  | 

JNDI-View (Extract):

  | java:comp namespace of the component 
jboss.j2ee:ear=CSDatabase.ear,jar=CSDatabaseEJB.jar,name=ServerWebClientRemote,service=EJB3
 :
  |   +- EJBContext (class: javax.ejb.EJBContext)
  |   +- TransactionSynchronizationRegistry[link - 
java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef)
  |   +- UserTransaction (class: org.jboss.ejb3.tx.UserTransactionImpl)
  |   +- env (class: org.jnp.interfaces.NamingContext)
  |   |   +- entityManager (class: 
org.jboss.jpa.tx.TransactionScopedEntityManager)
  |   |   +- 
de.myapplication.general.database.server.services.ServerWebClientRemote (class: 
org.jnp.interfaces.NamingContext)
  |   |   |   +- entityManager (class: 
org.jboss.jpa.tx.TransactionScopedEntityManager)
  |   +- ORB[link - java:/JBossCorbaORB] (class: javax.naming.LinkRef)
  | 
  | 
  | 
  | Global JNDI Namespace
  | 
  | +- CSDatabase (class: org.jnp.interfaces.NamingContext)
  |   |   +- ServerWebClientRemote (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- remote (class: Proxy for: 
de.myapplication.general.database.server.services.IServerWebClientRemote)
  |   |   |   +- 
remote-de.myapplication.general.database.server.services.IServerWebClientRemote 
(class: Proxy for: 
de.myapplication.general.database.server.services.IServerWebClientRemote)
  | 



J2SE-Clientapp (see jndi.properties in Output above):

  | import java.util.Properties;
  | import javax.naming.Context;
  | import javax.naming.InitialContext;
  | 
  | 
  | public class JNDITest {
  | 
  | private Context context = null; 
  | private Properties contextProperties = null;
  | 
  | public JNDITest() {
  | }
  | 
  | public void connect() throws Exception {
  | if(context == null) {
  | context = contextProperties == null ? new 
InitialContext() : new InitialContext(contextProperties);
  | System.out.println(Context +context+);
  | System.out.println( jndi.properties);
  | for(Object key : context.getEnvironment().keySet()) {
  | 
System.out.println(key+=+context.getEnvironment().get(key));
  | }
  | System.out.println();
  | System.out.println();
  | }
  | }
  | 
  | public Object loadBean(String key) throws Exception {
  | Object proxy = null;
  | try {
  | proxy = context.lookup(key);
  | } catch(Exception excp) {
  | System.out.println(Key+key+ Proxy+proxy+ 
Exception+excp.getMessage()+);
  | throw excp;
  | }
  | System.out.println(Proxy+key+ 
class+proxy.getClass().getName()+);
  | return proxy;
  | }
  | 
  | 
  | public static void main(String[] args) throws Exception {
  | JNDITest test = new JNDITest();
  | test.connect();
  | test.loadBean(/CSDatabase/ServerWebClientRemote/remote);
  | }
  | }
  | 



Additional information:

- My EAR does not use JBoss-specific JARs (i want to stay portable). 

  | hibernate-annotations.jar (for setting indexes)
  | log4j.jar
  | commons-beanutils-1.8.0.jar
  | javaee.jar
  | jsf-impl.jar
  | jsf-api.jar
  | jstl-1.2.jar
  | 

- My J2SE client only imports the necessary jars 

  | jnp-client.jar
  | commons-logging.jar
  | jboss-logging-spi.jar
  | log4j.jar
  | slf4j-jboss-logging.jar
  | jboss-messaging-client.jar
  | jboss-javaee.jar
  | jboss-aop-client.jar
  | jboss-mdr.jar
  | 



Thanks in advance

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

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


[jboss-user] [JBoss Tools (users)] - Re: Resource messages not displayed in JBoss Tools Visual Ed

2009-06-05 Thread tdtappe
YES! :-)
Can I leave it there (as a workaround) or are there any drawbacks?
Just out of curiosity: It should work without, right?

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

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


[jboss-user] [JBoss jBPM] - Re: notifying jbossesb services when a JBPM workflow is canc

2009-06-05 Thread kukeltje
create an event-handler on the process-end event (or cancel, please check 
that). From the action in the event-handler, you can do anything you can do in 
Java. You could e.g. create a token, put that in a totally independent esb node 
and have that node do something.

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

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


[jboss-user] [JBoss Tools (users)] - Re: how to assign seam project from SVN

2009-06-05 Thread max.ander...@jboss.com
when you imported the project it *created* a new directory ? 

Are you sure this wasnt more when you deployed the project ?

Might be that your server configuration (double click the server in server 
view) is pointing to the wrong directory ?

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

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


[jboss-user] [EJB/JBoss] - Re: dependence of libraries - the wide scope of EAR

2009-06-05 Thread je.a.le
Your ear tree doesn't look right (you should use netbeans...)

Here one :

zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/META-INF
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/META-INF/application.xml
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/META-INF/jboss-app.xml
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/META-INF/MANIFEST.MF
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/jai_codec.jar --lib ejb 
and war depend on (if not on class path, e.i. in a jboss lib dir already)
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/jai_core.jar
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/JaiExt.jar
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/JBoss4.dpf
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/jstl.jar
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/lucene-analyzers-2.3.2.jar
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/lucene-core-2.3.2.jar
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/mlibwrapper_jai.jar
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/VostokStringUtilLib.jar
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-ejb.jar  --- jar 
with ejb
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-ejb.jar/META-INF
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-ejb.jar/META-INF/jboss.xml
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-ejb.jar/META-INF/MANIFEST.MF
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-ejb.jar/webtv --- 
tree of classes...
 (etc)
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-war.war --- war 
archive !
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-war.war/META-INF
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-war.war/META-INF/MANIFEST.MF
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-war.war/WEB-INF
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-war.war/WEB-INF/web.xml
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-war.war/WEB-INF/portlet.xml
 (jsp, xml for jboss portal , etc...)
zip:/opt/jboss-4.2.1.GA/server/all/deploy/WebTv.ear/WebTv-war.war/index.jsp -- 
everything that's public inside this domain

content of application.xml :

  | ?xml version=1.0 encoding=UTF-8?
  | application version=1.4 xmlns=http://java.sun.com/xml/ns/j2ee; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd;
  |   display-nameWebTv/display-name
  |   module
  | ejbWebTv-ejb.jar/ejb
  |   /module
  |   module
  | web
  |   web-uriWebTv-war.war/web-uri
  |   context-root/WebTv-war/context-root
  | /web
  |   /module  
  | /application
  | 

content of jboss-app.xml :

  | ?xml version=1.0 encoding=UTF-8?
  | jboss-app
  | loader-repository 
  |   webtv:archive=WebTv.ear
  | /loader-repository
  | /jboss-app
  | 


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

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


[jboss-user] [JBoss Messaging] - Re: java.lang.NullPointerException at org.jboss.jms.client.c

2009-06-05 Thread dejanb
The standalone JBM service is always deployed and that server is untouched.

Removing the JBM service consists of deleting the messaging directory from the 
servers' deploy directory (restarting the servers after that).

Removing the JBM service from all of the other servers causes the NPE. Playing 
with the different deployments, the difference was whether the connection 
factories were deployed or not.

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

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


[jboss-user] [JBoss jBPM] - Re: Desperately seeking 3.1.4 - 3.2.3 migration notes

2009-06-05 Thread tmu...@firstbest.com
The release notes included in the jbpm-jpdl-3.2.3.zip file contain the very 
same SQL migration steps as those posted on source forge. So, my questions 
remain. And of upmost importance...

- why is the retries_ column explicitly set to zero for all of the the records 
migrated from the jbpm_timer table to the jbpm_job table (rendering the jobs 
unacquirable)?



Why does

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

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


[jboss-user] [EJB/JBoss] - Re: Accessing JBoss service from EJB

2009-06-05 Thread je.a.le
vlotarev wrote : Dear guru!
  | 
  | Coudl you please tell me how is it possible to access JBoss service (POJO 
marked with @Service and @Local/@Remote) from EJB? Is it possible just to 
inject such bean? What will be a JNDI name of a @Service POJO?
  | 
  | Thanks in advance,
  | Vadim

from an ejb, if the service has @Service   @Remote | @Local, simply use @EJB :

  | @Service(name = InitMarchePublicJMX, objectName = 
org.portal.marchep.jmx.initialization:name=InitMarchePublicJMX,type=ManagementInterface)
  | @Management(InitMarchePublicJMXManagement.class)
  | @Local(InitMarchePublicJMXLocal.class)
  | public class InitMarchePublicJMX implements InitMarchePublicJMXManagement, 
InitMarchePublicJMXLocal {
  | 
  | }
  | 
  | in the ejb : 
  | @EJB
  | InitMarchePublicJMXLocal jmxinstance;
  | 
  | 

if the  service is a jmx (@management) (like the one of the code over) :

  | MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
  | InitMarchePublicJMXManagement   bean = () 
MBeanProxy.get(InitMarchePublicJMXManagement.class,
  | new OjectName(
  | 
org.portal.marchep.jmx.initialization:name=InitMarchePublicJMX,type=ManagementInterface),
  |  mbeanServer);
  | 

and last, you can go with :

  | MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
  | ObjectName mbeanName = new ObjectName(Config.FILTRELINGUISTIQUEJMX);
  | String str = (String) mbeanServer.invoke(mbeanName, FiltrerList, new 
Object[]{str, true}, new String[]{java.lang.String, boolean});
  | 
What's really interesting with this one is you do not need dependencies, though 
you should stick with default type.

A+


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

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


[jboss-user] [JBoss jBPM] - Re: Desperately seeking 3.1.4 - 3.2.3 migration notes

2009-06-05 Thread kukeltje
BUT TRY IT IN A TEST SYSTEM FIRST And use it at your own risk, I'm just a   
;-)

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

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


[jboss-user] [JBoss Tools (users)] - Re: Resource messages not displayed in JBoss Tools Visual Ed

2009-06-05 Thread mareshkau
No, the message resolution isn't works without message bundle definition.

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

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


[jboss-user] [JBoss Messaging] - Re: Topic hierarchy support in JBM 2.0 ?

2009-06-05 Thread gjeudy
I'm looking into installing JBM 2.0 with a JBoss 4.2.2 installation. Is that 
possible? I see the quickstart guide only give JBoss 5 or stand-alone 
installation instructions.

Thanks!
-Guillaume

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

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


[jboss-user] [Beginners Corner] - Re: JB Security + JB Identity

2009-06-05 Thread PeterJ
OK, what you need then is a way to hook up the access control info in your 
web.xml with some authentication mechanism. For that, you need a login module. 
You can read up about it in the docs, the security chater, probably starting 
with this 
[url][http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/4/html/Security_on_JBoss-Defining_Security_Domains.html/url]

Essentailly, you need to do two things. First, you need to setup an 
application-policy entry in server/xx/conf/login-config.xml. This entry 
describes how authentication will take place. That file has several examples. 
Then you need to create a WEB-INF/jboss-web.xml file in your web app and 
identify the security domain that you set up in login-config.xml.

Here is a post that appears to have all of the pieces, using a database to 
store the authentication data:
http://www.jboss.org/index.html?module=bbop=viewtopict=154350



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

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


[jboss-user] [JBossWS] - Re: JBossWS 3.1.2 (Native) released

2009-06-05 Thread kurtstam
I noticed the deploy target to jboss4.2 was dropped for this release. Can I 
still run 3.1.2 on jboss4.2?

thx,

--Kurt

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

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


[jboss-user] [JBoss jBPM] - Re: Desperately seeking 3.1.4 - 3.2.3 migration notes

2009-06-05 Thread kukeltje
The db migration script is from the moment that 3.2 GA became available. Might 
be that between 3.2 GA and 3.2.3 something changed in the jBPM code that makes 
it unusable as it is. 

From the code (I assume you analysed that to) I see inital jobs get retries=1 
and the select statement does indeed a 0, so try setting it to 1 for jobs 
that are have not run yet

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

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


[jboss-user] [JBoss Cache: Core Edition] - Problem in persisting HashMap in cache

2009-06-05 Thread sridhar_ratna
My requirement is that , i need to group couple of objects together and process 
them.
the group size may be small or may be some thousands.
On certain scenarios the objects may be removed from current group and placed 
in existing group or  new group will get created.

As there is a lot of overhead for jboss cache in handling large key value pairs 
under a node, i designed my application in such a way that, I'll populate a 
HashMap of key value pairs and put in under cache node with dummy key 0. This 
way given me very high performance and persistence speed with JBDM as 
persistence store.

When i populate the entire HashMap t oncewith 1000 object  and persisted in 
cache, the data file size is around 100K. and its perfect.

But when i repeated the population of cache in iteratively i mean gradually, 
with the same 1000 objects, the data file is grown to 30MB. how bad.

one step population code is

  | public class TestCache {
  | private CacheLong, Object cache = null;
  | 
  | public TestCache(){
  | try {
  | CacheFactoryLong, Object factory = new 
DefaultCacheFactoryLong, Object();
  | String cacheConfigFile = cacheloader.xml;
  | cache = factory.createCache(cacheConfigFile);
  | cache.create();
  | cache.start();
  | 
  | } catch (ConfigurationException e) {
  | } catch (CacheException e) {
  | }
  | }
  | 
  | public void populateCache(){
  | 
  | MapLong, Object empMap= new HashMapLong, Object();
  | for(long i=1; i = 1000; i++){
  | Employee emp = new Employee(i,Test name +i,test 
region +i);
  | empMap.put(i, emp);
  | }
  | 
  | NodeLong, Object collNode = 
cache.getRoot().addChild(Fqn.fromElements(test,emp,cache));
  | collNode.put(0L, empMap);   
  | cache.stop();
  | 
  | }   
  | public static void main(String[] args) {
  | TestCache tc= new TestCache();
  | tc.populateCache();
  | 
  | }
  | }
  | 


the second program which kept iteratively is

  | public class TestCache {
  | private CacheLong, Object cache = null;
  | 
  | public TestCache(){
  | try {
  | CacheFactoryLong, Object factory = new 
DefaultCacheFactoryLong, Object();
  | String cacheConfigFile = cacheloader.xml;
  | cache = factory.createCache(cacheConfigFile);
  | cache.create();
  | cache.start();
  | } catch (ConfigurationException e) {
  | } catch (CacheException e) {
  | }
  | }
  | 
  | public void populateCache(){
  | MapLong, Object empMap= null;
  | for(long i=1; i = 1000; i++){
  | Employee emp = new Employee(i,Test name +i,test 
region +i);
  | NodeLong, Object collNode = 
cache.getRoot().getChild(Fqn.fromElements(test,emp,cache));
  | 
  | if(collNode == null){
  | collNode = 
cache.getRoot().addChild(Fqn.fromElements(test,emp,cache));
  | }
  | 
  | empMap = (MapLong, Object)collNode.get(0L);
  | if(empMap == null)
  | empMap= new HashMapLong, Object();
  | 
  | empMap.put(i, emp);
  | collNode.clearData();
  | collNode.remove(0L);
  | collNode.put(0L, empMap);
  | }
  | 
  | cache.stop();
  | }   
  | 
  | public static void main(String[] args) {
  | TestCache tc= new TestCache();
  | tc.populateCache();
  | 
  | }
  | 
  | }
  | 
  | 

configuration file is


  | ?xml version=1.0 encoding=UTF-8?
  | jbosscache xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xmlns=urn:jboss:jbosscache-core:config:3.0
  | 
  | transaction
  | 
transactionManagerLookupClass=org.jboss.cache.transaction.GenericTransactionManagerLookup
 /
  | locking
  | isolationLevel=REPEATABLE_READ
  | lockParentForChildInsertRemove=false
  | lockAcquisitionTimeout=2
  | nodeLockingScheme=mvcc
  | writeSkewCheck=false
  | concurrencyLevel=500/
  | invocationBatching enabled=true/
  | jmxStatistics enabled=true/
  | loaders passivation=false shared=false
  | preload
  | node fqn=/ /
  | /preload
  | loader class =org.jboss.cache.loader.jdbm.JdbmCacheLoader
  | async=false fetchPersistentState=true 
ignoreModifications=false 
  |

[jboss-user] [JBoss jBPM] - JBPM sharing DB connection with Spring

2009-06-05 Thread Thinkstream09
Hello,
Does anyone know the easy way to force JBPM to use database connections 
configured through Spring/Hibernate.
Currently my JBMP program does it the standard way:
   string name='resource.hibernate.cfg.xml' value='hibernate.cfg.xml' /

and then inside hibernate.cfg.xml 

   property   
name=connection.urljdbc:oracle:thin:@208.187.32.100:1521:tdev/property
  | etc.

Inside Spring we have the standard configuration:
bean id=DbPropertyConfigurer
  | 
class=org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
  | property name=location value=jdbc.properties /
  |   /bean
  | 
  |   bean id=dataSource class=org.apache.commons.dbcp.BasicDataSource
  | destroy-method=close
  | property name=driverClassName
  |   value${database.driver}/value
  | /property
  | property name=url
  |   value${database.url}/value
  | /property
  | property name=username
  |   value${database.user}/value
  | /property
  | property name=password
  |   value${database.password}/value
  | /property
  |   /bean
  | 
How do I tell JBPM to use the same connection parameters as the ones in Spring?

As a followup question, how do I configure connection sharing (and thus tsx 
management) between Spring-configured beans and the DB operations within my 
JBPM code?
I do not want to springy-fy my entire JBPM code if I can avoid it.

I'd appreciate any hints


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

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


[jboss-user] [JBoss Tools (users)] - Re: Resource messages not displayed in JBoss Tools Visual Ed

2009-06-05 Thread tdtappe
But it works without at runtime.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4235720
___
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 run JBoss AS as Windows Service

2009-06-05 Thread PeterJ
anonymous wrote : JAVA_HOME is set :

Where is it set, in the user or the system properties? Based on the console log 
you posted earlier I suspect it is set in user properties - it should be set in 
system properties.

anonymous wrote : Maybe the run.conf.bat is not taken into account when 
starting as a service

Again, looking at the console log I see this:

Calling C:\_dev\jboss-5.1.0.GA\bin\run.conf.bat

so I am not sure why the options are not being picked up in run.conf.bat.

anonymous wrote : I also notice that declaring the -Djboss.bind.adress in 
run.conf.bat isn't enough 

That is because the -b option sets more than the jboss.bind.address; you can 
look at the source code to see the other things being set from -b.


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

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


[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php

2009-06-05 Thread PeterJ
Please don't ask the same question in multiple locations.

Also, this topic has all kinds of information on setting up PHP; why aren't you 
following the suggestions made?

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

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


[jboss-user] [JBoss Tools (users)] - Re: how to assign seam project from SVN

2009-06-05 Thread nickboldt
Or your server's not on :80, but on :8080 or some other port? (try 
http://localhost:8080/earfilename)

Or you have some firewall preventing the port it's using from being accessible?

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

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


[jboss-user] [JBoss jBPM] - Re: Desperately seeking 3.1.4 - 3.2.3 migration notes

2009-06-05 Thread tmu...@firstbest.com
Yes, I did look at the code and the select statement and observed the same 
thing (that retries_ must be  0 for a job to be considered acquirable). After 
changing the statement that migrates data from jbpm_timer to jbpm_job such that 
retries_ is set to 1 (instead of 0), my jobs ran (as required). 

That said, can someone from the jbpm group post an updated migration script 
that is in line with the code as of 3.2.3?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Jboss memory settings on 64 bit server

2009-06-05 Thread PeterJ
Do you really needs 16GB of heap? Have you done any performance testing to see 
what the actual memory requirements are? Cleaning up a 16GB heap, or even a 1GB 
young generation, will take time. And using the CMS collector will not reduce 
the young generation pauses. The CMS collector does pause the app twice for 
object marking; I have no idea how long it will take to mark a 16 GB heap.

Ideally, you want the smallest heap possible that does not greatly negatively 
impact your performance.  In this case I think you have run into the more is 
not better anti-pattern.

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

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


[jboss-user] [Beginners Corner] - Re: confused about System Threads Pool

2009-06-05 Thread PeterJ
Because the ThreadPool has nothing to do with the HTTP threads - those are two 
different pools controlled by two different settings.

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

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


[jboss-user] [Beginners Corner] - Re: confused about System Threads Pool

2009-06-05 Thread PeterJ
And in addition there are many threads not in either of those pools. For 
example, the JVM itself runs several threads which are included in the 
ActiveThreadCount.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: JNDI-lookup returns

2009-06-05 Thread PeterJ
I will go out on a limb (because I have not run you code that prints out the 
class for the looked-up EJB) and declare that this is not a problem. When 
accessing an EJB remotely, you get a proxy to the EJB. You should be able to 
cast the resulting object to the remote interface.

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

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


[jboss-user] [JBoss jBPM] - Re: mail.class.name Delegation

2009-06-05 Thread ngtdave
Yeah, the delegation is set in the DB at deploy time. So if you change the 
configuration, you'll want to redeploy your process definitions. (Or I guess 
you could update the db.)

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

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


[jboss-user] [JBossWS] - publish https endpoints for non-secure service behind ssl pr

2009-06-05 Thread phadnism
Running JBoss 4.3 EAP

We need to be able to publish https endpoint/soap address locations for a web 
service behind an ssl proxy. If we declare the service as secure to do that, 
when a request comes in over ssl, the proxy terminates ssl and passes http to 
jboss which throws a redirect as it's not secure.

If we publish as non-secure, we get http endpoints. if client accesses over 
http, the proxy throws a redirect to https (port 80 is not open). the soap 
client does not follow redirects as the http spec forbids automated clients to 
follow redirects on POST.

So we basically need a way to publish secure urls while still declaring the 
service as non-secure.

I tried setting below in jboss-beans.xml :

${jboss.bind.address}
true
443

This does not rewrite the protocol to https/443.



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

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


[jboss-user] [JBossWS] - Re: publish https endpoints for non-secure service behind ss

2009-06-05 Thread phadnism
Guess I lost xml tags, above values are for:

webServiceHost
modifySOAPAddress
webServiceSecurePort


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

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


[jboss-user] [JCA/JBoss] - MySql XA Datasource with JBoss 5.1.GA

2009-06-05 Thread mdesignz
Hello, I have an existing Seam 2.1.2.CR2 application with a MySql XA datasource 
using the 5.1.7 MySql connector that works fine under JBoss 4.2.3.GA.  When I 
deploy under 5.1.GA, it complains with the below exception.  I didn't notice an 
XA example in the 5.1.GA distribution...is it supported?   Any suggestions on 
what the issue might be?  Thanks.

13:32:06,865 WARN  [JBossManagedConnectionPool] Throwable while attempting to 
get a new connection: null
  | org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (org.jboss.resource.JBossResourceException: Could not find 
accessor on XADataSource: ; - nested throwable: 
(java.lang.NoSuchMethodException: 
com.mysql.jdbc.jdbc2.optional.MysqlXADataSource.setJdbc(java.lang.String)))
  | at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:465)
  | at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:409)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267)
  | at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:622)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)

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

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


[jboss-user] [Beginners Corner] - Re: JB Security + JB Identity

2009-06-05 Thread mad_rug
Thanks again, PeterJ

The topic you linked is very useful, I intend to use form/DBLogin, so this will 
come in hand. The 
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch8.chapter.html page is a 
good reference.
I looked at Identity docs, and SAML is not useful for be, so I'll leave it 
alone (I thought it had another purpose).

I could not find Security documentation (except the one provided with Portal 
and the one above), and I'd like to know better what features it provides. 
Sorry, but I really couldn't find any clarifying docs about what Security 
project can do out-of-the-box or provide as default implementation. I was 
expecting it could offer a standard DB schema for auth/roles, allowing certain 
customization, like Portal does when it is first used, speeding up app dev.
Can you clarify this?

If such default security implementation is not part of Security project itself 
but an addition by Portal, maybe I will try using Portal and remove its uneeded 
features, and theme redesign.

I know it seems I'm just trying to avoid implementing Security code myself, but 
I fear for robustness of this code, and I believe it would be safer use a 
default implementation and polish it.

Thanks!

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

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


[jboss-user] [JBoss Tools (users)] - Re: Resource messages not displayed in JBoss Tools Visual Ed

2009-06-05 Thread akazakov
There is messages context variable in Seam which refers to 
messages.properties file by default.
So you don't have to use f:loadBundle or special settings in faces-config.xml 
to use resource bundles in Seam application. But it should work if you double 
it via f:loadBundle.
Our Visial Editor dosn't support this Seam component yet.

Please report it to JIRA as Feature Request if there is not such issue yet...

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Jboss-log4j.xml configuration

2009-06-05 Thread vinayarammo...@yahoo.com
Hi,

I am using Jboss 4.2.2GA
I am fine when I have log4j.properties file. But I want to switch to 
jboss-log4j.xml. I wanted to go with this because, this file can be hot 
deployed.

When trying to do this, I am getting the following error

16:50:32,765 ERROR [STDERR] log4j:ERROR A 
org.jboss.logging.appender.FileAppender object is not assignable to a 
org.apache.log4j.Appender variable.
16:50:32,765 ERROR [STDERR] log4j:ERROR The class org.apache.log4j.Appender 
was loaded by 
16:50:32,765 ERROR [STDERR] log4j:ERROR [WebappClassLoader
  delegate: false
  repositories:
/WEB-INF/classes/
-- Parent Classloader:
java.net.factoryurlclassloa...@1891732
] whereas object of type 
16:50:32,765 ERROR [STDERR] log4j:ERROR 
org.jboss.logging.appender.FileAppender was loaded by 
[org.jboss.system.server.noannotationurlclassloa...@10f6d3].
16:50:32,765 ERROR [STDERR] log4j:ERROR Could not instantiate appender named 
FILE.


My jboss-log4j.xml is

 
  
  
  
  
  
  !-- Rollover at midnight each day --
 
  !-- Rollover at the top of each hour
  param name=DatePattern value='.'-MM-dd-HH/
  --

  
 !-- The default pattern: Date Priority [Category] Message\n --
 

 !-- The full pattern: Date MS Priority [Category] (Thread:NDC) 
Message\n
 
  --
  
   

Is there any thing wrong with my file?


Thanks in Advance
Vinaya

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

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


[jboss-user] [JBoss Portal] - configuring Jboss XACML

2009-06-05 Thread xacmltester
Hi, I am trying to figure how to configure JBoss -- XACML package. I wond very 
much appreciate if someone could point me in the right direction here. I have 
looked at every documentation at JBoss, on the JBoss forums, and searched in 
Google. I found only the following information about this new package (see 
below). What I am looking for is what I need to what I need to set up for XACML 
package to work. 
--
My Questions are:
1. Such as dev. framework Studio, do I need to install JBoss Authorization 
Server, for example? )

2.  how I should configure Apache, Tomcat, and do I need them ?
3. What kind of rational database I should use and how to configure that one, 
and do I need one?
4. What is the difference between jbossxacml-2.0.3.jar and 
jboss-xacml-2.0.2.GA.jar packages?
--

I understand that this package is fairly new. Below is the information that I 
have gathered so far. See below.

***. main site for JBoss XACML with source code and docs, javadocs
http://www.jboss.org/jbosssecurity/download/index.html

***actual JBoss XACML documentation
http://www.jboss.org/file-access/default/members/jbosssecurity/freezone/releases/jbossxacml/2.0.2.GA/guide/pdf/jbossxacml.pdf

*** documentation about JBoss Authorization Server
that it is related to XACML
http://blog.jboss-portal.org/2009/02/jboss-authorization-server-public.html

 JBoss Security  Downloads  JBoss XACML Libraries
packages jbossxacml-2.0.3
http://www.jboss.org/jbosssecurity/downloads/JBoss%20XACML/

I would very much appreciate your reply with possible references that can 
answer my questions above. Thank you!
   




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

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


[jboss-user] [JBoss Portal] - configuring Jboss XACML

2009-06-05 Thread xacmltester
Hi, I am trying to figure how to configure JBoss -- XACML package. I wond very 
much appreciate if someone could point me in the right direction here. I have 
looked at every documentation at JBoss, on the JBoss forums, and searched in 
Google. I found only the following information about this new package (see 
below). What I am looking for is what I need to what I need to set up for XACML 
package to work. 
--
My Questions are:
1. Such as dev. framework Studio, do I need to install JBoss Authorization 
Server, for example? )

2.  how I should configure Apache, Tomcat, and do I need them ?
3. What kind of rational database I should use and how to configure that one, 
and do I need one?
4. What is the difference between jbossxacml-2.0.3.jar and 
jboss-xacml-2.0.2.GA.jar packages?
--

I understand that this package is fairly new. Below is the information that I 
have gathered so far. See below.

***. main site for JBoss XACML with source code and docs, javadocs
http://www.jboss.org/jbosssecurity/download/index.html

***actual JBoss XACML documentation
http://www.jboss.org/file-access/default/members/jbosssecurity/freezone/releases/jbossxacml/2.0.2.GA/guide/pdf/jbossxacml.pdf

*** documentation about JBoss Authorization Server
that it is related to XACML
http://blog.jboss-portal.org/2009/02/jboss-authorization-server-public.html

 JBoss Security  Downloads  JBoss XACML Libraries
packages jbossxacml-2.0.3
http://www.jboss.org/jbosssecurity/downloads/JBoss%20XACML/

I would very much appreciate your reply with possible references that can 
answer my questions above. Thank you!
   




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

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


[jboss-user] [Beginners Corner] - Re: JB Security + JB Identity

2009-06-05 Thread PeterJ
There is no standard schema for the database login server. As an example you 
can look at what it done for messaging - it uses a database login module and 
stores users and roles in the database. The db login module is made to be very 
generic so that you can use almost any schema to configure login, which is 
handy is you are already storing user info in the database.

I guess I fail to see what using Portal to do you security would buy you. The 
only thing it provides above the database login module is an access control  
mechanism which is applied to portals, pages and portlet instances. And it has 
some gotchas when it comes to defining access control. I think that if your 
access control is already defined in your web.xml, then the login module is all 
that you need.

I do have a resource that goes into some detail on JBoss AS security (even for 
the Portal), but it is not free. I can provide a link if you like.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Jboss-log4j.xml configuration

2009-06-05 Thread PeterJ
Where did you place this file?

By the way, when posting XML code, wrap it in code tags. To do this, select 
the text and click the Code button above the editor window. Also, click Preview 
and verify the formatting before clicking Submit.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Jboss memory settings on 64 bit server

2009-06-05 Thread ozguy
Hi Peter,

reason i have heap set high was to avoid out of memory exceptions.  
Whats the best way to use the 24g RAM that is available.

We are running lot of Web Apps and they all  need to store large amount of data 
such as session objects etc thats why i am using 16g heap.

If i restrict the heap size to say 4g, than  there is 20G ram not used by the 
server at all. Is this assumption correct?



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

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


[jboss-user] [JBoss jBPM] - JBPM Nested Fork/Joins Doesn't seem to work

2009-06-05 Thread philsegal
I am using nested fork/joins, I have 1 within the other. The Fork works, and i 
get two open tasks visible. However, neither join seems to work and I cannot 
work out why. Is this a restriction within JBPM? Is there any way to have 
nested fork/joins?

When I remove the internal fork/joins and just have a normal start - fork - 2 
tasks in parallel - join - task - end, it proceeds just fine. But with the 
inner f/j, it seems to wait on the join, rather than proceeding to the next 
task.

Any ideas? 

Many thanks
Phil

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

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


[jboss-user] [JBoss jBPM] - Re: how generate image for a process definitions file in jpd

2009-06-05 Thread maruthi.sura
i tried to download jBPM jPDL Designer 4.0.0.CR1 but i did not found a link.
in JIRA can came to know that jBPM jPDL Designer 4.0.0.CR1 is unrealeased 
version. can i know when is the stable version jBPM 4 will be released.

Thanks in advance
Maruthi Pramod

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss4.2.3GA class loading.

2009-06-05 Thread rishabh2u
Hi all,
i know there are many artickes abt jboss class loading on jboss 3/4. I found 
this http://www.jboss.org/community/wiki/JBossClassLoadingUseCases the best. 
However there is 1 point that i still am not clear on. Below is my 
understanding and doubts. Please comment on them:

If i scope my deployment, i understand that all this does is it puts my own 
classes in a higher preceedence than the same classes from other UCL's yeah? So 
regardless of Java2ParentDelegation value, if i need a class and its available 
in another UCL it will be loaded from there IF I dont have it in my UCL. Can 
someone please confirm that my understanding it correct. This is what I 
understood form the case 3 and 4 of the article.
Now the problems is that when i try to replicate this behaviour, i dont pick up 
classes form other UCL's in a scoped deployment and HAVE TO provide the class 
in my own deployment.

Also are the classes in /server//lib/ loaded by a UCL3 same as any application 
in the deploy directory ?

regards,
Rishabh.

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

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