[jboss-user] [JBoss jBPM] - BUILD FAILED and deployment failed: Internal server Error

2009-04-06 Thread mamidalasrinivas
When I Build  BPEL process  hello  example  , I am geting below error

xe8][0x6][0xc6][0xa7][0xf9]v[0x8e][0x7][0xe0][0xc4][0x...@5[0x1c]t[0xce]:[0xc9][
0xfd]D[0xa8][0x1c]{[0xb3][0x8e][0xf8]*[0xdd]^W[0x8][0x11][0xc3]^[0x97][0x9d]a[0x
97]p[0x99][0xf2][0xdd]0[0x9a]j[0x1d][0x81]?m}[0x84][0x96][0x1f][0x89]FS[0xc2][0x
89]l[0x1][0x92][0xee][0xc1][0xb9][0xfc][0x87][0xf5][0x94][0xf1]RN[0xde]7[0xeb][0
xbf]PK[0x1][0x2][0x14][0x3][\n]"
[deployprocess] 11:35:16,678 DEBUG [content] >> "[0x0][0x0][0x0][0x8][0x0][0xf]j
}7[0x6][0xdc][0x13][0xc5]?[0x2][0x0][0x0][0x9b][0x5][0x0][0x0][\n]"
[deployprocess] 11:35:16,678 DEBUG [content] >> "[0x0][0x0][0x0][0x0][0x0][0x0][
0x0][0x0][0x0][0x0][0x0][0xa4][0x81][0x0][0x0][0x0][0x0]hello.bpelPK[0x1][0x2][0
x14][0x3][\n]"
[deployprocess] 11:35:16,678 DEBUG [content] >> "[0x0][0x0][0x0][0x8][0x0][0xf]j
}7[0xb7][0xc6][0xa1]y[0xee][0x1][0x0][0x0][0xa5][0x4][0x0][0x0][\n]"
[deployprocess] 11:35:16,678 DEBUG [content] >> "[0x0][0x0][0x0][0x0][0x0][0x0][
0x0][0x0][0x0][0x0][0x0][0xa4][0x81]g[0x2][0x0][0x0]hello.wsdlPK[0x5][0x6][0x0][
0x0][0x0][0x0][0x2][0x0][0x2][0x0]p[0x0][0x0][0x0]}[0x4][0x0][0x0][0x0][0x0]"
[deployprocess] 11:35:16,678 DEBUG [content] >> "[\r][\n]"
[deployprocess] 11:35:16,678 DEBUG [content] >> "--"
[deployprocess] 11:35:16,678 DEBUG [content] >> "X6J-lx4RlPCjJ6ZxyI8tzOFSGn9aN5V
r8t"
[deployprocess] 11:35:16,678 DEBUG [content] >> "--"
[deployprocess] 11:35:16,678 DEBUG [content] >> "[\r][\n]"
[deployprocess] 11:35:17,961 DEBUG [header] << "HTTP/1.1 500 Internal Server Err
or[\r][\n]"
[deployprocess] 11:35:17,961 DEBUG [header] << "Server: Apache-Coyote/1.1[\r][\n
]"
[deployprocess] 11:35:17,961 DEBUG [header] << "Content-Type: text/html;charset=
utf-8[\r][\n]"
[deployprocess] 11:35:17,961 DEBUG [header] << "Content-Length: 2154[\r][\n]"
[deployprocess] 11:35:17,961 DEBUG [header] << "Date: Tue, 07 Apr 2009 06:05:17
GMT[\r][\n]"
[deployprocess] 11:35:17,961 DEBUG [header] << "Connection: close[\r][\n]"
[deployprocess] 11:35:17,976 DEBUG [content] << "JBossWeb/2.0
.0.GA - Error report HTTP Status 500 - type Exception reportmessage description The
server encountered an internal error () that prevented it from fulfilling this r
equest.exception java.lang.NullPointerException[\n]"
[deployprocess] 11:35:17,976 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.Wscomp
ileTool.getLocation(WscompileTool.java:240)[\n]"
[deployprocess] 11:35:17,976 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.Wscomp
ileTool.formatClasspath(WscompileTool.java:227)[\n]"
[deployprocess] 11:35:17,976 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.Wscomp
ileTool.callWscompile(WscompileTool.java:197)[\n]"
[deployprocess] 11:35:17,976 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.Wscomp
ileTool.generateJavaMappingImpl(WscompileTool.java:156)[\n]"
[deployprocess] 11:35:17,976 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.Wscomp
ileTool.generateJavaMapping(WscompileTool.java:143)[\n]"
[deployprocess] 11:35:17,976 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.WebMod
uleBuilder.callJavaMappingTool(WebModuleBuilder.java:264)[\n]"
[deployprocess] 11:35:17,976 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.WebMod
uleBuilder.buildModuleImpl(WebModuleBuilder.java:102)[\n]"
[deployprocess] 11:35:17,976 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.WebMod
uleBuilder.buildModule(WebModuleBuilder.java:84)[\n]"
[deployprocess] 11:35:17,976 DEBUG [content] << "[0x9]org.jbpm.bpel.web.Deployme
ntServlet.deployWebModule(DeploymentServlet.java:205)[\n]"
[deployprocess] 11:35:17,992 DEBUG [content] << "[0x9]org.jbpm.bpel.web.Deployme
ntServlet.doPost(DeploymentServlet.java:99)[\n]"
[deployprocess] 11:35:17,992 DEBUG [content] << "[0x9]javax.servlet.http.HttpSer
vlet.service(HttpServlet.java:710)[\n]"
[deployprocess] 11:35:17,992 DEBUG [content] << "[0x9]javax.servlet.http.HttpSer
vlet.service(HttpServlet.java:803)[\n]"
[deployprocess] 11:35:17,992 DEBUG [content] << "[0x9]org.jboss.web.tomcat.filte
rs.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)[\n]"
[deployprocess] 11:35:17,992 DEBUG [content] << "note The
 full stack trace of the root cause is available in the JBossWeb/2.0.0.GA logs.<
/u>JBossWeb/2.0.0.GA"

BUILD FAILED
E:\jbpm-bpel-1.1.GA\examples\common\bpel-build.xml:61: deployment failed: Intern
al Server Error




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223875#4223875

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223875
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - How do deploy old version WAR on Jboss5.x

2009-04-06 Thread higkoo
This packet can deploy on Jboss4.x ,but error on Jboss5.x.

What's the prblem and how to do it ?

anonymous wrote : 
  | 13:33:54,565 INFO  [TomcatDeployment] deploy, ctxPath=/, vfsUrl=higkoo.war
  | 13:33:54,565 ERROR [AbstractKernelController] Error installing to Start: 
name=jboss.web.deployment:w
  | ar=/ state=Create mode=Manual requiredState=Installed
  | org.jboss.deployers.spi.DeploymentException: Web mapping already exists for 
deployment URL vfsfile:/
  | D:/Server/jboss-5.0.0.GA/server/default/deploy/higkoo.war/
  | at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeplo
  | yment.java:192)
  | at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.ja
  | va:146)
  | at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
  | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
  | at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
  | at $Proxy36.start(Unknown Source)
  | at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
  | Action.java:42)
  | at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
  | Action.java:37)
  | at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim
  | pleControllerContextAction.java:62)
  | at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle
  | rContextAction.java:71)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC
  | ontextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
  | java:348)
  | at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext
  | .java:286)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
  | 4)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
  | 062)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
  | 84)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
  | at 
org.jboss.system.ServiceController.doChange(ServiceController.java:688)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:460)
  | at 
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
  | at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
  | at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra
  | ctSimpleRealDeployer.java:62)
  | 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.ja
  | va:1157)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
  | va:1178)
  | 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:1598)
  | at 
org.jboss.dependency.plugins.Abstr

[jboss-user] [JBoss Messaging] - Distributed messaging without clustering

2009-04-06 Thread f...@gmx.net
Hi,

is it possible to configure JBoss Messaging in a distributed way without 
clustering the application server beneath? I mean, like a message bus?

If so, where can I find more information about this?

(I am referring to the JBM version that is shipped with JBoss AS 5.0)

Kindly appreciate your help,
Frank

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223868#4223868

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223868
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Sending Messages from EJB using container transaction

2009-04-06 Thread eontech
Hello Everyone,

We have a requirement to send thousands of messages using EJB in a day. Thus 
every time a need arises to send a message, we have a dedicated session bean 
which will post message to the queue as part of EJB (container) transaction. We 
are using JBoss EAP 4.3.0. 
Our question is what will be the right connection factories to use. Currently 
we are using /ConnectionFactory to send messages but it seems that it does not 
uses container transaction. If we use session transacted session it sends 
message only if we explicitly commit the transaction and it seems to have two 
transactions running in parallel i.e. container transaction & JMS transaction 
which are independent of each other. Thus we used session transacted as false 
and AUTO_ACK true but with this we face another problem that messages are 
delivered to consumer even before the EJB i.e. container transaction finishes. 
Thus regardless the originating transaction was successful, complete or failed, 
the message is delivered to consumer which gives unreliable results

Our requirement is that message should be delivered to consumer only if the 
originating EJB transaction was successful else the message posted should be 
de-queued. The whole infrastructure should be fast to process the message.
We want to know what will be the most appropriate approach to get best 
performance and reliability

1. Which connection factory to use so that JMS uses Container transaction? 
Currently we are using /ConnectionFactory
2. Do we need to open connection every time we send a message or we can have a 
connection object initialized in post construct of Session bean. Currently we 
create it at post construct of session EJB
3. Do we need to create session every time we send a message or we can have a 
session object initialized in post construct of Session bean. Currently we 
create it every time.
4. What all points should we take care from performance tuning perspective. We 
are using MS-SQL Server 2005.


Best Regards,
Abhishek


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223867#4223867

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223867
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Jboss 4.2.3 Start Problem

2009-04-06 Thread higkoo
jboss-4.2.3.GA-jdk6 
jdk1.6.0_12
CentOS 5.2

/etc/hosts :
anonymous wrote : ::1   localhost.localdomain   localhost   vmlincn80ce5
/etc/sysconfig/network
anonymous wrote : NETWORKING=yes
  | NETWORKING_IPV6=no
  | HOSTNAME=vmlincn80ce5
error:
anonymous wrote : 
  | [r...@vmlincn80ce5 local]# /usr/local/jboss-4.2.3.GA/bin/run.sh 
  | =
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /usr/local/jboss-4.2.3.GA
  | 
  |   JAVA: /usr/local/jdk1.6.0_12/bin/java
  | 
  |   JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m 
-Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 
-Djava.net.preferIPv4Stack=true
  | 
  |   CLASSPATH: 
/usr/local/jboss-4.2.3.GA/bin/run.jar:/usr/local/jdk1.6.0_12/lib/tools.jar
  | 
  | =
  | 
  | 15:58:12,528 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 15:58:12,530 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: 
SVNTag=JBoss_4_2_3_GA date=200807181439)
  | 15:58:12,532 INFO  [Server] Home Dir: /usr/local/jboss-4.2.3.GA
  | 15:58:12,532 INFO  [Server] Home URL: file:/usr/local/jboss-4.2.3.GA/
  | 15:58:12,533 INFO  [Server] Patch URL: null
  | 15:58:12,534 INFO  [Server] Server Name: default
  | 15:58:12,534 INFO  [Server] Server Home Dir: 
/usr/local/jboss-4.2.3.GA/server/default
  | 15:58:12,534 INFO  [Server] Server Home URL: 
file:/usr/local/jboss-4.2.3.GA/server/default/
  | 15:58:12,535 INFO  [Server] Server Log Dir: 
/usr/local/jboss-4.2.3.GA/server/default/log
  | 15:58:12,535 INFO  [Server] Server Temp Dir: 
/usr/local/jboss-4.2.3.GA/server/default/tmp
  | 15:58:12,536 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 15:58:12,975 INFO  [ServerInfo] Java version: 1.6.0_12,Sun Microsystems Inc.
  | 15:58:12,976 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 
11.2-b01,Sun Microsystems Inc.
  | 15:58:12,976 INFO  [ServerInfo] OS-System: Linux 2.6.18-92.el5,amd64
  | 15:58:13,694 INFO  [Server] Core system initialized
  | 15:58:16,399 WARN  [BasicMBeanRegistry] 
javax.management.MBeanRegistrationException: preRegister() failed: 
[ObjectName='jboss.remoting:service=NetworkRegistry', 
Class=org.jboss.remoting.network.NetworkRegistry 
(org.jboss.remoting.network.networkregis...@5c435a3a)]
  | 15:58:16,420 ERROR [MainDeployer] Could not create deployment: 
file:/usr/local/jboss-4.2.3.GA/server/default/conf/jboss-service.xml
  | org.jboss.deployment.DeploymentException: - nested throwable: 
(java.lang.reflect.InvocationTargetException)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:226)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy4.install(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl

[jboss-user] [JBoss jBPM] - Re: Deploying a process - Actions

2009-04-06 Thread desson
boercher,

You are right, I'm deploying using Eclipse. Sorry for no give this information 
in the first post  :(

I did the sequence of operations below:
1 - Deploy a process that has one action, (Before deploy the process I cleared 
my database);
2 - Next I change the behaviour of this action;
3 - An after I start a process instance;
4 - So I checked that  the new altered code of action was executed. The version 
stored in database wasn't executed. 

I notice the problem of deploying ActionHandlers, mine aren't all selected too. 
Despite the actions are in the process definition.

Thanks


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223854#4223854

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223854
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Jbpm issues

2009-04-06 Thread rams.rapol
I was able to get past through this error. Check your maven script if you have 
mentioned xercesImpl dependancy with 'provided' scope. Remove the scope tag and 
it should work like a charm. 

-Sridhar

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223851#4223851

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223851
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Can't use MySql under JBOSSWS (Works under JBOSS)

2009-04-06 Thread cshannon
I have successfully deployed a MySql connection under JBoss, but when trying to 
reference the same connection under a JBoss-WS I get the error:

java.lang.RuntimeException: mapped-name is required for jdbc/MySqlDS of 
deployment .war

I have added the resource information to the web.xml and the jboss-web.xml 
files in the jbossws-sar but it doesnt work, the service still fails to deploy.

Does anyone know how to set up MySql under JBossWS?

Currently using JBOSS 5.0.1.GA and JBOSSWS 3.1.0.GA on Ubuntu and Java 6

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223850#4223850

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223850
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Custom login-module and EJB

2009-04-06 Thread smith.ge...@gmail.com
pcarrollnf suggested copying the security policy, and naming the copy 
BYPASSED-SECURITY. This works at the point where I was getting an error, but 
it's in a complex chain of events and towards the end the security principal 
suddenly becomes 'guest', like this is the next fallback position when it 
happens again.
So I've gone back to using 4.2.1 for now - too bad, since I wanted to use 5.0's 
webservices.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223848#4223848

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223848
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Seam Components Problem

2009-04-06 Thread Kragoth
I tried the GA release and I'm still having the same problem.

This is really frustrating me! Everything was working fine and now I can't find 
anyway to fix it.

I don't understand why it only finds my first 9 SEAM beans and then just stops.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223844#4223844

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223844
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM 3.2GA on Tomcat6 and MySql5

2009-04-06 Thread kukeltje
in JBoss AS it works... you probably did something wrong Volker... in plain 
tomcat I do not know

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223839#4223839

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223839
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Process Definition XML Validation Problems

2009-04-06 Thread kukeltje
uuhh move to 2.7.x then? Just a guess

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223838#4223838

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223838
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Initializing log4j in standalone EJB client

2009-04-06 Thread Ralph_
I'm accessing an EJB 3 business interface on jboss from a standalone client by 

Properties props = new Properties();
  | props.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
  | props.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming.client");
  | props.setProperty(Context.PROVIDER_URL, "jnp://localhost:1099");
  | Context ctx = new InitialContext(props); 
  | 
  | Test test = (Test) ctx.lookup("TestBean/remote"); 
This works, but the lookup produces the warning: 

log4j: WARN No appenders could be found for logger 
(org.jnp.interfaces.TimedSocketFactory) 
  | log4j: WARN Please initialze the log4j system properly
Has anybody an idea what I have to do in order to get rid of these warnings ? 

Any help is appreciated. Thanks. 

Ralph 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223833#4223833

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223833
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: NPE with SSO in cluster

2009-04-06 Thread bstansbe...@jboss.com
See 
http://fisheye.jboss.org/browse/JBossAS/branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/service/sso/TreeCacheSSOClusterManager.java?r1=60265&r2=72794
 for the change.

The JBoss Cache getChildrenNames() will return null if there are no children; 
in this case meaning there are no SSOs.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223831#4223831

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223831
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Problem with Apache loadbalancer, j_security_check and J

2009-04-06 Thread jmalkan
Sorry forgot to put code tag.


  | 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223826#4223826

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223826
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Problem with Apache loadbalancer, j_security_check and J

2009-04-06 Thread jmalkan
I have a similar problem. I don't know the real solution. If anyone knows, 
please let me know. I am on JBoss 4.2.1.

However, Uncomment following valve in deploy\jboss-web.deployer\server.xml 
worked.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223825#4223825

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223825
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: is jboss 4.2.3.GA certified for use with jdk 1.6.13

2009-04-06 Thread vhl2a
Thanks Peter. I am planning to start testing with jdk6.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223824#4223824

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223824
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Process Definition XML Validation Problems

2009-04-06 Thread rams.rapol
Hi,

i'm having same issue with xerces 2.6.2

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223823#4223823

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223823
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Deploying a process - Actions

2009-04-06 Thread boercher
I can only guess how you do the deployment since you do not tell. But if you 
are using the Deployment tab of the processdefinition in eclipse then you can 
select the stuff to deploy. Unfortunately the ActionHandlers are not selected 
by default and I have to do the selection on every deployment. But as far as I 
don't forget this it works.

Perhaps you have to provide more info.

Regards,
Volker

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223819#4223819

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223819
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: JBoss Connection Pooling Problem With Unisys DMS-II JDBC

2009-04-06 Thread PeterJ
Are you sure the app is releasing the connection when it is done with it? Have 
you tracked the connection usage using the 
jboss.jca:service=ManagedConnectionPool,name=DmsiiMyDB-DS MBean? If the app 
does not release the connections, then yes when it attempt to get a fourth 
connection it will be blocked.

Once all three connections have been established, those connections will remain 
active until they time out after being unused. And setting the timeout to 1 
minute is not a good idea - usually 10-15 minutes is better.

We have run the specjappserver benchmark against the DMSII JDBC driver and have 
not had issues with it releasing connections.

I am going to assume that you have purchased support for JBoss from Unisys (I 
know you must have such support for DMSII). It might be better it you opened a 
trouble report with Unisys, then the guys who work on the JDBC driver can help 
you (it's been many years since I worked on that...)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223818#4223818

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223818
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - NPE with SSO in cluster

2009-04-06 Thread prabhat....@jboss.com
I have a 2-node cluster with EAP 4.3 CP04 running portal with apache mod_jk in 
front. I have turned on org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn 
in jboss-web.deployer. When failover happens, I see following in server log:

4:59:18,550 ERROR [TreeCacheSSOClusterManager] Caught exception cleaning 
sessions from dead cluster members from SSOs
  | java.lang.NullPointerException
  |at 
org.jboss.web.tomcat.service.sso.TreeCacheSSOClusterManager$DeadMemberCleaner.run(TreeCacheSSOClusterManager.java:1493)
  |at 
org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:148)
  |at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:756)
  |at java.lang.Thread.run(Thread.java:595)
  | 

Thanks for creating https://jira.jboss.org/jira/browse/JBPAPP-1865. What could 
be the cause? 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223816#4223816

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223816
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: is jboss 4.2.3.GA certified for use with jdk 1.6.13

2009-04-06 Thread PeterJ
That binary was compiled with JDK 6*, so it is impossible to run it on JDK 5.

*The JBoss AS-specific code was so compiled, but JBoss AS includes many 
libraries, including libraries from other JBoss projects, that were compiled 
with JDK 5. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223813#4223813

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223813
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: ResourceException messages improve

2009-04-06 Thread PeterJ
I would gladly open a JIRA and attach a patch, but once again I find that I 
have just read-only access to JIRA - I cannot create new issues, nor comment on 
existing issues. So Adrian, could you open a JIRA? The patch follows (should be 
good for 5.0.x and 5.1.x):

Index: BaseConnectionManager2.java
  | ===
  | --- BaseConnectionManager2.java (revision 86861)
  | +++ BaseConnectionManager2.java (working copy)
  | @@ -438,7 +438,7 @@
  |}
  |  
  |// If we get here all retries failed, throw the lastest failure
  | -  throw failure;
  | +  throw new ResourceException("Unable to get managed connection for 
datasource " + jndiName, failure);
  | }
  | 
  | public void returnManagedConnection(ConnectionListener cl, boolean kill)

I could not get the the code in InternalManagedConnectionPool to add in the 
JNDI name because it did not know it. Based on Eclipse, and on the compiler, 
the only way to get to InternalManagedConnectionPool.getConnection() is from 
BaseConnectionManager2.getManagedConnection() (via 
ConnectionListener.getConnection()). Of those three, only 
BaseConnectionManager2 knew the JNDI name. The choice was either passing the 
JNDI name along (by changing the method signatures) or adding the name in at 
BaseConnectionManager2. Then I noticed that 
BaseConnectionManager2.getManagedConnection rethrows the exceptions it catches 
and that make it easy to layer on another exception which did name the data 
source.

Here is an example of the exception:

2009-04-06 14:03:29,169 DEBUG [org.hibernate.util.JDBCExceptionReporter] 
(http-127.0.0.1-8080-3) Cannot open connection [???]
  | org.jboss.util.NestedSQLException: Unable to get managed connection for 
datasource jdbc/jsfDS; - nested throwable: (javax.resource.ResourceException: 
Unable to get managed connection for datasource jdbc/jsfDS)
  |   at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
  |   at 
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:46)
  |   ***lots of lines deleted***
  |   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  |   at java.lang.Thread.run(Thread.java:619)
  | Caused by: javax.resource.ResourceException: Unable to get managed 
connection for datasource jdbc/jsfDS
  |   at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:441)
  |   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)
  |   ... 91 more
  | Caused by: javax.resource.ResourceException: No ManagedConnections 
available within configured blocking timeout ( 1 [ms] )
  |   at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:295)
  |   at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:644)
  |   at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
  |   ... 95 more

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223811#4223811

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223811
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread ALRubinger
Also, have a look at http://www.jboss.org/jbossejb3/docs/. :)

S,
ALR

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223807#4223807

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223807
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread yetti
Okay, I'm about to drink a pint of windshield wiper fluid. If Peter or anyone 
else can help me, I'm forever grateful.

I have created a new standard Java project, named 
com.acmeco.serverapp.ftp.client, that sits next to the EJB3 app in my Eclipse 
workspace.

I have created a jndi.properties file in the build path that has the data Peter 
suggested (even though I'm already hardcoding this info in the class itself 
below).

I have created a new class in the default package called HelloClientPOJO.java. 
Here is the code:

import javax.naming.InitialContext;
  | import javax.naming.Context;
  | import javax.naming.NamingException;
  | import java.util.Properties;
  | import javax.rmi.PortableRemoteObject;
  | 
  | import com.acmeco.serverapp.ftp.ejb3.*;
  | 
  | public class HelloClientPOJO {
  | 
  | FTPBean _ftpbean;
  | 
  | public HelloClientPOJO(){
  | try{
  | Context jndiContext = getInitialContext();
  | Object ref = 
jndiContext.lookup("com.acmeco.serverapp.ftp.ejb3.FTPBeanRemote");
  | _ftpbean = (FTPBean)ref;
  | }catch (javax.naming.NamingException ne){
  | //nothing
  | }
  | }
  | 
  | protected void sayHello() {
  | _ftpbean.doWork();
  | }
  | 
  | public static void main(String [] args)
  | {
  | HelloClientPOJO helloClient= new HelloClientPOJO();
  | helloClient.sayHello();
  | }
  | 
  | // developed for JBoss only. this is vender dependency
  | public static Context getInitialContext( ) throws 
javax.naming.NamingException {
  | Properties p = new Properties( );
  | p.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
  | p.put(Context.URL_PKG_PREFIXES, " 
org.jboss.naming:org.jnp.interfaces");
  | p.put(Context.PROVIDER_URL, "jnp://localhost:1099");
  | return new javax.naming.InitialContext(p);
  | }
  | }
  | 

Here is the error on the console when the POJO app runs:
Exception in thread "main" java.lang.NullPointerException
at HelloClientPOJO.sayHello(HelloClientPOJO.java:24)
at HelloClientPOJO.main(HelloClientPOJO.java:30)


I got this from this URL/tutorial:
http://biese.wordpress.com/2008/02/20/how-to-call-ejb3-from-jsp-servlet-and-stand-alone-application/

Neither the server nor the bean(s) have been changed, so my JBoss 
startup/deployment log and JNDI info is all the same as before. What am I doing 
wrong? What do I need to put into the content lookup to find the bean?

Please help! Once I get this working, I am going to write the world's most 
idiot proof Hello World for JBoss 5/EJB 3/Eclipse. I know a LOT of other people 
have/had problems with these issues. I want to end the confusion once and for 
all.

yetti

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223795#4223795

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223795
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: is jboss 4.2.3.GA certified for use with jdk 1.6.13

2009-04-06 Thread PeterJ
Just make sure that you download the binary that was built for JDK6: 
jboss-4.2.3.GA-jdk6.zip

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223796#4223796

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223796
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread yetti
ALRIGHT! I'M IN BUSINESS I will do a tutorial here that if the mods 
deign appropriate will be super helpful and hopefully prevent repeats of my 
troubles. Thank you very much ALR and Peter!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223806#4223806

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223806
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - JBoss Connection Pooling Problem With Unisys DMS-II JDBC Dri

2009-04-06 Thread acastanheira2001
Hi, people.

I tried to configure a datasource using Unisys DMS-II Jdbc Driver. I wrote the 
configuration below: 



 DmsiiMyDB-DS
 
jdbc:unisys:dmsql:Unisys.DMSII:resource=mydb;host=myHost;port=;
 com.unisys.jdbc.dmsql.Driver
 MyUser
 MyPassword
 1
 3
 1

 

Thats the situation: 
1) My application invokes the first connection to DMS-II database; JBoss opens 
this connection and the application works fine;
2) The application invokes the second and third connections, working fine;
3) When the application tries to invoke the connection again it fails;
4) At Unisys mainframe side the DMS-II query show 3 active connections.

My theory is: JBoss is not managing correctly connection pooling with DMS-II 
Jdbc Driver. Every time a connection is requested JBoss establish it with 
DMS-II Database and do not release it after use. When the number of requests 
reaches its maximum value new connections are refused and the old connection 
are not release for reuse. 

I am use JBOSS 4.2.0-GA-SP2 , JDK 1.5.0.15 .

Can anybody help me???

Thanks 

Andre

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223804#4223804

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223804
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread ALRubinger
That's a different error :)

EJB Proxies are castable to their business interface types, not to the bean 
implementation class.  So instead:

(com.acmeco.serverapp.ftp.ejb3.FTPBeanRemote)ref;

S,
ALR

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223803#4223803

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223803
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: is jboss 4.2.3.GA certified for use with jdk 1.6.13

2009-04-06 Thread vhl2a
Thank you very much Peter. 

The 4.2.3.GA readme notes says it is not thoroughly tested with jdk 6 ( 
probably this was at the time of release) as it is with jdk 5. may be silly 
question.. but.. do you know the binary you pointed is fully tested with jdk 6 ?




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223802#4223802

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223802
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread yetti
Peter,

Thanks man for the follow up, you're awesome. Seriously, bit time. I changed 
the code to:


  | public HelloClientPOJO(){
  | try{
  | Context jndiContext = getInitialContext();
  | Object ref = jndiContext.lookup("FTPBean/remote");
  | _ftpbean = (FTPBean)ref;
  | }catch (javax.naming.NamingException ne){
  | //nothing
  | }
  | }
  | 

Still no joy, same error in the console:

Exception in thread "main" java.lang.ClassCastException: $Proxy2
at HelloClientPOJO.(HelloClientPOJO.java:17)
at HelloClientPOJO.main(HelloClientPOJO.java:29)


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223800#4223800

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223800
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread PeterJ
Also, you never said that you were providing the JNDI initial context 
information within your code. If you do that you do not need a jndi.properties 
file - the file is ignored.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223799#4223799

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223799
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread PeterJ
You are still looking up the wrong name:

Object ref = jndiContext.lookup("FTPBean/remote");



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223798#4223798

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223798
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM 3.2GA on Tomcat6 and MySql5

2009-04-06 Thread boercher
I had troubles to get this to work too. For development purposes I disabled 
authentification completely by commenting out the  in 
$JBOSS_ROOT/server/default/deploy/jbpm/jsf-console.war/WEB-INF/web.xml

Regards,
Volker

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223790#4223790

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223790
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: How to subclass JDBCCacheLoader

2009-04-06 Thread genman
One thing that came to mind was to add a general configuration set that would 
allow Node key values to be mapped into specific table columns. (Sort of a poor 
man's JPA.) Data would be therefore stored in a way that was easily accessible 
and managed by your DBA.

But really the only practical use I considered would be for managing timestamps 
of data.

But instead of writing code, one thing you could consider is simply adding a 
update timestamp column to the cache loader's table, which is populated through 
a trigger. Then a background process run by your DBA could cull the data as 
necessary.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223792#4223792

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223792
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - is jboss 4.2.3.GA certified for use with jdk 1.6.13

2009-04-06 Thread vhl2a
I am using jboss 4.2.3.GA  on linux.  currently using 1.5.0_15. We want to 
upgrade it to 1.6.13. 

Is there anyway, I can find out whether  jboss 4.2.3.GA is certified on jdk 1.6 
( in specific 1.6.13)

I refered to following. But if someone has more updated info. please let me 
know.

http://www.jboss.org/community/docs/DOC-10809

http://www.jboss.com/products/platforms/application/testedconfigurations/

http://svn.alagad.com/tools/readme.html


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223791#4223791

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223791
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Deploying a process - Actions

2009-04-06 Thread desson
Hi all,

I've deployed a process and I saw that my actions are stored in the database 
(table jbpm_byteblock). So I think when I start a process, the versions of 
actions stored should be used, right? 

I've changed an action and I checked that the changed action wasn't deployed 
yet was being used for new instances of process. If the versions stored are not 
used, why actions are stored?  

Thanks in advance

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223786#4223786

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223786
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread yetti
Very cool. Thanks Peter for the help, I will give that a whirl. Once I get it 
built, I'd like to turn it into a good hello world so that others can get up to 
speed quickly.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223782#4223782

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223782
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Cannot run EAR seam project building from

2009-04-06 Thread bdlink
I tried creating a new project today using Eclipse 3.4.2,  JBT 3.0.GA plus 
3.0.1 alpha nightlies.
Mysql database, cleaned out 
C:\apps\workspace3.4.2\.metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_4.2_Server\
 from old projects.  

Created EAR project with File>New>Seam Web Project.  Chose Seam 2.1 using Seam 
2.1.1.GA

Deployed to JBoss AS 4.2.3.GA.  Got following startup info leading to error of 
two seam phase listeners installed.

There is one seam.jar in the EAR jar, and the web app references this one.

Startup follows (before browsing application home page, which throws exception: 
java.lang.IllegalStateException: No phase id bound to current thread (make sure 
you do not have two SeamPhaseListener instances installed))

11:03:23,718 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 11:03:23,718 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: 
SVNTag=JBoss_4_2_3_GA date=200807181417)
  | 11:03:23,718 INFO  [Server] Home Dir: C:\apps\jboss-as-4.2.3.GA
  | 11:03:23,734 INFO  [Server] Home URL: file:/C:/apps/jboss-as-4.2.3.GA/
  | 11:03:23,734 INFO  [Server] Patch URL: null
  | 11:03:23,734 INFO  [Server] Server Name: default
  | 11:03:23,734 INFO  [Server] Server Home Dir: 
C:\apps\jboss-as-4.2.3.GA\server\default
  | 11:03:23,734 INFO  [Server] Server Home URL: 
file:/C:/apps/jboss-as-4.2.3.GA/server/default/
  | 11:03:23,734 INFO  [Server] Server Log Dir: 
C:\apps\jboss-as-4.2.3.GA\server\default\log
  | 11:03:23,734 INFO  [Server] Server Temp Dir: 
C:\apps\jboss-as-4.2.3.GA\server\default\tmp
  | 11:03:23,734 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 11:03:23,984 INFO  [ServerInfo] Java version: 1.5.0_16,Sun Microsystems Inc.
  | 11:03:23,984 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.5.0_16-b02,Sun Microsystems Inc.
  | 11:03:23,984 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | 11:03:24,500 INFO  [Server] Core system initialized
  | 11:03:26,109 INFO  [WebService] Using RMI server codebase: 
http://localhost:8083/
  | 11:03:26,109 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:jboss-log4j.xml
  | 11:03:26,515 INFO  [TransactionManagerService] JBossTS Transaction Service 
(JTA version) - JBoss Inc.
  | 11:03:26,515 INFO  [TransactionManagerService] Setting up property manager 
MBean and JMX layer
  | 11:03:26,687 INFO  [TransactionManagerService] Starting recovery manager
  | 11:03:26,796 INFO  [TransactionManagerService] Recovery manager started
  | 11:03:26,796 INFO  [TransactionManagerService] Binding TransactionManager 
JNDI Reference
  | 11:03:28,796 INFO  [EJB3Deployer] Starting java:comp multiplexer
  | 11:03:30,609 INFO  [NativeServerConfig] JBoss Web Services - Native
  | 11:03:30,609 INFO  [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA 
(build=200803312044)
  | 11:03:31,421 INFO  [Embedded] Catalina naming disabled
  | 11:03:31,531 INFO  [AprLifecycleListener] The Apache Tomcat Native library 
which allows optimal performance in production environments was not found on 
the java.library.path: 
C:\apps\jdk1.5.0_16\bin;.;C:\WINDOWS\system32;C:\WINDOWS;native
  | 11:03:31,578 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on 
http-localhost%2F127.0.0.1-8080
  | 11:03:31,859 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on 
http-8443
  | 11:03:31,859 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on 
ajp-localhost%2F127.0.0.1-8009
  | 11:03:31,859 INFO  [Catalina] Initialization processed in 433 ms
  | 11:03:31,859 INFO  [StandardService] Starting service jboss.web
  | 11:03:31,859 INFO  [StandardEngine] Starting Servlet Engine: 
JBossWeb/2.0.1.GA
  | 11:03:31,906 INFO  [Catalina] Server startup in 40 ms
  | 11:03:32,000 INFO  [TomcatDeployer] deploy, ctxPath=/, 
warUrl=.../deploy/jboss-web.deployer/ROOT.war/
  | 11:03:32,421 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, 
warUrl=.../deploy/http-invoker.sar/invoker.war/
  | 11:03:32,531 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, 
warUrl=.../deploy/jbossws.sar/jbossws-context.war/
  | 11:03:32,609 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, 
warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
  | 11:03:33,375 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, 
warUrl=.../deploy/management/console-mgr.sar/web-console.war/
  | 11:03:33,734 INFO  [MailService] Mail Service bound to java:/Mail
  | 11:03:33,875 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
  | 11:03:33,921 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
  | 11:03:33,953 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
  | 11:03:33,984 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
  | 11:03:34,015 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jms/jms-ra.rar
  | 1

[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread PeterJ
Looks like your Eclipse projects contains both the EJB and the client. Make 
sure that you do NOT package the jndi.properties file into the EJB JAR file 
that gets deployed to JBoss AS.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223772#4223772

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223772
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread yetti
Peter,

So would it be easier for me to do a new project for the client, stuff the 
jndi.properties file in there and build it accordingly? Sorry about the n00b 
questions, but the hello world tutorials on Jboss/EJB3 aren't exactly the 
greatest.

yetti

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223775#4223775

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223775
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread yetti
Very cool. Thanks Peter for the help, I will give that a whirl. Once I get it 
built, I'd like to turn it into a good hello world so that others can get up to 
speed quickly.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223779#4223779

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223779
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread PeterJ
I often mix client and server code in the same project in Eclipse, but then I 
use Ant for packaging and deployment which lets me build things as I see fit.

But you could create a separate client project and have it depend on the EJB 
project.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223777#4223777

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223777
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread PeterJ
The name "FTPBean/remote" is listed:

+- FTPBean (class: org.jnp.interfaces.NamingContext)
  | | +- remote (class: Proxy for: com.acmeco.serverapp.ftp.ejb3.FTPBeanRemote)

The standard jndi.properties file is:

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.provider.url=jnp://localhost:1099
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces 
  | 

It needs to be in the classpath for your client.





View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223771#4223771

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223771
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread yetti
"PeterJ" wrote : One other thought - what is in your jndi.properties file, and 
is that file in your classpath?

I don't believe I have a jndi.properties file in the project.

com.acmeco.serverapp.ftp
+src
-+com.acmeco.serverapp.ftp.ejb3
---FTPBean.java
---FTPBeanTestCliebt.java
---FTPBeanLocal.java
---FTPBeanRemote.java
---IFTP.java
-+META-INF
---MANIFEST.MF
-+JRE System Library
-+Java EE 5 Libraries
-+Referenced Libraries
---(I included all JAR's in the jboss/client/ folder)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223770#4223770

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223770
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread yetti
Yes I read the second paragraph, and several times (not being a smart ass, 
trying to fix my problem! :) ) 

FTPBean/remote isn't listed (as apparent from the snippet I posted earlier), 
however, I've tried:

com.acmeco.serverapp.ftp.ejb3.FTPBeanLocal
com.acmeco.serverapp.ftp.ejb3.FTPBeanRemote
remote-com.acmeco.serverapp.ftp.ejb3.FTPBeanRemote
local-com.acmeco.serverapp.ftp.ejb3.FTPBeanLocal

Am I missing some context declaration thing? I'm new at this, but perhaps 
something like FTPBean/remote/com.acmeco.serverapp.ftp.ejb3.FTPBeanRemote or 
something?

I am learning JBoss as I go on a pet project. As soon as I can get this hello 
world demo going I plan to do some serious study. Thanks for replying.

yetti

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223767#4223767

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223767
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread PeterJ
One other thought - what is in your jndi.properties file, and is that file in 
your classpath?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223764#4223764

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223764
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread PeterJ
Did you read the second paragraph of my earlier reply?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223762#4223762

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223762
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread yetti
Peter,

Thanks for replying. Here's the tree I get doing what you suggested:

  +- FTPBean (class: org.jnp.interfaces.NamingContext)
  |   +- local (class: Proxy for: com.acmeco.serverapp.ftp.ejb3.FTPBeanLocal)
  |   +- remote (class: Proxy for: com.acmeco.serverapp.ftp.ejb3.FTPBeanRemote)
  |   +- remote-com.acmeco.serverapp.ftp.ejb3.FTPBeanRemote (class: Proxy for: 
com.acmeco.serverapp.ftp.ejb3.FTPBeanRemote)
  |   +- local-com.acmeco.serverapp.ftp.ejb3.FTPBeanLocal (class: Proxy for: 
com.acmeco.serverapp.ftp.ejb3.FTPBeanLocal)


So, I've tried everything I think listed above in my InitialContext with no 
success (same error as above). What am I doing stupid? :)

Thanks in advance,
yetti



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223760#4223760

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223760
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Multiple EAR deployment not working as documented (at all !)

2009-04-06 Thread paulsmith22221
I have 2 EARs that I wish to deploy in the same JBoss configuration. The EARs 
have identical contents except for the conf/log4j.xml file, the MySQL 
datasource file, and the META-INF/jboss-app.xml file. One of the files in each 
of the EARs is a JAR file (config.jar) containing POJOs and EJBs. config.jar is 
in the root level of the EARs.

When I deploy the EARs I get the error:

anonymous wrote : 
  | --- MBeans waiting for other MBeans ---
  | ObjectName: jboss.j2ee:module=config.jar,uid=31702491,service=EjbModule
  |   State: FAILED
  |   Reason: javax.management.InstanceAlreadyExistsException: 
jboss.j2ee:jndiName=ejb/CustBean,service=EJB already registered.
  | 
This article http://www.jboss.org/community/docs/DOC-9288 and others I have 
found led me to make the changes:

  | myear1.ear: META-INF/jboss-app.xml
  | 
  |com.mycompany:loader=myear1.ear 
  | 
  | 
  | myear2.ear: META-INF/jboss-app.xml
  | 
  |com.mycompany:loader=myear2.ear 
  | 
  | 
Section 2.2.2.4.2 of the documentation found here 
http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch2.chapter.html confirms 
what I have done is correct.

In default/deploy, my ear-deployer.xml has the contents:

  | 
  |
  |   true
  |   false
  |
  | 
  | 
The EARs have identical META-INF/application.xml files with contents:

  | 
  | 
  | eartest_w.war
  | test_root_ctx
  | 
  | 
  | 
  | 
  | config.jar
  | 
  | 
I want only one code base, and so having different JNDI names for my beans in 
each copy of config.jar is not something I want to do. The articles I have read 
suggest that what I want to do is possible, but I am clearly missing something. 
Any help therefore greatly appreciated!

Thanks,
Paul



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223759#4223759

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223759
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: JPA/Hibernate JBC usage

2009-04-06 Thread bstansbe...@jboss.com
Yeah, no worries. TBH you've earned big points with me by showing you are 
willing to dig into details, look at the code etc.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223757#4223757

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223757
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread PeterJ
One way to determine the JNDI name assigned to anything is to use JNDIView 
within the jmx console to view the names. Then you can look up the EJB using 
the correct name. 
http://www.jboss.org/community/docs/DOC-9583

I would guess that you want to look up the name "FTPBean/remote"

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223755#4223755

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223755
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread yetti
By the way, here is the error message I get when I run the console app:

---
javax.naming.NoInitialContextException: Need to specify class name in 
environment or system property, or as an applet parameter, or in an application 
resource file:  java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at 
com.acmeco.serverapp.ftp.ejb3.FTPBeanTestClient.main(FTPBeanTestClient.java:15)
---

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223751#4223751

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223751
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: [JBoss 5][Windows service] run JBoss 5.0.1 as Windows se

2009-04-06 Thread PeterJ
I usually make a copy of the service.bat file, say as service_jbas50.bat, and 
make the changes in there. I also change the script reference on this line:

jbosssvc.exe -imwdc %SVCNAME% "%DIRNAME%" "%SVCDISP%" "%SVCDESC%" 
service_jbas50.bat

I also don't hard-code the parameters within the statements in the script - 
instead I set some env vars at the start of the script and use them later. For 
an example, download the source code for JBoss in Action 
(http://www.manning.com/jamae), and in jbia-src/ch15 run ant target 04.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223748#4223748

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223748
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - JNDI Issue - Deploying EJB3 using Eclipse to JBoss 5

2009-04-06 Thread yetti
Hello,

I've got a question that I think someone can help me with pretty quickly. I've 
got a stateless session bean that I've created based on this tutorial:

http://www.myeclipseide.com/documentation/quickstarts/ejb3/

My project name is different but the architecture of the project is the same -> 
a package that contains the bean, an interface, a local and remote. Then I have 
a simple tester app where I'm trying to call the bean using the remote.

JBoss starts just fine using both the command line as well as starting from 
within Eclipse. The bean deploys just fine either with a restart of JBoss or a 
redeploy. Where I am having trouble is running the tester application, 
specifically getting the JNDI name correct. When I set up the project I did NOT 
do support for Entity beans/JPA. Below is a snippet of the log from JBoss 
starting/deploying the bean:


11:20:06,218 INFO  [JBossASKernel] Created KernelDeployment for: 
com.acmeco.serverapp.ftp
11:20:06,234 INFO  [JBossASKernel] installing bean: 
jboss.j2ee:jar=com.acmeco.serverapp.ftp,name=FTPBean,service=EJB3
11:20:06,234 INFO  [JBossASKernel]   with dependencies:
11:20:06,234 INFO  [JBossASKernel]   and demands:
11:20:06,234 INFO  [JBossASKernel]  jboss.ejb:service=EJBTimerService
11:20:06,234 INFO  [JBossASKernel]   and supplies:
11:20:06,234 INFO  [JBossASKernel]  
Class:com.acmeco.serverapp.ftp.ejb3.FTPBeanLocal
11:20:06,234 INFO  [JBossASKernel]  
jndi:FTPBean/local-com.acmeco.serverapp.ftp.ejb3.FTPBeanLocal
11:20:06,234 INFO  [JBossASKernel]  
jndi:FTPBean/remote-com.acmeco.serverapp.ftp.ejb3.FTPBeanRemote
11:20:06,234 INFO  [JBossASKernel]  jndi:FTPBean/local
11:20:06,234 INFO  [JBossASKernel]  jndi:FTPBean/remote
11:20:06,234 INFO  [JBossASKernel]  
Class:com.acmeco.serverapp.ftp.ejb3.FTPBeanRemote
11:20:06,234 INFO  [JBossASKernel] Added 
bean(jboss.j2ee:jar=com.acmeco.serverapp.ftp,name=FTPBean,service=EJB3) to 
KernelDeployment of: com.acmeco.serverapp.ftp
11:20:06,312 INFO  [SessionSpecContainer] Starting 
jboss.j2ee:jar=com.acmeco.serverapp.ftp,name=FTPBean,service=EJB3
11:20:06,328 INFO  [EJBContainer] STARTED EJB: 
com.acmeco.serverapp.ftp.ejb3.FTPBean ejbName: FTPBean
11:20:06,406 INFO  [JndiSessionRegistrarBase] Binding the following Entries in 
Global JNDI:

FTPBean/remote - EJB3.x Default Remote Business Interface
FTPBean/remote-com.acmeco.serverapp.ftp.ejb3.FTPBeanRemote - EJB3.x 
Remote Business Interface
FTPBean/local - EJB3.x Default Local Business Interface
FTPBean/local-com.acmeco.serverapp.ftp.ejb3.FTPBeanLocal - EJB3.x Local 
Business Interface
---

Here is the code in the testing client app:


package com.acmeco.serverapp.ftp.ejb3;
  | 
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | 
  | public class FTPBeanTestClient {
  | 
  | /**
  |  * @param args
  |  */
  | public static void main(String[] args) {
  | // TODO Auto-generated method stub
  | try {
  | InitialContext ctx = new InitialContext();
  | FTPBeanRemote bean = (FTPBeanRemote) 
ctx.lookup("com.acmeco.serverapp.ftp.ejb3.FTPBean/FTPBean");
  | bean.doWork();
  | } catch (NamingException e){
  | e.printStackTrace(); 
  | }
  | }
  | 
  | }
  | 

I know I'm doing something dumb with the InitialContext.  

1. What should I be putting into the client app context lookup? 
2. Am I doing something else wrong/dumb?

Thanks in advance,
yetti

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223747#4223747

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223747
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - JBoss/ActiveMQ Messages never delivered to MDB

2009-04-06 Thread rchristy
I have a very simple MDB (I am using JBoss 4.2.2 and ActiveMQ 5.,1 and 5.2 both 
have same behavior) that just consumes messages and throws them away.  I can 
easily reproduce a scenario where I load 100 messages on the queue, 1 to 3 
messages will never be delivered to the my MDB.  If I stop/start the MDB, they 
get delivered fine.  I tried moving to ActiveMQ 5.2 (I originally was 5.1) and 
I see the exact behavior.  I can also reproduce the same issue but stopping the 
MDB, loading the messages on the queue, then starting the MDB.  Again, messages 
that never get delivered.

Is there something wrong with this example?

@MessageDriven(activationConfig =
{
  @ActivationConfigProperty(propertyName="destinationType", 
propertyValue="javax.jms.Queue"),
  @ActivationConfigProperty(propertyName="destination", 
propertyValue="mylilmdb.test.queue"),
  @ActivationConfigProperty(propertyName="maximumRedeliveries", 
propertyValue="0"),
  @ActivationConfigProperty(propertyName="acknowledgeMode", 
propertyValue="Auto-acknowledge")
})
@ResourceAdapter("activemq-rar.rar")
@PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=1)
public class MyLilMDB implements MessageListener {

static Logger logger = Logger.getLogger(MyLilMDB.class);

@Resource
private MessageDrivenContext mdc;

public void onMessage(Message message) {

try {
TextMessage msg = (TextMessage)message;
String xml = msg.getText();   
   logger.info("Chopped Message:" + xml.substring(0, 100));
}
catch (Exception e) {
logger.error(e.getMessage(),e);
mdc.setRollbackOnly();
}
}

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223746#4223746

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223746
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Application doesn't find the library

2009-04-06 Thread PeterJ
How is your application packaged? Where is the fop_95.jar file located within 
that package?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223745#4223745

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223745
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Messaging blocked by long time-out again

2009-04-06 Thread PeterJ
Will JBM 2.0 be part of JBoss AS 5.1.0?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223740#4223740

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223740
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: com.sun.tools.javac.Main is not on the classpath

2009-04-06 Thread PeterJ
I have a few observations:

1) jre1.6.0_04 is not a JDK, it is a JRE.

2) When installing a JDK, don't install it in Program Files - spaces in the 
path can confuse various Java libraries. (You can install a JRE in "Program 
Files", just don't set JAVA_HOME to it.)

3) Don't use JDK 6u4 - it has too many issues. If you absolutely need to use 
JDK 6, use the latest version.

4) JBoss AS 4.0.what?  There are vast differences between 4.0.0, 4.0.1, ... 
4.0.5.  So saying 4.0 does not help to identify what you are running.

5) JBoss AS 4.0.x (any version) is not qualified to run with JDK 6 - you should 
be using JDK 5.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223739#4223739

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223739
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: How to load the entire data in to the JBOSS Cache.(Appli

2009-04-06 Thread manik.surt...@jboss.com
Preload.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223738#4223738

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223738
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: MVCC Write Skew

2009-04-06 Thread manik.surt...@jboss.com
It is an internal detail that prevents such a check in R_C.  That internal 
detail is that I maintain a direct reference to the cached state.  So if it 
changes (by another tx) I do not know this.  

Now with R_R, I do know this since I maintain a copy to the cached state.  And 
I can check if my copy is still the same as what is cached, and this is how I 
can check for write skews.  

This copying is necessary for R_R (to provide consistency) but it is not 
necessary for R_C (since you always want to read committed state anyway).  
Adding this layer of copying just for the sake of write skew detection is an 
unnecessary overhead since the copy never will be used for anything else.  


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223737#4223737

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223737
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How to deploy application in Jboss Portal 4.3.0

2009-04-06 Thread PeterJ
Wait, I thnik this is related to 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=153289

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223735#4223735

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223735
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: URGENT - Problem when deploying on jboss portal

2009-04-06 Thread PeterJ
I am rethinking my prior statement - it depends on what JSF implementation you 
are using and what library of JSF components you are suing, so you might have 
to include some files in your app. But without giving any clue about which JSF 
tags you are using, it is impossible to say/ You might also want to post the 
JSP (or whatever file contains the JSF tags)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223733#4223733

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223733
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: URGENT - Problem when deploying on jboss portal

2009-04-06 Thread PeterJ
Always post the full stack trace from the console log.

You do not need to add any JSF-specific JAR files to your app, they are already 
included in JBoss AS.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223732#4223732

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223732
___
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: Hibernate + JBoss problem

2009-04-06 Thread gbadavidson
Peter,
I am sorry that I didn't look at how old the post was. I tried to find the 
solution to my question first without having to post. This was the only post I 
could find that was similar. 



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223730#4223730

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223730
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How to deploy application in Jboss Portal 4.3.0

2009-04-06 Thread PeterJ
This must be urgent if you did not even have the time to say what application 
you needed to deploy to JBoss Portal.

By the way, there is no such version of JBoss Portal, the latest released 
version is 2.7.2. (I think that even the Portal version available via 
subscription is numbered 2.7.x, thought I can't check that because my support 
sign-on is broke once again.)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223729#4223729

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223729
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: How to access jboss5.0.0 GA mbeans through jconsole

2009-04-06 Thread Wolfgang Knauf
Hi,

this is not possible, you must restart it.

Here is the Wiki doc for this:
http://www.jboss.org/community/docs/DOC-10179

Best regards

Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223727#4223727

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223727
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - Re: Can not create a seam project with eclipse

2009-04-06 Thread PeterJ
By "eclipse ee" do you mean "Eclipse IDE for Java EE Developers"? That is what 
you need to start with and update it with JBoss Tolls using the URL you 
mentioned. 

Ah, I see the problem now. Over the weekend I re-downloaded Eclipse for Java EE 
3.4.2 and installed the final version of JBoss Tools 3.0 and it appears that 
they have renamed the "JBoss a division of Red Hat" selection to "JBoss 
Community" which lets you select that various community version of JBoss AS. 
There is now also a "JBoss Enterprise Middleware" selection that enables you to 
select JBoss EAP 4.3.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223724#4223724

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223724
___
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 Disable Caching in Jboss AS 5.0.1 Default Server?

2009-04-06 Thread altavatar
"jaikiran" wrote : Might be related to these:
  | 
  | https://jira.jboss.org/jira/browse/JBAS-6590
  | http://www.jboss.org/index.html?module=bb&op=viewtopic&t=151939
  | 
  | I would recommend, you open a new thread in the JBossAS5 forum 
http://www.jboss.org/index.html?module=bb&op=viewforum&f=287 and provide more 
details about this issue there.

Yes, that sounds like the same issue. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223718#4223718

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223718
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - SOLVED: jBPM 3.2GA on Tomcat6 and MySql5

2009-04-06 Thread sisao
1)commented java:/JbpmDS

2)using a different set of initial data for the DB

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223706#4223706

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223706
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Start Process Best Practises

2009-04-06 Thread coldy77
Hello,

i have a question related to starting processes, which contains ESB Calls. This 
Process should run sync, so i can recieve the results of the process in the 
same method, where i start the process. 

Before i upgrade to esb 4.5 i fired token.signal(), and it waits, until the 
process is finish. Now, with 4.5, it seems, that they introduced the CallBack 
Handler for ESB Calls. token.signal() now exists immidiatly after fire and the 
esb call node is in wait state. How can i wait for the result?

I have no idea anymore... please help, if you can.

Thx and greetings
Michael Coldewey

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223700#4223700

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223700
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossMQ] - Re: How can I use different DestinationManager services

2009-04-06 Thread adr...@jboss.org
You have to copy all the configuration, i.e. run two jbossmq instances inside 
the server.

That's because you need a different connection factory to distinguish which one
you want to use.
Client jms api -> jbossmq interceptor chain -> destination manager -> 
persistence manager

Its also because if you want to use both in the same transaction you need 2 
phase commit.
So the client side needs to think it is talking to two different servers.

More details can be found on other posts where this question has been asked 
before.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223697#4223697

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223697
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: jboss connectionpooling by subject, connection closed/no

2009-04-06 Thread gjeudy
Adrian, Thanks for your input.

In my case the error could consistently be reproduced across several request 
cycles(transactions). I know the application is not at fault because it 
normally works without any code/config changes. I experienced this issue after 
I momentarily lost connection to the database server. I had to reconnect my SQL 
client but my local Jboss server could not recover and was consistently 
throwing this exception until I flushed the connection pool through jmx-console.

What is the best way to monitor physical connection open/close? I'm a little 
bit wary of cranking up the logging as it will likely create alot of noise but 
still willing to do it if there are no alternatives.

Thanks!
Guillaume

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223696#4223696

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223696
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossMQ] - Re: Improvement suggestions: Messaging in a clustered enviro

2009-04-06 Thread adr...@jboss.org
"FrankTheTank" wrote : anonymous wrote : 
  |   | * Use hajndi-jms-ds.xml to create a pool of connections (this is what 
is used in the "all" config anyway) bound at connection factory java:/JmsXA.
  |   | 
  | Might you have an example for this?
  | 

Its in docs/examples/jca in the jboss download.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223691#4223691

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223691
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: ResourceException messages improve

2009-04-06 Thread adr...@jboss.org
Raise a feature request or better yet provide a patch.

It looks like a trivial change to me in 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool


  | -throw new ResourceException("No ManagedConnections available 
within configured blocking timeout ( "
  |   + poolParams.blockingTimeout + " [ms] )");
  | +throw new ResourceException(jcmp.getPoolJndiName() + " - no 
ManagedConnections available within configured blocking timeout ( "
  |   + poolParams.blockingTimeout + " [ms] )");
  | 

I guess there's other places that would benefit from it as well?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223690#4223690

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223690
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - LDAP support issue

2009-04-06 Thread NapSteros
Hi everybody,

I am working on JBoss Portal [2.7.1] integration with LDAP (Redhat Directory). 
I tried to integrate LDAP authentication module into my portal. 
I followed the "Reference Guide Jan. 2009" but each time, the deployment fails 
and I receive this exception:


anonymous wrote : ERROR [AbstractKernelController] Error installing to 
Configured: name=portal:identity=Datasource,type=LDAP state=Instantiated
  | org.jboss.joinpoint.spi.JoinpointException: Property ldap1 not found for 
abstractbeani...@f45223{name=org.jboss.portal.identity.ldap.ldapconnectioncontext
 classInfo= properties=[port, pr
  | otocol, host, poolingDebug, class, contextFactory, externalContextJndiName, 
jNDIName, adminDN, pooling, environment, poolingInitsize, poolingPrefsize, 
adminPassword, jndiBinder, authenti
  | cation, name, poolingProtocol, identityContext, poolingTimeout, 
poolingMaxsize] methods=[, , , , , , , , , , , , , , , , , , , , , , , , , , , 
, , , , , , , , , , , , , , , , , , , , , ,
  |  , , , , , ] constructors=[] events=}



I'll be so grateful for any help.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223689#4223689

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223689
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: jboss connectionpooling by subject, connection closed/no

2009-04-06 Thread adr...@jboss.org
"gjeudy" wrote : 
  | I'm considering adding a check-valid-connection-sql config something like:
  | SELECT * FROM DUAL 
  | 

That will only help when you first get the connection from the pool.
i.e. at the start of a new tranaction.

anonymous wrote : 
  | Even if that worked wouldn't that add unnecessary overhead? I mean 
shouldn't jboss find such unrecoverable exceptions by itself and let go the 
physical connection handle
  | 

It obviously has done, that is why you have the connection closed message
most likely spotted by the OracleExceptionSorter you've configured.

anonymous wrote : 
  |  and recreate a new one ?
  | 

It does, but you have to let the transaction rollback and start it over again
which will retrieve a "new" connection from the pool.
It can't recover mid-transaction.

The connection remains "sticky" to the transaction even when it has errored and 
closed.

The transaction is dead, the loss of the physical connection means you can
no longer access the local transaction state within the database. 

Opening a new connection to take over from the failed one 
won't give you access to that state so you could never commit it
or if you tried you would miss committing part of the data.

So what you need is to have some code at whatever starts and ends the 
transaction
that spots the SQLException (or any other retryable exception) and retry it.

If you were using EJB/CMT then JBoss has a way to configure your own
retry handlers that are transparent to the application:
http://www.jboss.org/community/docs/DOC-11841
Other frameworks may or may not have their own approach?

Either way, the retry policy for a failed transaction is not something that
can or should be configured at the DataSource level it's an application policy.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223686#4223686

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223686
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: SecurityAssociationCallback returns NULL-Principal in 5.

2009-04-06 Thread dizzydewil
Hello anil,

I have similar problem: in filter class I set current Lang in multilingual 
application using SecurityAssociation.setPrincipal( ) method but after upgrade 
from 4.04 to 4.23 it isn't working. Is there other solution to sent such 
informations in custom principal ?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223681#4223681

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223681
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Missing activation.jar problem wiht jbpm-jpdl-3.2.6 !

2009-04-06 Thread indraneel
 I have installed jbpm-jpdl-3.2.6.SP1 (pointed to Jboss 4.2.3) and installed 
the jbpm-jpdl-designer-site.zip shipped with it on Eclipse 3.4.2. I Created a 
test process project. But it is showing error :
Project 'ProcessTest' is missing required library: 
'C:\jbpm-3.2.6.SP1\lib\activation.jar'   . This jar is not present in jbpm 
lib directory. How to fix this?  where is this activation.jar available? Am I 
using stable versions? do I need to install any dependent jars?

Thanks,
indra.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223678#4223678

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223678
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Tomcat 6

2009-04-06 Thread jaikiran
See http://www.jboss.org/community/docs/DOC-12545

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223659#4223659

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223659
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - error with wssecurity!!!!

2009-04-06 Thread joncmuniz
My webservice is working without the configuration wssecurity,  
when I put the settings an error occurs
- put a annotation in webservices
--...@endpointconfig(configName="Standard WSSecurity Endpoint")
- put the files in the web-inf
--jboss-wsse-server.xml and the jboss-wsse-client.xml in the client 
side together with the other files
--wsse.cer
--wsse.csr
--wsse.jks

my client is in the servlet

QName qName = new QName("http://coreo.com.br/teste";, "Teste");
String serviceURL = 
"http://jon.ctbc.com.br:8080/jbossWebServiceSecurity-1.0.0/Teste?wsdl";;
Service service = null;
URL url;
try {
url = new URL(serviceURL);
service = Service.create(url,qName);
ITeste s = service.getPort(ITeste.class);

System.out.println(s.localizacao("j"));
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}


09:09:30,343 ERROR [[MyServlet]] Servlet.service() for servlet MyServlet threw 
exception
javax.xml.ws.soap.SOAPFaultException: This service requires , 
which is missing.
at 
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:84)
at 
org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:107)
at 
org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:579)
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:381)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:290)
at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)
at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
at $Proxy82.localizacao(Unknown Source)
at br.teste.client.MyServlet.executa(MyServlet.java:54)
at br.teste.client.MyServlet.doGet(MyServlet.java:33)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223648#4223648

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223648
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: [JBoss 5][Windows service] run JBoss 5.0.1 as Windows se

2009-04-06 Thread faxanadu
Thank you. It works.

But isn't there a "cleaner" way to give params than hard coding them in the 
script ?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223646#4223646

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: JBC Strategie with JPA/Hibernate

2009-04-06 Thread zeravlai
Thanks Manik,

I was really looking for a solution to have two clustered nodes with one db 
each, and get the dbs in synch in the same way the cache is.

If I'm using load balancing, app calls will be balanced between nodes. Cache 
data will be in synch, but db data will NOT. Imaging tx1 goes to node1 to 
modify customer 1. Either by invalidation or replication, the two caches will 
be in synch, but just db1 will hold the modification to customer 1, while db2 
won't know about that modification.

Should I be using a third party software to get the two dbs in synch??

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223643#4223643

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223643
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Application doesn't find the library

2009-04-06 Thread KrustyDerClown
Hello Together,

i have a problem with the JBoss Server.

I get the following exception:
2009-04-03 12:30:06,102 INFO [STDOUT] 12:30:06,101 ERROR [http-0.0.0.0-50520-3] 
org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/DmMethods].[Do
Method] - Servlet.
service() for servlet DoMethod threw exception
javax.servlet.ServletException: java.lang.Exception: 
java.lang.NoClassDefFoundError: org.apache.fop.apps.FopFactory
at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)
at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

But the fop_95.jar (with FopFactory.class) is there. See here my StartServer 
Log von JBoss:

2009-04-02 18:34:22,089 INFO [STDOUT] Java Method Dir = 
/documentum/dba/java_methods
2009-04-02 18:34:22,090 INFO [STDOUT] 
2009-04-02 18:34:22,090 INFO [STDOUT] <
2009-04-02 18:34:22,090 INFO [STDOUT] INFO
2009-04-02 18:34:22,090 INFO [STDOUT] >
2009-04-02 18:34:22,090 INFO [STDOUT] DoMethod 
CLASSPATH=$CLASSPATH:/documentum/dba/java_methods/:/documentum/dba/java_methods
/StatusWatcher.jar:/documentum/dba/java_methods/activation.jar:/documentum/dba/j
ava_methods/avalon-framework-4.2.0.jar:/documentum/dba/java_methods/dctmUtil.jar:/documentum/dba/java_methods/fop_95.jar:
 (and ~25 more JAR's)
2009-04-02 18:34:22,113 INFO [org.jboss.deployment.EARDeployer]

What can be a reason for the exception?

Can anyone help me?

Thanks in advance.

Greets Oliver

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223640#4223640

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223640
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: MVCC Write Skew

2009-04-06 Thread zeravlai
Thanks for your explanation, Manik.

However I still don't clearly see why the write skew check is just done in the 
markForUpdate of the Repeatable Read Node and not in Read Committed.

In my opinion both isolation levels should be checking for the write skew 
(maybe I'm missing something).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223636#4223636

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223636
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Jboss, Kerberos, AD single sign on

2009-04-06 Thread dizzydewil
Hi,

Yes it possible but there are problems with this.
I solved this using kerberos tickets from AD negotiated by custom authenticator 
and handles by custom login modules (with callback mechanism). 
First U must describe Your environment, my solution was made on JBOSS 4.05 GA, 
newer servers wasn't tasted but should work. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223625#4223625

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223625
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: [JBoss 5][Windows service] run JBoss 5.0.1 as Windows se

2009-04-06 Thread jaikiran
Follow this 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=145181#4187301

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223624#4223624

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223624
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - [JBoss 5][Windows service] run JBoss 5.0.1 as Windows servic

2009-04-06 Thread faxanadu
Hello.

I managed to run JBoss AS 5.0.1 as Windows service. First the jbosssvc.exe did 
not work. But thaks to https://jira.jboss.org/jira/browse/JBAS-6613, it rocks 
now.

But, I don't know how to specify parameters like I did when I run JBoss in the 
console. I need the parameter to choose the server and to configure binding : 

run.bat -c myServer -b 0.0.0.0

How can I launch the Windows service which runs JBoss with these params ?

Thanks in advance for yout help.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223618#4223618

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223618
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - JBPM-BPEL active?

2009-04-06 Thread gllambi
Hi, is JBPM-BPEL project active? The last update is from 2008-08-12 as far as I 
know

Thanks
Guzman

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223616#4223616

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223616
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: How to load the entire data in to the JBOSS Cache.(Appli

2009-04-06 Thread kmarikkani
"manik.surt...@jboss.com" wrote : Depends.  Are you using Firebird as a DB for 
the JDBC Cache Loader in JBC?  Or is this for your JPA persistence?

Yes .We are using FireBird as the DB for JDBC Cache Loader in JBC.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223615#4223615

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223615
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - jBPM 3.2GA on Tomcat6 and MySql5

2009-04-06 Thread sisao
Hi,

i was trying to install jBPM using Tomcat and Mysql, following the instructions 
posted here http://www.jboss.org/community/docs/DOC-11161

but i'm not having proper results.
I can get to the login form page but i've got a "try again" warning.
I've created a Realm conf file as described:


  | 
  | 
  | 
  | 

The commented version gives me a http 403 access denied error, so i use the 1st 
definition.
The DB is properly created and tables are filled with the initial datai can 
see the creation of 4 usersi am trying to login with the "admin,admin" 
credentials. 
I'm gonna paste my hibernate-cfg.xml file in full version:


  | 
  | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
  | 
  | 
  |   
  | 
  | 
  | org.hibernate.dialect.MySQLInnoDBDialect
  | 
  | 
  | com.mysql.jdbc.Driver
  | jdbc:mysql://localhost:3306/jbpm32
  | jbossjbpm
  | jbossjbpm
  | 
  | 
  | org.hibernate.cache.HashtableCacheProvider
  | 
  | java:/JbpmDS
  | 
  | 
  | 
  | org.hibernate.transaction.JDBCTransactionFactory
  | 
  | 
  | 
  | 
  | 
  | 
  | true
  | true
  | true
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  | 

Plus i already use applications deployed with tomcat and that use a mysql db, 
the driver is correctly included into the tomcat lib path.
I've copied all the libs under the original source to 
jbpm-console/WEB-INF/libi had to remove servlet-api.jar though cos it is 
already included in my tomcat version.
Any tips or idea?

Regards.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223614#4223614

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223614
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - seperate log4j config for my application

2009-04-06 Thread crazycradd
I wish to deploy several apps into the container and have each one have there 
own log file.

I have managed to do this with a spring application no problem and I have had 
limited success with a ejb2 application but I feel that this is a problem that 
should be covered in more detail in the docs (We are using 4.2.3AS). 

To get my ejb2 app to use its own log file I had to implement a 
RepositorySelector but this only seems to work on the calls to get logger in 
the web application the ejb tier is still logging to the main log file. The app 
is set up so the classpath is set in the ejb.jar and I have no jars in the war 
file except the ones that are available for download for the applet and jnlp 
parts of the app.

I attempted to use the isolation and use my own classloader but this caused 
many more problems when the container was parsing the xml config files. From 
viewing the new loader in the JMX viewer you can see the container jar files 
are still loaded.

I tried repackaging the apps to get round the loader problem but this did not 
seam to work.

If anyone has any worked examples of how to achieve this that would be great.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223610#4223610

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223610
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - javax.servlet.ServletException:

2009-04-06 Thread mamidalasrinivas
I am using jboss-4.2.0.GA and jbpm-bpel-1.1.GA and  Default hsqldb database
When I deploye BPEL Process in JBPM-BPEL console  ,I am geting blow Error 
,please any body can help...


javax.servlet.ServletException: could not build web module for: 
BpelProcessDefinition(HelloWorld)

org.jbpm.bpel.web.DeploymentServlet.deployWebModule(DeploymentServlet.java:208)
org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223609#4223609

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223609
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: How to load the entire data in to the JBOSS Cache.(Appli

2009-04-06 Thread manik.surt...@jboss.com
Depends.  Are you using Firebird as a DB for the JDBC Cache Loader in JBC?  Or 
is this for your JPA persistence?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223596#4223596

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223596
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: MVCC Write Skew

2009-04-06 Thread manik.surt...@jboss.com
Yes, since what is an increment to you (i++) is actually a set to the cache 
(e.g., set i = blah) where blah has been pre-calculated based on an old value 
read.  So even if you have R_C, even though your tx is re-reading the field at 
the time of setting, your application is not.

Basically, with R_C, the 2 TXs would be doing this:

i = 10
tx1: set i to 11
tx2: set i to 11 (even though i already is 11)


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223594#4223594

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223594
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Tomcat 6

2009-04-06 Thread rtdora
Hello,
 first of all I'm sorry if I opened a new topic for something that already 
exists. My question would be : is there any version of JBoss with Tomcat 6 
embedded ? All I could find until now is 5.5, but maybe I didn't look where I 
should have.

Thanks you very much.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223592#4223592

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223592
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: JBC Strategie with JPA/Hibernate

2009-04-06 Thread manik.surt...@jboss.com
If you are referring to a cache loader, I can't imagine why you would use a 
cache loader if you are using JBC with Hibernate, since Hibernate already 
provides persistence.

Using cache loaders with JBC is really for cases where you want cached 
in-memory state to be persisted (e.g., to disk or a DB) so it survives restarts 
and it can be evicted from memory when the cache hits certain thresholds.  

In the case of a Hibernate 2nd level cache, this is unnecessary since any state 
in the cache already exists in Hibernate.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223590#4223590

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223590
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EJB3 Timers: OutOfMemory error when handling large numbe

2009-04-06 Thread dimit...@jboss.org
You could use the quartz delegating timerservice backend: set the 
org.jboss.ejb3.timerservice.factory property to 
org.jboss.ejb3.timerservice.quartz.QuartzTimerServiceFactory.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223589#4223589

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223589
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: JPA/Hibernate JBC usage

2009-04-06 Thread manik.surt...@jboss.com
"zeravlai" wrote : BTW, don't take this error into account and please keep on 
answering my future questions ;-) 

LOL!  No worries!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223586#4223586

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223586
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Best Practice to get SessionFactory

2009-04-06 Thread Toriton
thank for yout reply :)

I do the same in an ActionHandler.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223584#4223584

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223584
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >