[jboss-user] [JBoss Tools (users)] - Re: Wrong JBossTools Entity Generation on DB Table Name with

2008-12-19 Thread max.ander...@jboss.com
kabil,

No really fun to have wait 1 minute for a simple download...next time please 
just show the relevant part of the file instead of everything.

The error says that it has a problem finding the property oTestTestTestTest in 
home.xhtml - but there is no such reference in the files you sent.

What did you do to get the error ?

In any case I think I know what is causing the error.  Your table starts with 
o_test which result in OTest which in javabeans spec result in the property to 
be named OTest and not oTest because of the double capitals. I got a feeling 
that Seam-gen's templates does not "obey" those rules strictly enough as the 
code generation does.

So if you go an rename whatever reference you have from oTest... to OTest it 
should work.





In any case I think what is the problem
And looking at the class OTestTestTestTestList.java the method 
getOTestTestTestTestList



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

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


[jboss-user] [EJB 3.0] - Re: class java.lang.ClassCastException in EJB3.0 lookup

2008-12-19 Thread harish.vamsh
Hi Peter,

Yes, it worked. Thanks a lot for your help. EJB3.0 has made it very simpler.
Can you share any resources on EJB3.0, if you have?

Thanks again
Harish

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

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


[jboss-user] [EJB/JBoss] - Re: EJB lookup failure in 5.0.0.GA

2008-12-19 Thread jhsingle
Here is the exception stacktrace:
java.lang.ClassCastException: javax.naming.Reference
  | at 
security.ejb.server.SecurityManagerRemoteFactory.createSecurityManangerRemote(SecurityManagerRemoteFactory.java:44)
  | at 
security.ejb.server.SecurityManagerTest.cleanup(SecurityManagerTest.java:760)
  | at 
security.ejb.server.SecurityManagerTest.setUp(SecurityManagerTest.java:742)
  | at junit.framework.TestCase.runBare(TestCase.java:128)
  | at junit.framework.TestResult$1.protect(TestResult.java:106)
  | at junit.framework.TestResult.runProtected(TestResult.java:124)
  | at junit.framework.TestResult.run(TestResult.java:109)
  | at junit.framework.TestCase.run(TestCase.java:120)
  | at junit.framework.TestSuite.runTest(TestSuite.java:230)
  | at junit.framework.TestSuite.run(TestSuite.java:225)
  | 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:585)
  | at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
  | at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
  | at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
  | at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
  | 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:585)
  | at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
  | at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
  | 

Here is the toString of the object returned by the lookup:
EJB lookup returned: Reference Class Name: Proxy for: 
security.ejb.client.SecurityManagerRemote
  | Type: ProxyFactoryKey
  | Content: ProxyFactory/SecurityManager/usermgmt/SecurityManager/remote
  | Type: EJB Container Name
  | Content: 
jboss.j2ee:ear=usermgmt.ear,jar=usermgmt-ejb-2.7.0.jar,name=SecurityManager,service=EJB3
  | Type: Proxy Factory is Local
  | Content: false
  | Type: Remoting Host URL
  | Content: socket://Macintosh.home:3873/?
  | Type: Remote Business Interface
  | Content: security.ejb.client.SecurityManagerRemote


As far as using jbossall-client.jar from the distro client directory, there is 
a problem there.  My client, a JUnit test, like everything else in our project 
uses a Maven2 build.  So we don't point to any local directories, but rather 
our pom.xml file points to artifacts from networked maven repositories.  I was 
unable to locate the client jar files in the current jboss maven repository 
(http://repository.jboss.org/maven2/) so for this test I loaded the 
jbosssx-as-client.jar from the distribution client directory into our local 
project maven repository.  This raises two questions: (1) are the JBoss5 client 
jars available in any maven repository, and (2) given the indirect nature of 
jbossall-client.jar, will it even work with maven, or do I need to name all of 
the referenced jar files in my pom for this test?

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

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


[jboss-user] [EJB 3.0] - Re: Binding / JNDI / EJB

2008-12-19 Thread pbaker01
One more thing Using the ejb-jar.xml and jboss.xml descriptor files has 
solved the MDB problem wrt start/stopDelivery issue raised in:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=147390

But this missing JNDI entries causes several new problems.

Also, when I change the version number to http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197764#4197764

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


[jboss-user] [JBoss AOP] - Re: ClassNotFound Issues with deploy-basic-lt-war in jboss-5

2008-12-19 Thread artp
just to be clear i'm using the jboss-aop-2.0.0.GA tutorial with jboss 5.0.0.CR2 
for jdk6



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

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


[jboss-user] [JBoss AOP] - ClassNotFound Issues with deploy-basic-lt-war in jboss-5.0.0

2008-12-19 Thread artp
I'm not able to get deploy-basic-lt-war to work with the exception below 
I tried deploy-basic-lt-war-in-jar and deploy-ear-aop with success.

for deploy-basic-lt-war i set 
loadtimeWeaving to true
and 
set useJBossWebLoader to true
in war-deployers-jboss-beans.xml 


-12-19 16:51:15,182 ERROR [STDERR] (http-wm-0245-artp%2F10.0.0.179-8080-1)  at 
org.jboss.aop.advice.GenericAspectFactory.getClazz(GenericAspectFactory.java:129)
2008-12-19 16:51:15,182 ERROR [STDERR] (http-wm-0245-artp%2F10.0.0.179-8080-1)  
... 53 more
2008-12-19 16:51:15,194 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/aopexample].[jsp]]
 (http-wm-0245-artp%2F10.0.0.179-8080-1) Servlet.service() for servlet jsp 
threw exception
java.lang.ClassNotFoundException: org.jboss.injbossaop.lib.SimpleInterceptor
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at 
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:276)
at 
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1099)
at 
org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:730)
at 
org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:374)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at 
org.jboss.aop.advice.AspectFactoryWithClassLoaderSupport.loadClass(AspectFactoryWithClassLoaderSupport.java:93)
at 
org.jboss.aop.advice.GenericAspectFactory.getClazz(GenericAspectFactory.java:129)
at 
org.jboss.aop.advice.GenericAspectFactory.createPerVM(GenericAspectFactory.java:145)
at 
org.jboss.aop.AspectManager.createPerVmAspect(AspectManager.java:1942)
at org.jboss.aop.AspectManager.getPerVMAspect(AspectMana

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

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


[jboss-user] [JBoss Tools (users)] - Re: XSD validation in Eclipse

2008-12-19 Thread max.ander...@jboss.com
btw. it works out of the box for me

Please run eclipse with -debug and tell us what is in the error log.

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

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


[jboss-user] [JBoss Tools (users)] - Re: XSD validation in Eclipse

2008-12-19 Thread max.ander...@jboss.com
does it open in JBoss Tools XML Editor ?

Or just plain text editor ?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem creating new portal project

2008-12-19 Thread max.ander...@jboss.com
Not sure what you are referring to. 

You create a portlet project by adding the Portlet facet to a dynamic web 
project or seam web project.



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

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


[jboss-user] [JBossWS] - Re: ERROR [RequestHandlerImpl] Cannot close output stream

2008-12-19 Thread memaster
I tried my application in version 5.0.0.GA and I had the same problem.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 4.2.3 and Maven

2008-12-19 Thread chriscarr
I was able to fix my project by correcting the entry on the pom.xml file.  It 
is just changing the group id to a slightly different path and updating the 
version number.

Before:

  | jboss
  | jbossall-client
  | 4.2.2.GA
  | 

After:

  | org.jboss.client
  | jbossall-client
  | 4.2.3.GA
  | 

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

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


[jboss-user] [JBoss Tools (users)] - Problem creating new portal project

2008-12-19 Thread Putzeudel
Compared to the list shown in the portal tool tutorial the list i have to 
choose from is tiny, with "seam portal V2" being the only portal project. I am 
especiall missing "Portlet Project v1.0" and "Portlet Project v2.0".
I installed the 2.7 bundle and 
JBossTools-3.0.0.Beta1-R200810311334-ALL-win32.zip.

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

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


[jboss-user] [EJB 3.0] - Re: Binding / JNDI / EJB

2008-12-19 Thread pbaker01
btw: JBoss 5.0.0 GA

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

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


[jboss-user] [EJB 3.0] - Binding / JNDI / EJB

2008-12-19 Thread pbaker01
We have an application that has three Stateless EJBs.  During the initial 
development we did not use ejb-jar.xml or jboss.xml config files. When the 
beans were deplyed the system created several entries in the Global JNDI.  

We have now created jBoss.xml and ejb-jar files and now the EJB Global JNDI 
entries are no longer being created.  What are we missing?

THanks!

>From the console:
anonymous wrote : 16:31:40,148 INFO  [EJBContainer] STARTED EJB: 
com.sita.wab.mdb.ssim.SSMListener ejbName: SSMListener
  | 16:31:40,317 INFO  [JndiSessionRegistrarBase] Binding the following Entries 
in Global JNDI:
  | 
  | AirlineEjbBean/remote - EJB3.x Default Remote Business Interface
  | AirlineEjbBean/remote-com.sita.wab.ejb.airline.AirlineEjbRemote - 
EJB3.x Remote Business Interface
  | AirlineEjbBean/local - EJB3.x Default Local Business Interface
  | AirlineEjbBean/local-com.sita.wab.ejb.airline.AirlineEjbLocal - EJB3.x 
Local Business Interface
  | 
  | 16:31:40,347 INFO  [JndiSessionRegistrarBase] Binding the following Entries 
in Global JNDI:
  | 
  | SsimEjbBean/remote - EJB3.x Default Remote Business Interface
  | SsimEjbBean/remote-com.sita.wab.ejb.ssim.SsimEjbRemote - EJB3.x Remote 
Business Interface
  | SsimEjbBean/local - EJB3.x Default Local Business Interface
  | SsimEjbBean/local-com.sita.wab.ejb.ssim.SsimEjbLocal - EJB3.x Local 
Business Interface
  | 
  | 16:31:40,368 INFO  [JndiSessionRegistrarBase] Binding the following Entries 
in Global JNDI:
  | 
  | SubscriberEjbBean/remote - EJB3.x Default Remote Business Interface
  | 
SubscriberEjbBean/remote-com.sita.wab.ejb.subscriber.SubscriberEjbRemote - 
EJB3.x Remote Business Interface
  | SubscriberEjbBean/local - EJB3.x Default Local Business Interface
  | SubscriberEjbBean/local-com.sita.wab.ejb.subscriber.SubscriberEjbLocal 
- EJB3.x Local Business Interface
  | 
  | 16:31:40,558 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on 
http-127.0.0.1-8080
  | 

These entries can be seen using JMX:

anonymous wrote :   +- SubscriberEjbBean (class: 
org.jnp.interfaces.NamingContext)
  |   |   +- local (class: Proxy for: 
com.sita.wab.ejb.subscriber.SubscriberEjbLocal)
  |   |   +- remote (class: Proxy for: 
com.sita.wab.ejb.subscriber.SubscriberEjbRemote)
  |   |   +- local-com.sita.wab.ejb.subscriber.SubscriberEjbLocal (class: Proxy 
for: com.sita.wab.ejb.subscriber.SubscriberEjbLocal)
  |   |   +- remote-com.sita.wab.ejb.subscriber.SubscriberEjbRemote (class: 
Proxy for: com.sita.wab.ejb.subscriber.SubscriberEjbRemote)
  | 

We have created a JBoss.xml config file:

  | 
  | 
  | SSMListener
  | Standard Message Driven 
Bean
  | 
queue/SSMQueue
  | 
  | 
  | 
  | SubscriberEjb
  | Standard Stateless 
SessionBean
  | SubscriberEjb
  | 
  | 
  | 
  | AirlineEjb
  | Standard Stateless 
SessionBean
  | AirlineEjb
  | 
  | 
  | 
  | SsimEjbBean
  | Standard Stateless 
SessionBean
  | SsimEjbBean
  | 
  | 
  | 
  | 

And an ejb-jar.xml file:


  | http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
  | 
  | 
  | 
  | SSMListener
  | com.sita.wab.mdb.ssim.SSMListener
  | Container
  | AUTO_ACKNOWLEDGE
  | 
  | 
javax.jms.Queue
  | 
  | Durable
  | 
  | 
  | 
  | 
  | 
  | SubscriberEjb
  | 
  | com.sita.wab.ejb.subscriber.SubscriberEjbRemote
  | 
  | 
  | com.sita.wab.ejb.subscriber.SubscriberEjbBean
  | 
  | Stateless
  | Container
  | 
  | 
  | 
  | AirlineEjb
  | 
com.sita.wab.ejb.airline.AirlineEjbRemote
  | 
  | com.sita.wab.ejb.airline.AirlineEjbBean
  | 
  | Stateless
  | Container
  | 
  | 
  | 
  | SsimEjbBean
  | com.sita.wab.ejb.ssim.SsimEjbRemote
  | com.sita.wab.ejb.ssim.SsimEjbBean
  | Stateless
  | Container
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | SSMListener
  | onMessage
  | 

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss hangs, deadlock

2008-12-19 Thread PeterJ
Full stack traces for those three threads would help. Look through the stacks 
for any code that might be yours and see what it is you are doing with logging 
in that code.

Note that the situation you have indicated might not be an issue - logging 
tends to be single-threaded (otherwise the log file would be garbage). There is 
some other thread that has 'monitor' locked and probably released it a 
microsecond after you took the stack trace. It is usually better to take two or 
three stack traces, about 10 to 20 seconds apart, and compare them looking for 
code that might be looping (the thread stack remains the same for each dump, 
and the thread is not waiting on an http socket).

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss hangs, deadlock

2008-12-19 Thread dahlgren...@fastmail.fm
Hi all,

I'm using JBoss 4.2.2.GA. 

When I run a specific JSP script, JBoss hangs and stops responding after some 
time. 

I took a threaddump and saw that there is some kind of deadlock. I don't want 
to post the whole thing unless it's necessary, but here is a snippet:

Found one Java-level deadlock:
=
"http-127.0.0.1-9080-2":
  waiting to lock monitor 0x685d18bc (object 0x090536c8, a org.apache.log4j.spi.
RootLogger),
  which is held by "Thread-5"
"Thread-5":
  waiting to lock monitor 0x685d1854 (object 0x09156070, a org.jboss.logging.uti
l.LoggerStream),
  which is held by "http-127.0.0.1-9080-1"
"http-127.0.0.1-9080-1":
  waiting to lock monitor 0x685d18bc (object 0x090536c8, a org.apache.log4j.spi.
RootLogger),
  which is held by "Thread-5"

Can anyone help?

Thank you/best regards,
Ronnie


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

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


[jboss-user] [JBoss jBPM] - Re: jBPM-3.3.0.GA Released

2008-12-19 Thread bhagatkota
I was able to successfully migrate to version 3.3 but the issue I am facing now 
is I am getting a few exceptions because there is _VERSION column added to few 
tables and I am getting the following exception

Caused by: org.hibernate.PropertyAccessException: Null value was assigned to a 
property of primitive type setter of org.jbpm.taskmgmt.exe.TaskInstance.version
at 
org.hibernate.property.DirectPropertyAccessor$DirectSetter.set(DirectPropertyAccessor.java:83)
at 
org.hibernate.tuple.entity.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:337)

What should be the deafult value of _VERSION column when we ugrade the database

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

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


[jboss-user] [MBean] Can't access to JBoss 5.0.0.GA MBean from JConsole

2008-12-19 Thread Domenico Briganti
Hi everyone. 

I'm using JBoss 5.0.0.GA and I want to see JBoss MBean from Java JConsole. I
followed this  
http://www.jboss.org/community/docs/DOC-10521 but don't work with 5.0.0.GA. 

Any help would be greatly appreciated.

 

Thanks

Domenico

 

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


[jboss-user] [JNDI/Naming/Network] - jndi lookup on a different app server (glassfish)

2008-12-19 Thread 20div0
Trying to do what I thought would be a easy task but search the web up and down 
and can't find a solution.

I am try to access a remote ejb3 in glassfish(v2) from jboss (4.0.5). 

On a stand-alone app, it's easy, I just include the appserv-rt.jar and 
javaee.jar in my classpath and create an initialcontext and do the lookup. 
Works just fine.

On jboss, it's different. I deleted all the *.properties file in the 
appserv-rt.jar so it won't interfere with jboss and rename it to 
xappserv-rt.jar and put it in the server's lib directory. Jboss won't even 
start. 

Here are the different properties I tried:

1) This failed with ClassNotFound exception because I can't include 
appserv-rt.jar which define the 
com.sun.enterprise.naming.SerialInitContextFactory class:

properties.setProperty("java.naming.factory.initial", 
"com.sun.enterprise.naming.SerialInitContextFactory");
  | properties.setProperty("java.naming.factory.url.pkgs", 
"com.sun.enterprise.naming");
  | properties.setProperty("java.naming.factory.state", 
"com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
  | 
  | properties.setProperty("org.omg.CORBA.ORBInitialHost", 
"1.2.3.4");
  | 
  | properties.setProperty("org.omg.CORBA.ORBInitialPort", "3700");
  | 
  | 

2) Trying to use Jboss's naming factory but the connection seems to hang there 
and every return:
   properties.put("java.naming.factory.initial", 
"org.jnp.interfaces.NamingContextFactory");
  | properties.put("java.naming.factory.url.pkgs",
  | "org.jboss.naming:org.jnp.interfaces");
  | properties.put("java.naming.provider.url", 
"jnp://1.2.3.4:3700");

3) A slight varient of 2) I found on the web but same result as in 2)
   properties.setProperty("java.naming.factory.initial", 
"org.jnp.interfaces.NamingContextFactory");
  | properties.setProperty("java.naming.factory.url.pkgs", 
"org.jnp.interfaces.NamingContextFactory");
  | properties.setProperty("java.naming.provider.url", 
"http://1.2.3.4:3700";);

   
 4) Try using the corba naming service in jboss but got NameNotFound exception:
 properties.setProperty("java.naming.factory.initial", 
"org.jboss.iiop.naming.ORBInitialContextFactory");
  | properties.setProperty("java.naming.factory.url.pkgs", 
"org.jboss.naming:org.jnp.interfaces");
  | properties.put("java.naming.provider.url", 
"iiop://1.2.3.4:3700");
  | 
 

Anyone try this before?

Andy

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

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


[jboss-user] [JBoss Cache: Core Edition] - Problem setting up clustered JBossCache

2008-12-19 Thread mattdz
Hi everyone.  We recently upgraded to JBossCache 3.0.1 and are having some 
troubles getting the clustered cache working.  We're running on multi-homed IP 
systems with our clustered frontends feeding off the same directory for the web 
application.  Here is the error we're getting:

n-21}   at 
org.jboss.cache.util.reflect.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:144)
[14:13:03.989] {resin-21}   ... 19 more
[14:13:03.989] {resin-21} Caused by: org.jboss.cache.CacheException: Unable to 
connect to JGroups channel
[14:13:03.989] {resin-21}   at 
org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:207)
[14:13:03.989] {resin-21}   ... 24 more
[14:13:03.989] {resin-21} Caused by: org.jgroups.ChannelException: failed to 
start protocol stack
[14:13:03.989] {resin-21}   at 
org.jgroups.JChannel.startStack(JChannel.java:1555)
[14:13:03.989] {resin-21}   at 
org.jgroups.JChannel.connect(JChannel.java:365)
[14:13:03.989] {resin-21}   at 
org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:203)
[14:13:03.989] {resin-21}   ... 24 more
[14:13:03.989] {resin-21} Caused by: java.lang.Exception: problem creating 
sockets (bind_addr=viper3/127.0.1.1, mcast_addr=228.10.10.10:45588)
[14:13:03.989] {resin-21}   at org.jgroups.protocols.UDP.start(UDP.java:381)
[14:13:03.989] {resin-21}   at 
org.jgroups.stack.Configurator.startProtocolStack(Configurator.java:129)
[14:13:03.989] {resin-21}   at 
org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:410)
[14:13:03.989] {resin-21}   at 
org.jgroups.JChannel.startStack(JChannel.java:1552)
[14:13:03.989] {resin-21}   ... 26 more
[14:13:03.989] {resin-21} Caused by: java.net.SocketException: bad argument for 
IP_MULTICAST_IF: address not bound to any interface
[14:13:03.989] {resin-21}   at 
java.net.PlainDatagramSocketImpl.socketSetOption(Native Method)
[14:13:03.989] {resin-21}   at 
java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:299)
[14:13:03.989] {resin-21}   at 
java.net.MulticastSocket.setInterface(MulticastSocket.java:420)
[14:13:03.989] {resin-21}   at 
org.jgroups.protocols.UDP.createSockets(UDP.java:519)
[14:13:03.989] {resin-21}   at org.jgrou

We get this with both the default udp.xml file being used for the JGroups 
config and the expanded cut and pasted version.  In standard local mode, 
everything seems to work fine.  On our dev machines, the udp.xml seems to work 
fine and picks up the single IP.  We really would like the cluster to be 
listening on the 2nd NIC in the machine only since its on a private network.  
Any help would be greatly appreciated.

Thanks,
Matt

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197730
___
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: Could not find PU dependency

2008-12-19 Thread toppac
I found the solution. The persistence.xml file was misnamed. Correcting it to 
persistence.xml resolved the issue.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Connection Pool Question JBoss 4.2.x

2008-12-19 Thread PeterJ
The connection pool mbean is generated automatically when the *-ds.xml file is 
parsed, so you might be better off modifying the existing one than trying to 
wrap or replace it. I think that the connection pool manager is in the source 
at 
connector/src/main/org\jboss/resource/connectionmanager/InternalManagedConnectionPool.java
 (this is a guess, the actual connector is hidden behind an interface - see the 
poolingStrategy field in the JBossManagedConnectionPool class in the same 
directory.


Alternately, you could turn on TRACE level logging for the 
InternalManagedConnectionPool class, it seems to do some logging regarding 
connection requests at that level.

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

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


[jboss-user] [EJB 3.0] - Re: Don't want to hard code the dynamic IP for @RemoteBindin

2008-12-19 Thread ALRubinger
Please create a JIRA for this as a feature request under EJBTHREE.

S,
ALR

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

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


[jboss-user] [Remoting] - JBoss AS 4.2.3.GA java.net.SocketException

2008-12-19 Thread sunilbabu
I am using JBoss AS 4.2.3.GA and jboss-4.2.0.CR2 with ejb3.0. I have a remote 
client that calls the method in server using sslscoket and both servers will 
successfully print out the echo message. 

But If i try to call any method on 4.2.3 server from a remote client I will get 
a debug message about 

java.net.SocketException: Socket closed
  | at java.net.PlainSocketImpl.socketAccept(Native Method)
  | at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
  | at java.net.ServerSocket.implAccept(ServerSocket.java:450)
  | at java.net.ServerSocket.accept(ServerSocket.java:421)
  | at 
org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketServerInvoker.java:520)
  | at java.lang.Thread.run(Thread.java:595)


On server I have 

package com.test;
  | 
  | import javax.ejb.Stateless;
  | import org.jboss.annotation.ejb.RemoteBinding;
  | import org.jboss.annotation.ejb.RemoteBindings;
  | 
  | 
  | @RemoteBindings({
  | @RemoteBinding(clientBindUrl="sslsocket://0.0.0.0:3843", 
jndiBinding="test_SSL")
  | })
  | 
  | 
  | public @Stateless class TestFacadeBean implements TestFacade{
  | public TestFacadeBean() {
  | }
  | 
  | public void echo() {
  | System.out.println("Hello");
  | }
  | 
  | }

package com.test;
  | 
  | import javax.ejb.Remote;
  | 
  | public  @Remote interface TestFacade {
  | public void echo();
  | }

Client side

package com.test;
  | 
  | import com.test.TestFacade;
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | 
  | 
  | public class Client {
  | 
  | private InitialContext ctx;
  | private TestFacade testFacade= null;
  | 
  | public Client {
  | }
  | 
  | public static void main(String[] arg) {
  | try {
  |Client client = new Client();
  | client.ctx = new InitialContext();
  | client.testFacade= (TestFacade) ctx.lookup("test_SSL");
  | client.testFacade.echo();
  | } catch (Exception ex) {
  | }
  | }
  | 
  | }
  | 
  | 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Connection Pool Question JBoss 4.2.x

2008-12-19 Thread chip_schoch
Thanks.  This looks pretty interesting.  However, we are trying to track down 
an issue where we are getting too many connections opened.  We want to log when 
gets and puts to the connection pool happen.

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

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


[jboss-user] [Clustering/JBoss] - Re: Session replication, Please help

2008-12-19 Thread bstansbe...@jboss.com
My guess is your session replication channel is *not* using TCP.

GMS: address is 172.16.64.21:32804

32804 seems more like a port the UDP configs would use.

The session replication channel isn't configured via cluster-service.xml. It's 
via tc5-cluster-service.xml or 
jboss-web-cluster.sar/META-INF/jboss-service.xml. Which depends on what AS 
release you are using (which you should always include in your post!)

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Could not find PU dependency

2008-12-19 Thread toppac
I keep getting this error for one of my ear files.

[PersistenceUnitHandler] Could not find PU dependency for 
persistence.units:unitName=dor. Waiting for dependency to resolve

I am not sure what dependency it is waiting on. I have two other ears that use 
the exact same persistence.xml file and they deploy fine. It is just this one 
that does not work. Is it possible to find out what dependency it is waiting on?

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

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


[jboss-user] [JBoss Portal] - Re: Universal per portlet instance configuration for all use

2008-12-19 Thread mrostan
Hi,
we have implemented a new CustomizationManager (by extending the default 
CustomizationManagerService), we have defined "scopes" associated to the 
instances, if the scope is 'window' the customization is associated to the 
window (and not the user), so you can edit the preferences (with the customized 
portlet editor) for a window, and everybody that access that window will see 
the portlet customized with the same preferences.

We need this feature to allow portal managers to define portlets (and portals) 
that will be accessed by anonymous users.

Here is our code:


  | public class ScopeCustomizationManager extends CustomizationManagerService {
  | @Override
  | public Instance getInstance(Window window, User user) throws 
IllegalArgumentException {
  | if (window == null) {
  | throw new IllegalArgumentException("No window 
provided");
  | }
  | 
  | Content content = window.getContent();
  | 
  | String instanceId = ((PortletContent) content).getInstanceRef();
  | if (instanceId == null) {
  | return null;
  | }
  | 
  | Instance instance = 
getInstanceContainer().getDefinition(instanceId);
  | if (instance != null) {
  | String scope = null;
  | try {
  | Object scopePropertyValue = 
instance.getProperties().get("sharingScope");
  | if (scopePropertyValue != null && 
(scopePropertyValue instanceof List)) {
  | List valuesList = (List) 
scopePropertyValue;
  | if (valuesList.size() > 0) {
  | Object v = valuesList.get(0);
  | if (v instanceof String) {
  | scope = (String) v;
  | }
  | }
  | }
  | } catch (PortletInvokerException e) {
  | e.printStackTrace();
  | }
  | if (scope == null || scope.equals("user")) {
  | return super.getInstance(window, user);
  | }
  | 
  | if (user != null && isDashboard(window, user)) {
  | String dashboardId = window.getId().toString();
  | 
  | instance = 
instance.getCustomization(dashboardId);
  | } else if (scope.equals("window")) {
  | instance = 
instance.getCustomization(window.getId().toString());
  | } else if (scope.equals("portal")) {
  | instance = 
instance.getCustomization(window.getPage().getPortal().getId().toString());
  | } else {
  | instance = super.getInstance(window, user);
  | }
  | }
  | 
  | return instance;
  | }
  | 
  | }
  | 

Maybe somebody on the JBoss Portal Team may give us an opinion about this 
feature, and our implementation, we think it's a very important feature for an 
enterprise portal.

Thanks in advance,
Martin


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Connection Pool Question JBoss 4.2.x

2008-12-19 Thread PeterJ
If all you want is better logging, why not use something like log4jdbc? 
http://code.google.com/p/log4jdbc/

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

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


[jboss-user] [JBoss Portal] - Advice needed on using Hibernate with Portlets

2008-12-19 Thread JohnnyTheHun
I want to use a HibernateSession to store and retrieve my data.

Question one: does opening and closing a Hibernate session 10 times introduce a 
drastic overhead compared to opening and closing it once? (In this scenario 
there can be a good few hundred concurrent users)

If it does, how can I use one session for all portlets?

Ex:

HibernateSession gets opened();
[Portlet1: processAction()]
Portlet2: doView()
Portlet1: doView()
Portlet3: doView()

HibernateSession gets closed();

To put it another way:

1. How can I run code BEFORE any portlet (processAction or doView) method gets 
called?

2. How can I run code AFTER all (processAction and doView) methods have been 
called?


Thanks,
John

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

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


[jboss-user] [JBoss Cache: Core Edition] - JBoss Cache 3.0.2.CR1 released

2008-12-19 Thread manik.surt...@jboss.com
Read all about it on the blog, this is a bug fix release on 3.x.

Cheers
Manik

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

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


[jboss-user] [JCA/JBoss] - Re: How can persist JCA Mbean's attributes using Persistenc

2008-12-19 Thread PeterJ
If the properties whose values you want to persist are read/write, then you 
could create your own MBean to read and persist the properties, and then reset 
the properties on a restart. Have your MBean depend on the data source MBean so 
that it is started in the correct order.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Locks not being released under Weblogic 10.3 using MVCC

2008-12-19 Thread nathanmesser
I haven't yet been able to reproduce the problem in a controlled manner, 
although I'm trying.

All I can confirm at the moment is that we've seen a stale/unreleased lock, 
reporting that it's held be a transaction that doesn't exist anymore, after 
having a transaction rolledback by a timeout (I can't even confirm for sure, 
although it seems very likely, that the transaction that rolledback was the one 
that obtained the lock).

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Locks not being released under Weblogic 10.3 using MVCC

2008-12-19 Thread manik.surt...@jboss.com
JBCACHE-923 is really a workaround to a flawed transaction manager 
implementation in WLS (TMs are not allowed to let more than one thread access a 
specific transaction at any given instant, according to the JTA spec), and IIRC 
you should not see a worker thread processing a transaction and a simultaneous 
commit or rollback on the same transaction, on a separate thread in WLS 10.

Can you confirm that this is indeed the case, where a transactions acquires 
locks and due to a race between further processing and a rollback, the rollback 
doesn't properly happen and leaves stale/unreleased locks?

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

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


[jboss-user] [Beginners Corner] - Re: Migrate J2EE Project EJB 2 from Websphere to JBoss

2008-12-19 Thread PeterJ
It sounds like you are also declaring a data source in a *-ds.xml file. Try 
this. Bring up JBoss AS without anything deployed. Once it is running (wait for 
the "started in xxx seconds" message), deploy the *-ds.xml file. If that is nor 
successful, post the console log entries after "started in" entry.

If that is successful, deploy your EAR files one at a time, each time waiting 
for the deployment to complete. The first exception stack trace you hit, post 
the console log entries that correspond to the deployment of that EAR file, 
including the stack trace.

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

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


[jboss-user] [JBossWS] - JBossWS 3.0.5 Released

2008-12-19 Thread alessio.sold...@jboss.com
I'm happy to announce the release of JBossWS 3.0.5 GA which includes Native, 
Metro and Apache CXF integration.

For a list of the new features, improvements and bug fixes, please refer the 
release notes available here:
http://labs.jboss.com/file-access/default/members/jbossws/downloads/ReleaseNotes-jbossws-native-3.0.5.GA.txt

The supported target containers for this release are JBoss 4.2.2.GA, JBoss 
4.2.3.GA and JBoss 5.0.0.GA.

The binaries, including the samples can be obtained here:
http://labs.jboss.com/jbossws/downloads/

Installation instructions can be found here:
http://jbossws.jboss.org/mediawiki/index.php/Main_Page

To get started please have a look at the Quick Start and User Guide:
http://jbossws.jboss.org/mediawiki/index.php/Quick_Start
http://jbossws.jboss.org/mediawiki/index.php/JAX-WS_User_Guide

If you don't know it already, you'll be surprised how easy it is to do Web 
Services.

Many thanks to the team and contributors making this release possible.

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

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


[jboss-user] [Beginners Corner] - Re: JBoss will generate the WSDL while deploying ?

2008-12-19 Thread PeterJ
I have never used java2wsdl, so I cannot help you there. Any reason you are not 
using wsconsume?

Looks like your are using SSL, I haven't done that either, so cannot help you 
there.

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

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


[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-12-19 Thread b...@jboss.com
VIEW_SYNC is discussed in 
http://javagroups.cvs.sourceforge.net/viewvc/javagroups/JGroups/doc/design/ReliableViewInstallation.txt?revision=1.1&view=markup.

To ask JGroups-related questions, your better bet is the JGroups mailing list. 

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

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


[jboss-user] [Beginners Corner] - Re: JBoss 5.0 on Windows Vista?

2008-12-19 Thread PeterJ
One more gotcha - use the latest version of JDK 5 or JDK 6, earlier versions 
had issues when running on Vista.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Locks not being released under Weblogic 10.3 using MVCC lock

2008-12-19 Thread nathanmesser
Is the issue raised in JBCACHE-923 likely to be an issue with Weblogic using 
MVCC locking?

We're using Weblogic 10.3

We're currently seeing a situation, after a transaction timed out while making 
a lot of modifications to our cache, where a particular node in the cache is 
locked.

The behaviour we're seeing sounds very similiar to the issue raised in 
JBCACHE-923, and as the last comment mentions that it was hoped to address this 
issue more fully with MVCC locking, I wondered if the situation could still 
occur?

We are using synchronous replication in a cluster, and haven't yet seen this 
issue in a single instance, if that's relevant.

Also, is it possible to put a timeout on locks in JBoss cache, so that if this 
situation occurs, and a lock is left after a transaction has rolledback, the 
lock will eventually be released?

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

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


[jboss-user] [EJB/JBoss] - Re: Don't want to hard code the dynamic IP for @RemoteBindin

2008-12-19 Thread jaikiran
Let's continue this discussion in your other post here 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=147639

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

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


[jboss-user] [EJB 3.0] - Re: class java.lang.ClassCastException in EJB3.0 lookup

2008-12-19 Thread PeterJ
You need to include the EJB JAR file in the classpath when you compile your 
servlet.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197691
___
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 deployment issue

2008-12-19 Thread jaikiran
Can you please post the entire console logs?
anonymous wrote : 
  | 2008-12-19 21:08:01,862 WARN  
[org.jboss.resource.adapter.jms.inflow.JmsActivation] (WorkManager(2)-
  | 2) Failure in jms activation 
org.jboss.resource.adapter.jms.inflow.jmsactivations...@1899788(ra=org.
  | jboss.resource.adapter.jms.jmsresourceadap...@1f0c437 
destination=queue/CartQueue destinationType=ja
  | vax.jms.Queue tx=true durable=false reconnect=10 
provider=java:/DefaultJMSProvider user=null maxMess
  | ages=1 minSession=1 maxSession=15 keepAlive=6 useDLQ=true 
DLQHandler=org.jboss.resource.adapter.
  | jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null 
DLQMaxResent=5)
  | javax.naming.NameNotFoundException: queue not bound

I guess its a deployment ordering issue. Where have you placed these 
-service.xml files? And where have you placed your applications? And what's 
their file name?

And do you any logs like this on the console:

21:26:22,153 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=20, 
pageSize=2000, downCacheSize=2000
  | 

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

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


[jboss-user] [Clustering/JBoss] - Re: strace shows futex

2008-12-19 Thread mohitanchlia
Such a great explanation. Why don't I get this from docs :) I know it takes so 
much keep up with the docs.

So if I understand correctly, in above example if for some reason election 
policy choses Node D as master then the view will be {D,C} instead of {C,D}. Is 
there a way in JMX Console to see this kind of view.

Also under the hoods does jgroup use NACKAK to do this kind of communication. 
Also are there different pings and FD to check Overall Cluster view and Service 
view.

Thanks again for educating me. It's hard to work with clusters when you don't 
know what exactly is going on.

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

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


[jboss-user] [Beginners Corner] - Re: JBoss 5.0 on Windows Vista?

2008-12-19 Thread PeterJ
I run JBoss AS on both a 32-bit Vista (laptop) and 64-bit Vista (desktop).

Be aware that the EULA you agreed to when you installed Vista (or configured if 
it came on your box) limits you to 10 incoming connections, therefore you 
should not deploy your web app to Vista in production if you have more than 10 
users. This same limitation applies to XP.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197688
___
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, deployement sorter

2008-12-19 Thread jaikiran
See this http://www.jboss.com/index.html?module=bb&op=viewtopic&t=142538

P.S: JBossAS5 questions are better answered in the JBossAS5 specific forum here 
http://www.jboss.com/index.html?module=bb&op=viewforum&f=287

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

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


[jboss-user] [Security & JAAS/JBoss] - Secure EJBs and unsecure Servlets

2008-12-19 Thread OrangeMetallicFrog
Hello again.

Having read through my last post, I realised it wasn't really very clear what I 
was doing/having a problem with.  Hopefully now it isn't so early in the day I 
can be a bit clearer!

So, I have an EJB that I have secured.  I can connect to this through my remote 
client.  The remote client has a jndi.properties file that defines the various 
values for the principal, credentials, factory.initial, etc.  This is working 
fine.

Then I've got a servlet that I'm using as a webservice.  This takes a couple of 
parameters for the principal and credentials.  This then calls



  | Hashtable env = new Hashtable();
  | env.put("java.naming.security.principal", principal);
  | env.put("java.naming.security.credentials", credentials);
  | nameCtxt = new InitialContext(env);
  | 

The nameCtxt returned is then used to perform a lookup of the secure EJB and 
that's when the problems start due to security.

I've dumped out the values of the context and they are
java.naming.factory.initial = org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkg = 
org.jboss.naming:org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces
 (I'm not sure why these are repeated 3 times)
java.naming.security.principal = MyPrincipal
java.naming.security.credentials = MyCredentials
java.naming.security.protocol = mySecurity

The value for protocol is coming from my jndi.properties file that I've 
included in the ear file that this is all bundled up into as I thought that 
might have been the problem.

This is really starting to drive me crazy!  I'm sure I must just be missing 
something simple, but I don't know what.

Help!

Thanks.

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

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


[jboss-user] [Remoting] - Re: Don't want to hard code the dynamic IP for @RemoteBindin

2008-12-19 Thread jaikiran
"slimamar" wrote : Hello,
  | 
  | I have the same problem with :
  | @RemoteBinding(clientBindUrl = "socket://0.0.0.0:3873")
  | 
  | It works fine with JBoss 5.0.0Beta4 but not with JBoss 5.0.0.GA.
  | The property "jboss.bind.address" is set and the hostname '0.0.0.0' is not 
replaced.
  | 
  | Is a bug ?

Being discussed here 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197684#4197684

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

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


[jboss-user] [EJB 3.0] - Re: Don't want to hard code the dynamic IP for @RemoteBindin

2008-12-19 Thread jaikiran
Looks related to this 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=146770

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss 5, deployement sorter

2008-12-19 Thread bragadocio
Hello,

i cant find the MBean : 

i need it for update the URLComparator attribute.

if not exist in jboss5, then how to sort deployement projects

thx


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

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


[jboss-user] [EJB/JBoss] - Don't want to hard code the dynamic IP for @RemoteBindings->

2008-12-19 Thread slimamar
Hello,

I have a problem with :
@RemoteBinding(clientBindUrl = "socket://0.0.0.0:3873")

It works fine with JBoss 5.0.0Beta4 but not with JBoss 5.0.0.GA.
The property "jboss.bind.address" is set and the hostname '0.0.0.0' is not 
replaced
from the client.

For more information see : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=102662

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

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


[jboss-user] [EJB 3.0] - Don't want to hard code the dynamic IP for @RemoteBindings->

2008-12-19 Thread slimamar
Hello,

I have a problem with :
@RemoteBinding(clientBindUrl = "socket://0.0.0.0:3873")

It works fine with JBoss 5.0.0Beta4 but not with JBoss 5.0.0.GA.
The property "jboss.bind.address" is set and the hostname '0.0.0.0' is not 
replaced
from the client.

For more information see : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=102662

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

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


[jboss-user] [Management, JMX/JBoss] - MBeanServer not registering java.lang:* MXBeans on jboss sta

2008-12-19 Thread boniek
Title pretty much sums it up. I'm using latest JBoss 4.2 (same on 4.3) on 
Solaris with 1.6 SUN JDK.
This is annoying as hell. My monitoring scripts get "java.lang:blablabla is not 
registered" and mxbean attributes are not available over snmp until I manually 
go to jmx-console. Can anyone help?:)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197677
___
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 deployment issue

2008-12-19 Thread venuwin
Please find my destinations-service.xml below :

  | 
  | 
  | 
  | 
  | 
  | 
  |
  | 
  |
  |   jboss.messaging:service=ServerPeer
  |   jboss.messaging:service=PostOffice
  |
  |
  |
  | 
  |
  |   jboss.messaging:service=ServerPeer
  |   jboss.messaging:service=PostOffice
  |   
  |
  |
  |
  |   
  |   jboss.messaging:service=ServerPeer
  |   jboss.messaging:service=PostOffice   
  |  queue/TotalProcessQueue 
  |  
  |  
  | 
  | 
  | 
  |  
  |   
  | 
  |
  |
  |   
  |   jboss.messaging:service=ServerPeer
  |   jboss.messaging:service=PostOffice
  | queue/ProcessUnitQueue   
  | 
  |  
  | 
  | 
  | 
  |  
  |   
  | 
  |  
  |
  |   
  |   jboss.messaging:service=ServerPeer
  |   jboss.messaging:service=PostOffice
  |   queue/ProcessStatusQueue   
  |   
  |  
  | 
  | 
  | 
  |  
  |   
  | 
  |
  |
  |   jboss.messaging:service=ServerPeer
  |   jboss.messaging:service=PostOffice
  |   queue/MetricsQueue
  |   
  |  
  | 
  | 
  | 
  |  
  |   
  | 
  |
  |   
  |   jboss.messaging:service=ServerPeer
  |   jboss.messaging:service=PostOffice
  |   queue/RequestInfoQueue
  |   
  |  
  | 
  | 
  | 
  |  
  |   
  | 
  |
  |
  |
  |   jboss.messaging:service=ServerPeer
  |   jboss.messaging:service=PostOffice
  |queue/CartQueue
  |
  |  
  | 
  | 
  | 
  |  
  |   
  |
  | 
  | 

and my messaging-service.xml is :

  | 
  | 
  | 
  | 
  | 
  | 
  |
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | java:/jaas/messaging
  | 
  | CHANGE ME!!
  | 
  | 
  |
  | 
  |   
  | 
  |   ${jboss.messaging.ServerPeerID:0}
  |   
  |
  |   
  |   /queue
  |   
  |
  |   
  |   /topic
  | 
  |   jboss.messaging:service=PostOffice
  |   
  |   
  |   
  |   jboss.messaging.destination:service=Queue,name=DLQ
  |   
  |   
  |   
  |   10
  |   
  |   
  |   
  |   jboss.messaging.destination:service=Queue,name=ExpiryQueue
  |   
  |   
  |   
  |   0
  |   
  |   
  |   
  |   5000
  |   
  |   
  |   
  |   6
  |   
  |   
  |   
  |   30
  | 
  |   false
  |   
  |   
  |   
  |   -1
  |   
  |   
  |   
  |   jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
  |   
  |   
  | 
  |   false
  |   
  |   
  |   
  |   30
  |   
  |   
  |   
  |   false
  |   
  |   
  |   
  | 
  |   
  |   
  | 
  |   jboss.messaging:service=PersistenceManager
  |   
  |   jboss.messaging:service=JMSUserManager
  |   
  |   
jboss.messaging:service=Connector,transport=bisocket
  |   jboss.messaging:service=SecurityStore
  |
  | 
  | 
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197676
___
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 deployment issue

2008-12-19 Thread venuwin
Hi,

That has been fixed. Now my error is this :


  | 2008-12-19 21:08:01,862 WARN  
[org.jboss.resource.adapter.jms.inflow.JmsActivation] (WorkManager(2)-2) 
Failure in jms activation 
org.jboss.resource.adapter.jms.inflow.jmsactivations...@1899788(ra=org.jboss.resource.adapter.jms.jmsresourceadap...@1f0c437
 destination=queue/CartQueue destinationType=javax.jms.Queue tx=true 
durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null 
maxMessages=1 minSession=1 maxSession=15 keepAlive=6 useDLQ=true 
DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler 
DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
  | javax.naming.NameNotFoundException: queue not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:713)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at org.jboss.util.naming.Util.lookup(Util.java:222)
  | at 
org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setupDLQDestination(AbstractDLQHandler.java:106)
  | at 
org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setup(AbstractDLQHandler.java:82)
  | at 
org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler.setup(JBossMQDLQHandler.java:48)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDLQ(JmsActivation.java:413)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:351)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:729)
  | at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
  | at 
org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
  | at java.lang.Thread.run(Thread.java:595)

Going nuts with Jboss5. This kind of tedious setup would not help anyone. When 
the whole world speaks about backward compatibility, forcing people to undergo 
such a pain is undue.

With folks like jaikiran, yes, we can live with it. Jaikiran helps all of us a 
lot.

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

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


[jboss-user] [Beginners Corner] - Re: How can a Java object get the name of the JBOSS instance

2008-12-19 Thread jaikiran
Are you looking for

System.getProperty("jboss.server.name");

See this for more details https://www.jboss.org/community/docs/DOC-10730

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Connection Pool Question JBoss 4.2.x

2008-12-19 Thread chip_schoch
I would like to implement the connection pool interface to wrap the current 
connection pool implementation in order get better logging.  This is driven by 
deficiencies in the DBMS (Sybase) auditing features.  Can anyone point me to 
where I can find information on where to start.  For instance, where is the 
connection manager MBean deployment configured, etc;?

Thanks

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

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


[jboss-user] [JBoss jBPM] - Re: How to best control access from multiple threads to a Pr

2008-12-19 Thread jse
Ronald

Thanks for your answers. Am I right in thinking that two threads can, at the 
same time:
1) load the same ProcessInstanceForUpdate
2) Signal to their different tokens
3) Close the context (and thus commit the changed process instance state back 
to the database)
...without causing any clashes or hibernate exceptions, i.e. the different 
tokens provide true seperation between the two threads.

To your other point:
anonymous wrote :  Is there a mechanism towards P if the 200 to E cannot be 
send? If not, why not just do it async?
The main reason for wanting to keep async to a minimum is that it is quite 
heavy weight, requiring additional database persistance etc

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

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


[jboss-user] [EJB 3.0] - Re: remote ejb and dependency injection

2008-12-19 Thread ALRubinger
"morphy" wrote : no way to inject a remote ejb???

True, the spec does not provide mechanism for injection of remote resources.

In fact, until EJB 3.1 there isn't even a mandate that EJBs are bound into 
Global JNDI.

S,
ALR

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

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


[jboss-user] [JBoss jBPM] - BusinessCalendar for each process definition.

2008-12-19 Thread mi...@consol.pl
Hi.
Is it possible to define more than one Business calendar ? I have for e.g 5 
process definition and i want 5 different calendars(calendars with different 
data). I want to associate them with process definition. Actually its only one 
properties file -> jbpm.business.calendar.properties which is loaded in static 
method in constructor. So we have one calendar for all jBPM. Any clues ? I dont 
want to override hundred of classes.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EjbModule is already installed JBossAS-5.0.0.GA

2008-12-19 Thread henlin
Yes! just what I did its here:
https://jira.jboss.org/jira/browse/JBAS-6335

Thanks for helping! 

If anyone can come up with another workaround it would be preferred because its 
just too much work for us in the build scripts and also backward compatibility 
issues with existing in-production versions of the EARs running on WLS. 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EjbModule is already installed JBossAS-5.0.0.GA

2008-12-19 Thread jaikiran
Looks like a bug to me. You could open a JIRA issue here 
https://jira.jboss.org/jira/browse/JBAS. As a workaround, you can rename one of 
the jars to be unique.

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

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


[jboss-user] [EJB 3.0] - Re: Deploying an EJB3 MDB as stopped?

2008-12-19 Thread pbaker01
Hi again,  I have continued to research this problem but still have not found a 
solution.

JBoss 5.0.0 GA
JBoss Messaging

I'll state my problem a different way.  
I have a message producer that can generate upward to 50K messages.  I would 
like to be able to control when the MDBs consume the messages.  I would like 
this control to be performed using JMX or programatically.

1) There are no operations on the MDB via jmx to stopDelivery().
So, how do I prevent the MDB from consuming the messages?
2) Is there a code example of how to stop the MDB (using invoker??) ?

During this testing cycle I am deploying the application via Eclipse as an 
exploded archive.

In jmx the following entries are displayed for: jboss.j2ee 
anonymous wrote : ear=WAB_EJB.jar,jar=WAB_EJB.jar,service=EJB3 
  | jar=WAB_EJB.jar,name=AirlineEjbBean,service=EJB3 
  | jar=WAB_EJB.jar,name=SSMListener,service=EJB3 
  | jar=WAB_EJB.jar,name=SsimEjbBean,service=EJB3 
  | jar=WAB_EJB.jar,name=SubscriberEjbBean,service=EJB3 
  | service=EARClassLoaderDeployer 
  | service=EARDeployer 

When I select the SSMListener (the MDB), there is only one operation: 
getTimerService.  
How do I expose stopDelivery()?

Any help will be GREATLY appreocated.
Paul - ATL

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

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


[jboss-user] [Remoting] - Re: Don't want to hard code the dynamic IP for @RemoteBindin

2008-12-19 Thread slimamar
Hello,

I have the same problem with :
@RemoteBinding(clientBindUrl = "socket://0.0.0.0:3873")

It works fine with JBoss 5.0.0Beta4 but not with JBoss 5.0.0.GA.
The property "jboss.bind.address" is set and the hostname '0.0.0.0' is not 
replaced.

Is a bug ?

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: subject lookup

2008-12-19 Thread stefan.a.marty
Now I have written my own LoginModule where I return a modified principal 
containing the userId. Seems to work. Anyway, if someone has ha better solution 
please note.

Thanks

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

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


[jboss-user] [JCA/JBoss] - Re: How can persist JCA Mbean's attributes using Persistenc

2008-12-19 Thread makas
I can't remove  -ds.xml. Access for -ds.xml is banned for me.
I can create new JMX service that contain in attributes needed JCA MBEAn's 
attributers, and persist it. When Service is started, I give persistence data 
and set up it in JCA MBeans.(past this logic in startService() method ) 

public class SimpleMBeanIMpl extends ServiceMBeanSupport implements   
SimpleMBean {
  |   private List data;
  |   protected void startService(){
  |   //set up JCa MBeans Attributes
  |  }
  |  public setData(...){ ...}
  |  public getData(){ ...}
  | }
Do you know how is it possible to edit Jca MBean's attributes and restore them 
after reloading without PersitentManager and more simple than I ?

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

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


[jboss-user] [Clustering/JBoss] - Session replication, Please help

2008-12-19 Thread navkalp
Hi,

I have two sun solaris 10 machines, each machine has two nodes configured in 
cluster as defined in the following link.
http://www.jboss.org/community/docs/DOC-9384

Please note that session replication is working on second machine.

On the first machine where session replication is not working,when both nodes 
started, I am seeing following message in the log file. In the 
cluster-service.xml for all the four nodes I am using TCP, as it seems that UDP 
is not supported on machines in the question, 
First node:
GMS: address is 172.16.64.21:32804
---
16:36:51,208 INFO  [TreeCache] viewAccepted(): [172.16.64.21:32804|0] 
[172.16.64.21:32804]
16:36:51,291 INFO  [TreeCache] TreeCache local address is 172.16.64.21:32804
16:36:51,291 INFO  [TreeCache] State could not be retrieved (we are the first 
member in group)
16:36:51,292 INFO  [TreeCache] parseConfig(): PojoCacheConfig is empty
16:36:51,610 INFO  [STDOUT] no object for null
16:36:51,621 INFO  [STDOUT] no object for null
16:36:51,710 INFO  [STDOUT] no object for null
16:36:51,800 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
16:36:51,842 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
61.070: [GC [PSYoungGen: 196608K->8128K(229376K)] 201156K->12677K(1015808K), 
0.0691540 secs]
16:36:59,765 INFO  [NativeServerConfig] JBoss Web Services - Native
16:36:59,765 INFO  [NativeServerConfig] jbossws-native-2.0.1.SP2 
(build=200710210837)
16:37:02,629 INFO  [SnmpAgentService] SNMP agent going active
16:37:03,981 INFO  [AtheebWeb] Initializing
16:37:04,158 INFO  [STDOUT]
---
GMS: address is 172.16.64.21:7800
---
16:37:07,259 INFO  [AtheebWeb] Number of cluster members: 3
16:37:07,260 INFO  [AtheebWeb] Other members: 2
16:37:07,260 INFO  [AtheebWeb] Fetching state (will wait for 3 
milliseconds):
16:37:07,420 INFO  [AtheebWeb] state was retrieved successfully (in 159 
milliseconds)
16:37:07,580 INFO  [HANamingService] Started ha-jndi bootstrap jnpPort=1100, 
backlog=50, bindAddress=/0.0.0.0
16:37:07,600 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on 
/0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=
172.16.64.21:1100
16:37:08,159 INFO  [TreeCache] No transaction manager lookup class has been 
defined. Transactions cannot be used
16:37:08,639 INFO  [STDOUT]

Second node:

GMS: address is 172.16.64.21:32819
---
16:44:13,309 INFO  [TreeCache] viewAccepted(): [172.16.64.21:32819|0] 
[172.16.64.21:32819]
16:44:13,392 INFO  [TreeCache] TreeCache local address is 172.16.64.21:32819
16:44:13,392 INFO  [TreeCache] State could not be retrieved (we are the first 
member in group)
16:44:13,393 INFO  [TreeCache] parseConfig(): PojoCacheConfig is empty
16:44:13,729 INFO  [STDOUT] no object for null
16:44:13,741 INFO  [STDOUT] no object for null
16:44:13,830 INFO  [STDOUT] no object for null
16:44:13,924 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
16:44:13,970 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
16:44:16,432 INFO  [STDOUT] 498761 
[ContainerBackgroundProcessor[StandardEngine[jboss.web]]] DEBUG 
org.jboss.web.tomcat.servi
ce.session.JBossCacheManager  - Looking for sessions that have expired ...
60.425: [GC [PSYoungGen: 196608K->8144K(229376K)] 201156K->12693K(1015808K), 
0.0591634 secs]
16:44:22,221 INFO  [NativeServerConfig] JBoss Web Services - Native
16:44:22,221 INFO  [NativeServerConfig] jbossws-native-2.0.1.SP2 
(build=200710210837)
16:44:25,056 INFO  [SnmpAgentService] SNMP agent going active
16:44:25,130 INFO  [STDOUT] 507459 [SnmpPortal--1] DEBUG 
org.jboss.jmx.adaptor.snmp.trapd.TrapdService  - V1 Trap from agent
/172.16.64.21 on port 32821
IP Address. 172.16.64.21
Enterprise Id.. .1.2.3.4.5.6.7
Generic ... 0
Specific .. 0
TimeStamp . 376
Length. 2
Community string... public
Varbind[0] := .1.2.3.4.5.6.7.9 --> Thu Dec 18 16:44:24 AST 2008
Varbind[1] := .1.2.3.4.5.6.7.6 --> 0
16:44:26,359 INFO  [AtheebWeb] Initializing
16:44:26,442 INFO  [STDOUT] 508772 
[ContainerBackgroundProcessor[StandardEngine[jboss.web]]] DEBUG 
org.jboss.web.tomcat.servi
ce.session.JBossCacheManager  - Looking for sessions that have expired ...
16:44:26,528 INFO  [STDOUT]

GMS: address is 172.16.64.21:7801
---
16:44:26,636 INFO  [AtheebWeb] New cluster view for partition AtheebWeb: 7 
([172.16.64.24:1099, 172.16.64.24:1199, 172.16.64.
21:1099, 172.16.64.21:1199] delta: 1)
16:44:26,636 INFO  [STDOUT] 508966 [IncomingMessageHandler (channel=AtheebWeb)] 
INFO org.jboss.ha.framework.interfaces.HAPartition.AtheebWeb  - New cluster 
view for partition AtheebWeb: 7 ([172.16.64.24:1099, 172.16.64.24:1199, 
172.16.64.21:1099, 172.16.64.21:1199] delta: 1)
16:44:26,641 INFO  [STDOUT] 508971 [Incomin

[jboss-user] [Clustering/JBoss] - Session replication, Please help

2008-12-19 Thread navkalp
Hi,

I have two sun solaris 10 machines, each machine has two nodes configured in 
cluster as defined in the following link.
http://www.jboss.org/community/docs/DOC-9384

Please note that session replication is working on second machine.

On the first machine where session replication is not working,when both nodes 
started, I am seeing following message in the log file. In the 
cluster-service.xml for all the four nodes I am using TCP, as it seems that UDP 
is not supported on machines in the question, 
First node:
GMS: address is 172.16.64.21:32804
---
16:36:51,208 INFO  [TreeCache] viewAccepted(): [172.16.64.21:32804|0] 
[172.16.64.21:32804]
16:36:51,291 INFO  [TreeCache] TreeCache local address is 172.16.64.21:32804
16:36:51,291 INFO  [TreeCache] State could not be retrieved (we are the first 
member in group)
16:36:51,292 INFO  [TreeCache] parseConfig(): PojoCacheConfig is empty
16:36:51,610 INFO  [STDOUT] no object for null
16:36:51,621 INFO  [STDOUT] no object for null
16:36:51,710 INFO  [STDOUT] no object for null
16:36:51,800 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
16:36:51,842 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
61.070: [GC [PSYoungGen: 196608K->8128K(229376K)] 201156K->12677K(1015808K), 
0.0691540 secs]
16:36:59,765 INFO  [NativeServerConfig] JBoss Web Services - Native
16:36:59,765 INFO  [NativeServerConfig] jbossws-native-2.0.1.SP2 
(build=200710210837)
16:37:02,629 INFO  [SnmpAgentService] SNMP agent going active
16:37:03,981 INFO  [AtheebWeb] Initializing
16:37:04,158 INFO  [STDOUT]
---
GMS: address is 172.16.64.21:7800
---
16:37:07,259 INFO  [AtheebWeb] Number of cluster members: 3
16:37:07,260 INFO  [AtheebWeb] Other members: 2
16:37:07,260 INFO  [AtheebWeb] Fetching state (will wait for 3 
milliseconds):
16:37:07,420 INFO  [AtheebWeb] state was retrieved successfully (in 159 
milliseconds)
16:37:07,580 INFO  [HANamingService] Started ha-jndi bootstrap jnpPort=1100, 
backlog=50, bindAddress=/0.0.0.0
16:37:07,600 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on 
/0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=
172.16.64.21:1100
16:37:08,159 INFO  [TreeCache] No transaction manager lookup class has been 
defined. Transactions cannot be used
16:37:08,639 INFO  [STDOUT]

Second node:

GMS: address is 172.16.64.21:32819
---
16:44:13,309 INFO  [TreeCache] viewAccepted(): [172.16.64.21:32819|0] 
[172.16.64.21:32819]
16:44:13,392 INFO  [TreeCache] TreeCache local address is 172.16.64.21:32819
16:44:13,392 INFO  [TreeCache] State could not be retrieved (we are the first 
member in group)
16:44:13,393 INFO  [TreeCache] parseConfig(): PojoCacheConfig is empty
16:44:13,729 INFO  [STDOUT] no object for null
16:44:13,741 INFO  [STDOUT] no object for null
16:44:13,830 INFO  [STDOUT] no object for null
16:44:13,924 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
16:44:13,970 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
16:44:16,432 INFO  [STDOUT] 498761 
[ContainerBackgroundProcessor[StandardEngine[jboss.web]]] DEBUG 
org.jboss.web.tomcat.servi
ce.session.JBossCacheManager  - Looking for sessions that have expired ...
60.425: [GC [PSYoungGen: 196608K->8144K(229376K)] 201156K->12693K(1015808K), 
0.0591634 secs]
16:44:22,221 INFO  [NativeServerConfig] JBoss Web Services - Native
16:44:22,221 INFO  [NativeServerConfig] jbossws-native-2.0.1.SP2 
(build=200710210837)
16:44:25,056 INFO  [SnmpAgentService] SNMP agent going active
16:44:25,130 INFO  [STDOUT] 507459 [SnmpPortal--1] DEBUG 
org.jboss.jmx.adaptor.snmp.trapd.TrapdService  - V1 Trap from agent
/172.16.64.21 on port 32821
IP Address. 172.16.64.21
Enterprise Id.. .1.2.3.4.5.6.7
Generic ... 0
Specific .. 0
TimeStamp . 376
Length. 2
Community string... public
Varbind[0] := .1.2.3.4.5.6.7.9 --> Thu Dec 18 16:44:24 AST 2008
Varbind[1] := .1.2.3.4.5.6.7.6 --> 0
16:44:26,359 INFO  [AtheebWeb] Initializing
16:44:26,442 INFO  [STDOUT] 508772 
[ContainerBackgroundProcessor[StandardEngine[jboss.web]]] DEBUG 
org.jboss.web.tomcat.servi
ce.session.JBossCacheManager  - Looking for sessions that have expired ...
16:44:26,528 INFO  [STDOUT]

GMS: address is 172.16.64.21:7801
---
16:44:26,636 INFO  [AtheebWeb] New cluster view for partition AtheebWeb: 7 
([172.16.64.24:1099, 172.16.64.24:1199, 172.16.64.
21:1099, 172.16.64.21:1199] delta: 1)
16:44:26,636 INFO  [STDOUT] 508966 [IncomingMessageHandler (channel=AtheebWeb)] 
INFO org.jboss.ha.framework.interfaces.HAPartition.AtheebWeb  - New cluster 
view for partition AtheebWeb: 7 ([172.16.64.24:1099, 172.16.64.24:1199, 
172.16.64.21:1099, 172.16.64.21:1199] delta: 1)
16:44:26,641 INFO  [STDOUT] 508971 [Incomin

[jboss-user] [EJB/JBoss] - How to manage dependencies between ejb3-jar and jpa-jar at d

2008-12-19 Thread sbon...@antel.com.uy
I have a jpa-jar package and I inject entityManager into an ejb3.

If I deploy the jpa-jar first everything goes ok, but If I deploy both jars and 
then start jboss4.2.3, it seems jboss charge the ejb3 first and the following 
error apperars:   


 Problem starting service jboss.j2ee:service=EJB3,module=Ejb3Recursos.jar
java.lang.NoClassDefFoundError: model/resource/entities/Entidad
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.getMethods(Unknown Source)
at org.jboss.aop.ClassContainer.createMethodMap(ClassContainer.java:182)
at 
org.jboss.ejb3.SessionContainer.createMethodMap(SessionContainer.java:188)
at 
org.jboss.aop.ClassContainer.initializeMetadata(ClassContainer.java:68)
at 
org.jboss.aop.ClassContainer.initializeClassContainer(ClassContainer.java:57)
at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:342)
at 
org.jboss.ejb3.SessionContainer.processMetadata(SessionContainer.java:140)
at 
org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:292)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:356)
at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(Se
...
.

EjbeRecursos.jar - is the ejb
model/resource/entities/Entidad is an entity bean which belongs to 
JPARecursos.jar module

How can I do to indicate jboss to charge jpa-jar first and then ejb3-jar?


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

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


[jboss-user] [JBoss Portal] - Custom Dahboard Bar

2008-12-19 Thread Broots
Hi All,

I'm trying to build a custom dasboard bar as a specific region in my layout.
The problem, i'm facing is to retrieve some attributes from JBossRenderRequest 
like 
"org.jboss.portal.header.ADMIN_PORTAL_URL",
"org.jboss.portal.header.EDIT_DASHBOARD_URL",
"org.jboss.portal.header.COPY_TO_DASHBOARD_URL".
...
see header.jsp for details.
In my porlet, i retrieve a JBossRenderRequest but cannot access these 
attributes ; request.getAttribute("org.jboss.portal.header.ADMIN_PORTAL_URL") 
returns null.

How do you do ?

Thanks,

Sebastien Boutte

Using :
JBoss Portal 2.6
Bridge Beta4

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

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


[jboss-user] [Javassist user questions] - Replace outgoing method call

2008-12-19 Thread johanhaleby
Hi, 

Let's say I have a method M1 in class A that calls method M2 in class B. I 
would like to replace M1's call to M2 without modifying the byte-code of B 
(because I cannot byte-code manipulate this class, for example because it's a 
java.lang class). Is this possible in Javassist without using the byte-code 
level API?

Thanks
Johan

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

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


[jboss-user] [JBoss jBPM] - Re: nulpointer in slightly complicated process

2008-12-19 Thread kukeltje
What I get from your picture:
- You want 5 to only execute if 1 and 2 have finished
- You want 3 and 4 to execute if 1 has finished, but 2 might not have

What you do is use the join on the right as a milestone... A join is a kind of 
milestone, but a very specific one. Instead of a join create a 'dummy' state 
node that does nothing (e.g. call it 'wait for 1 to finish' or milestone or 
whatever). Create a small javaclass that on node-leave for node 1, signals this 
dummy node to continue to 5. That is the correct way of doing it. In jBPM 4 
things might change and this pattern might be supported out of the box either 
with a more flexible join or with options to signal other nodes so you do not 
have to write some small reusable additional java classes. 

How to signal or do something else from java in one node, related to another 
node see 
http://planetjbpm.wordpress.com/2008/10/01/implementing-milestones-in-jbpm/


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

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


[jboss-user] [JBoss jBPM] - Re: variable in process definition

2008-12-19 Thread kukeltje
No, not directly as you describe... search the forums for for other ways

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

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


[jboss-user] [JBoss jBPM] - Re: what are the active tokens

2008-12-19 Thread kukeltje
I immediately created a small testcase locally so I will not forget it anymore 
;-)

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

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


[jboss-user] [Beginners Corner] - Migrate J2EE Project EJB 2 from Websphere to JBoss

2008-12-19 Thread garfield168
Hello,

We are currently migrating from WebSphere to JBoss. The EAR contains 64 EJB 2.1 
projects. We don´t want migrate to EJB3 in the next time. Anyway, do we have 
to make JAVA code changes (annotations) although we use EJB2.1?

At the Jboss server start I run into this error:
10:39:04,000 ERROR [StandardContext] Context [/sw] startup failed due to 
previous errors

java.lang.RuntimeException: mapped-name is required for jdbc/myDatasource of 
deployment myWeb.war
...
  
But mapped names are only for EJB3, right?

Please help

Thanks!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197618

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


[jboss-user] [JBoss jBPM] - variable in process definition

2008-12-19 Thread AJanz
is it possible to define a variable and its value in a process definition? 

for example something like


  | 
  | 
  | 
  |
  |
  |   
  |  
  | Going to the first state!
  |  
  |   
  |
  |
  |   
  |  
  | About to finish!
  |  
  |   
  |
  |
  | 
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: what are the active tokens

2008-12-19 Thread tbeernot
"kukeltje" wrote : Yep that was it... Does it work now?
  | 
  | 

Yup!

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM 3.3.0GA console. Missing class JbpmService

2008-12-19 Thread jjrs
Could anyone kindly provide some help/guidance about how to set up the jbpm 
console to connect to a external datasource in 3.3.0GA ?

 Thanks alot.

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

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


[jboss-user] [JBoss jBPM] - Re: what are the active tokens

2008-12-19 Thread kukeltje
Yep that was it... Does it work now?



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

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


[jboss-user] [JBoss jBPM] - Re: nulpointer in slightly complicated process

2008-12-19 Thread jjrs
 Hi Ronald,

  I am slightly confused about what when a processdefinition is illegal.  

anonymous wrote :  not all legs of the fork arrive in the same corresponding 
join. 

 From the functional and dependency point of view, not always be possible to 
add intermediate fork and joins without affecting the dependencies.

  Is it possible to define a dependency graph like this one using parallel 
processing ?

http://www.freeimagehosting.net/uploads/519702236e.png


 Right with my current settings it's impossible for me to execute Node5. We 
have been able to get rid of the SOE exceptions (we will explain how in the 
other thread) however,  with a graph like this, we are not able to execute Node 
5.

  Is there any other mechanism we could use for having such a dependency ?


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

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


[jboss-user] [JBoss jBPM] - Re: what are the active tokens

2008-12-19 Thread tbeernot
if (lNode instanceof HibernateProxy)
{
lNode = (Node) 
((HibernateProxy)lNode).getHibernateLazyInitializer().getImplementation(); 
}


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

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


[jboss-user] [JBoss jBPM] - Re: what are the active tokens

2008-12-19 Thread tbeernot
"kukeltjeStandard hibernate proxy issue... search the web on how to get the 
real implementation (sorry, I have no link at hand, each time I forget to put 
it in my bookmarks)
[/quote wrote : 
  | 
  | Yes, I figured that out by now :-) The only solutions I find using the 
classname and substringing it, but with a name like:
  | 
  | Node$$EnhancerByCGLIB$$561ff92b
  | 
  | That won't work; it's a node, yes, what node? 

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

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


[jboss-user] [Beginners Corner] - Re: How can a Java object get the name of the JBOSS instance

2008-12-19 Thread pedrong
Hi CrankIt,

Did you find out how to get the instance?

Thx

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

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


[jboss-user] [JBoss jBPM] - Re: what are the active tokens

2008-12-19 Thread kukeltje
anonymous wrote : That worked ok, but for some reason I now get Nodes that have 
a class "enhancedByCGLIB" and cannot use that anymore. 

Standard hibernate proxy issue... search the web on how to get the real 
implementation (sorry, I have no link at hand, each time I forget to put it in 
my bookmarks)

After that, you can use all methods on it.


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

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


[jboss-user] [EJB/JBoss] - Connection is not releasing in CMP bean on jboss 4.2.2. GA

2008-12-19 Thread javaAmtho
Hi,

My CMP bean is deployed on Jboss 4.2.2. GA AS.

Issue is that this cmp bean is not releasing the connection after usage in 
module ..and bcos of that i am getting below exception in AS.

2008-12-18 06:53:52,671 DEBUG [JDBCExceptionReporter] Cannot open connection 
[???]
org.jboss.util.NestedSQLException: No ManagedConnections available within 
configured blocking timeout ( 3 [ms] ); - nested throwable: 
(javax.resource.ResourceException: No ManagedConnections available within 
configured blocking timeout ( 3 [ms] ))
at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
at 
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:59)
at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:298)


I am using Hibernate template and used CMP EJB bean.

Let me know if you require more information ..reply urgent if you got issue or 
faced it before,.


Regard
JavaAmtho

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EjbModule is already installed JBossAS-5.0.0.GA

2008-12-19 Thread henlin
Hi!

The problem occur when deploying my-ejbs.jar which is named the same

application.xml in ear 1:

  | http://java.sun.com/xml/ns/j2ee";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
  |  http://java.sun.com/xml/ns/j2ee/application_1_4.xsd";
  | version="1.4">
  | first
  | 
  | my-ejbs.jar
  | 
  | 
  | first.jar
  | 
  | 
  | 
  | webApp.war
  | first-6-0-4
  | 
  | 
  | 


application.xml in ear 2:

  | http://java.sun.com/xml/ns/j2ee";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
  |  http://java.sun.com/xml/ns/j2ee/application_1_4.xsd";
  | version="1.4">
  | yet-other
  | 
  | my-ejbs.jar
  | 
  | 
  | yet-other.jar
  | 
  | 
  | 
  | webApp.war
  | yet-other-6-0-7
  | 
  | 
  | 



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

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


[jboss-user] [Performance Tuning] - Jboss 4.2.2 GA : No ManagedConnections available within conf

2008-12-19 Thread javaAmtho
Hi,

I am getting "No ManagedConnections available within configured blocking 
timeout ( 3 [ms] )"issue on Jboss 4.2.2 GA Application server.

I have deployed CMP EJB bean and its working fine without this issue into Jboss 
4.0.5 GA.

I havnt changes any code into my bean and i just ported my product to new jboss 
4.2.2 GA server.

System Infom:
Portal Server ::Jbosss 4.2.2. GA(
Java 1.5
ejb 2.1.


Error trace :
2008-12-18 06:53:52,671 DEBUG [JDBCExceptionReporter] Cannot open connection 
[???]
org.jboss.util.NestedSQLException: No ManagedConnections available within 
configured blocking timeout ( 3 [ms] ); - nested throwable: 
(javax.resource.ResourceException: No ManagedConnections available within 
configured blocking timeout ( 3 [ms] ))
at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
at 
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:59)
at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:298)
at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:110)
at 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:88)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1162)
at org.hibernate.loader.Loader.doQuery(Loader.java:390)
at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
at org.hibernate.loader.Loader.doList(Loader.java:1593)
at org.hibernate.loader.Loader.list(Loader.java:1577)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)


Please let me know if you faced same issue or any idea you might have .

Regard
JavaAmtho.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss Transactions in AS5.0.0.GA

2008-12-19 Thread rnicholson10
That did the trick! Thanks!

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

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


[jboss-user] [JBoss jBPM] - what are the active tokens

2008-12-19 Thread tbeernot
I have a parent which has forked two childeren. At a certain moment the two 
childeren are each in some state and the parent is waiting in the fork. This 
means -for me- I have to two active token and one suspended.

Some time later the childeren have joined and the parent is active again. This 
means -for me- I have to one active token.

I would like to be able to determine all active tokens. I used to do this by 
scanning all tokens and removing all tokens that had a node of class 
"StartState", "Fork", "Join", "EndState". 

That worked ok, but for some reason I now get Nodes that have a class 
"enhancedByCGLIB" and cannot use that anymore.  

Is there any other way to determine if a token is active? 

Methods like isSuspended, isLocked or hasActiveChildren don't work (the last 
not because one of the childs at some time will enter the Join state and thus 
is not active anymore, but it never hasActiveChildren).


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

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


[jboss-user] [JBoss AOP] - Re: help with poincut for annotation parameter values

2008-12-19 Thread vladimir.kovalyuk
DerMas, thanks for help.
I'm afraid what I'm looking for is actually not supported. Dynamic interception 
won't help 'cause I have to reflect aspectized classes.


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem with dependency on EJB JAR

2008-12-19 Thread g7r
Thanks for quick reply!

I see I can reference particular EJB Bean in depends element. But can I 
reference entire EJB JAR?

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss Transactions in AS5.0.0.GA

2008-12-19 Thread jhalliday
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=119313

Use transactionManager.commit|rollback, not transaction.commit|rollback, that 
will probably sidestep the issue.

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

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


[jboss-user] [Remoting] - Re: JBREM-877: New Socket Connection is being Created for Ev

2008-12-19 Thread vink
I'm using SLSB on JBoss 4.2.2.GA with Remoting 2.4.0.SP1. On using 
invokerDestructionDelay in ejb3 connector configuration, my system goes slow & 
slow and run out of resources(native threads) in few minutes.

When removing this attribute, the system don't run out of resources, but many 
sockets are visible in TIME_WAIT state. As a result of this, my system run out 
of sockets & after a while I get sporadic disconnects. 

Is there any real fix available for this critical problem? Any other version 
that can be used to avoid this situation.

Any suggestions.

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

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


[jboss-user] [JBoss AOP] - Re: help with poincut for annotation parameter values

2008-12-19 Thread DerMas
As far as I know you can only set pointcuts for an annotation, but not for its 
attributes. So you have to intercept all @Mixins annotations and then you can 
check out which attributes are set in your aspect/interceptor:



  | MethodInvocation methodInvocation = (MethodInvocation) invocation;
  | //get your annotation
  | @Mixins mixinAnnotation = 
methodInvocation.getMethod().getAnnotation(ContainerSide.class);
  | //get the value attribute
  | class[] someClasses = mixinAnnotation.value();
  | doSomethingSpecial();
  | 

This was just a quick example and might not work like that, but it shows the 
way to do it.
Maybe this example helps somehow.

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

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


[jboss-user] [EJB 3.0] - Re: remote ejb and dependency injection

2008-12-19 Thread morphy
no way to inject a remote ejb???


umpf sob sigh

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

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


[jboss-user] [Security & JAAS/JBoss] - subject lookup

2008-12-19 Thread stefan.a.marty
Hello

I try to get the subject to store an additional principal containing UserId for 
audit purposes (subquestion: Is that a good idea). Unfortunately I get always 
another subject instance so I can't persist the UserId.

this are my lookup trials:

Subject subject = (Subject) 
PolicyContext.getContext("javax.security.auth.Subject.container");

Subject subject = (Subject) ic.lookup("java:jaas/tmsec/subject");

I always get a subject contained principals with correct username and roles.

Has somebody an idea if the lookup has to be done different or if possibly 
something is missing somewhere else?

I use jboss-4.2.3.GA

Thanks in advance 

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

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


[jboss-user] [JBoss jBPM] - Re: How to best control access from multiple threads to a Pr

2008-12-19 Thread kukeltje
btw, you seem to do things synchronous in a transaction like way from E to J to 
P. Is there a mechanism towards P if the 200 to E cannot be send? If not, why 
not just do it async? I think/hope btw this is a minimal version of the process 
to demonstrate your issue. Otherwise the added-value of jBPM is very little

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

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


[jboss-user] [JBoss jBPM] - Re: nulpointer in slightly complicated process

2008-12-19 Thread kukeltje
oh... btw... your process is not slightly complicated look here: 
http://download.schabell.org/presentations/STPBPM_JFall2008.pdf, sheet 15

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

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


[jboss-user] [JBoss Tools (users)] - Re: hibernate.cfg.xml not found when l launch a test

2008-12-19 Thread juanignaciosl
No, sorry, I was wrong. The app worked _before_ adding jBPM. I've created a 
Jira (https://jira.jboss.org/jira/browse/JBSEAM-3858) with this issue. It's 
more detailed than this entry.

Thank you for your interest :)

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JBoss Transactions in AS5.0.0.GA

2008-12-19 Thread rnicholson10
We recently moved from JBoss AS 4.0.5.GA to AS 5.0.0.GA and have begun testing 
our applications. The first problem I'm having is to do with transactions. In 
4.0.5.GA there are no issues, but in the new version I'm getting the following 
exception:

java.lang.IllegalStateException: Can't lock a TransactionLocal after the 
Transaction has ended

followed by the following: 

2008-12-18 13:22:34,505 ERROR 
[org.jboss.web.tomcat.service.jca.CachedConnectionValve] (http-0.0.0.0-8080-2) 
Application error: action did not complete its transaction suspended 
tx=TransactionImple < ac, BasicAction: 7f01:e47f:49491afc:a32 status: 
ActionStatus.COMMITTED >

If I try to start another transaction after these errors I get a null pointer 
exception. The transaction completes successfully on all DB's. Has something 
changed drastically between the 2 AS releases? Any help would be greatly 
appreciated.

Code is like this:


  | TransactionManager transactionManager = 
TransactionManagerLocator.getInstance().locate();
  | Transaction transaction = null;
  | 
  | try
  | {
  | //Begin the transaction and then get the transaction...
  | transactionManager.begin();
  | transaction = transactionManager.getTransaction();
  | 
  | //Update on DB1
  | //Update on DB2
  | //Update on DB3
  | 
  | transaction.commit();
  | }
  | catch(Exception e)
  | {
  | try
  | {
  | transaction.rollback();
  | }
  | catch (SystemException se)
  | {
  | log.debug(se);
  | }
  |   
  | }
  | finally
  | {
  | try
  | {
  | //close all resources
  | }
  | catch(SQLException se)
  | { 
  | log.error("SQLException: "+ se);  
  | }
  | }
  | 
  | 

Stack trace as follows:


  | 2008-12-18 13:22:32,437 DEBUG 
[org.jboss.resource.connectionmanager.CachedConnectionManager] 
(http-0.0.0.0-8080-2) Unable to synchronize with transaction
  | java.lang.IllegalStateException: Can't lock a TransactionLocal after the 
Transaction has ended
  | at 
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.lock(BaseTransactionManagerDelegate.java:226)
  | at org.jboss.tm.TransactionLocal.lock(TransactionLocal.java:109)
  | at 
org.jboss.resource.connectionmanager.TransactionSynchronizer.lock(TransactionSynchronizer.java:222)
  | at 
org.jboss.resource.connectionmanager.CachedConnectionManager.getCloseConnectionSynchronization(CachedConnectionManager.java:545)
  | at 
org.jboss.resource.connectionmanager.CachedConnectionManager.unregisterConnection(CachedConnectionManager.java:303)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.connectionClosed(TxConnectionManager.java:720)
  | at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.closeHandle(BaseWrapperManagedConnection.java:362)
  | at 
org.jboss.resource.adapter.jdbc.WrappedConnection.close(WrappedConnection.java:155)
  | at 
com.paddypower.shopwallet.db.MultipleDatabaseDAO.performTransaction(MultipleDatabaseDAO.java:286)
  | at 
com.paddypower.shopwallet.action.WalletLDAction.performTransaction(WalletLDAction.java:589)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:266)
  | at 
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:167)
  | at 
org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction.java:143)
  | at 
org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:53)
  | at 
org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:64)
  | at 
org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48)
  | at 
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
  | at 
org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
  | at 
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
  | at 
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280)
  | at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
  | at 
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
  | at javax.servlet.http.HttpServ

  1   2   >