[JBoss JIRA] Created: (JBAS-8787) Native libraries not found when using IBM JDK
by Mike Millson (JIRA)
Native libraries not found when using IBM JDK
---------------------------------------------
Key: JBAS-8787
URL: https://issues.jboss.org/browse/JBAS-8787
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web (Tomcat) service
Affects Versions: 6.0.0.Final
Reporter: Mike Millson
Assignee: Remy Maucherat
The native components are not found on x86_64 using the IBM JDK because the startup script is looking in "lib" instead of "lib64".
You get this error:
2011-01-04 16:39:37,205 INFO [org.apache.catalina.core.AprLifecycleListener] (main) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/mmillson/jboss/eap-5.1.0/jboss-as/native/lib
run.sh and run.bat set the native directory based on whether the reported version includes the string "64-bit":
IS_64_BIT_JVM=`"$JAVA" $JAVA_OPTS -version 2>&1 | $GREP -i 64-bit`
if [ "x$IS_64_BIT_JVM" != "x" ]; then
JBOSS_NATIVE_DIR="$JBOSS_NATIVE_DIR/lib64"
else
JBOSS_NATIVE_DIR="$JBOSS_NATIVE_DIR/lib"
fi
But with the IBM JDK "java -version" does not report that string:
Java(TM) SE Runtime Environment (build pxa6460sr8fp1-20100624_01(SR8 FP1))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr8ifx-20100609_59383 (JIT enabled, AOT enabled)
J9VM - 20100609_059383
JIT - r9_20100401_15339ifx2
GC - 20100308_AA)
JCL - 20100624_01
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (AS7-2046) org.jboss.as.jpa.processor.PersistenceProviderProcessor does not handle multiple persistence providers
by Hardy Ferentschik (Created) (JIRA)
org.jboss.as.jpa.processor.PersistenceProviderProcessor does not handle multiple persistence providers
------------------------------------------------------------------------------------------------------
Key: AS7-2046
URL: https://issues.jboss.org/browse/AS7-2046
Project: Application Server 7
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 7.0.2.Final
Reporter: Hardy Ferentschik
Assignee: Scott Marlow
When more then one persistence provider is found in an application an exception is thrown even if _persistence.xml_ explicitly specifies the provider to be used:
{code}
// collect list of persistence providers packaged with the application
final List<String> providerNames = servicesAttachment.getServiceImplementations(PersistenceProvider.class.getName());
if (providerNames.size() > 1) { // TODO: support more than one provider to be packaged, which requires
// knowing which adapter belongs with it.
throw MESSAGES.onlyOnePersistenceProviderAllowed(providerNames);
}
{code}
The solution could be to attach the of persistence provider classes and integration adaptors classes to _PersistenceProviderDeploymentHolder_
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] Created: (JBAS-9421) Unable to manually create JMS queues in the Admin Console.
by Jarod Rose (JIRA)
Unable to manually create JMS queues in the Admin Console.
----------------------------------------------------------
Key: JBAS-9421
URL: https://issues.jboss.org/browse/JBAS-9421
Project: Legacy JBoss Application Server 6
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JMS (HornetQ), Web Console
Affects Versions: 6.1.0
Environment: Windows XP SP 3
Reporter: Jarod Rose
Assignee: Clebert Suconic
When attempting to create a queue via the JMS Manager in the Admin Console of JBoss 6.1.0-SNAPSHOT (Revision 111808) an error occurs and the queue is not created.
Steps to reproduce:
1) Start creating a JMS queue off of the default template.
2) Fill in the minimum values to create a queue (Name and JNDI Name) In my case it was TestQueue and queue/TestQueue
3) Click Save
At the Top of the page this error appears...
Failed to add Resource (see app server log for additional details): Failed to invoke method 'createQueue' on component 'JMSQueueManageMO' with parameters [SimpleMetaType:java.lang.String:TestQueue, SimpleMetaType:java.lang.String:queue/TestQueue, SimpleMetaType:java.lang.String:null, SimpleMetaType:java.lang.String:null, SimpleMetaType:int:-1, SimpleMetaType:int:10485760, SimpleMetaType:int:10, SimpleMetaType:long:0, SimpleMetaType:boolean:false, SimpleMetaType:long:-1, SimpleMetaType:boolean:false, SimpleMetaType:java.lang.String:PAGE, SimpleMetaType:java.lang.String:, SimpleMetaType:java.lang.String:].
And this stack trace appears in the server.log...
2011-07-21 09:38:55,270 INFO [org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor] (InventoryManager.discovery-1) Running runtime discovery scan rooted at [platform]
2011-07-21 09:38:55,489 INFO [org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor] (InventoryManager.discovery-1) Scanned [0] servers and found [0] total descendant Resources.
2011-07-21 09:40:03,179 INFO [org.rhq.core.pc.inventory.CreateResourceRunner] (ResourceFactory.executor-1) Creating resource through report: CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=JMS Queue, plugin=HornetQ]], ResourceKey=[null]
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) java.lang.reflect.UndeclaredThrowableException: Failed to invoke method 'createQueue' on component 'JMSQueueManageMO' with parameters [SimpleMetaType:java.lang.String:TestQueue, SimpleMetaType:java.lang.String:queue/TestQueue, SimpleMetaType:java.lang.String:null, SimpleMetaType:java.lang.String:null, SimpleMetaType:int:-1, SimpleMetaType:int:10485760, SimpleMetaType:int:10, SimpleMetaType:long:0, SimpleMetaType:boolean:false, SimpleMetaType:long:-1, SimpleMetaType:boolean:false, SimpleMetaType:java.lang.String:PAGE, SimpleMetaType:java.lang.String:, SimpleMetaType:java.lang.String:].
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.plugins.management.util.AbstractManagedComponentRuntimeDispatcher.invoke(AbstractManagedComponentRuntimeDispatcher.java:148)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:93)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.lang.reflect.Method.invoke(Method.java:597)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.Client.invoke(Client.java:2070)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.Client.invoke(Client.java:879)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.generatedproxies.AOPProxy$0.invoke(AOPProxy$0.java)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.management.client.ManagedOperationDelegate.invoke(ManagedOperationDelegate.java:63)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createQueue(JMSManagerComponent.java:267)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createResource(JMSManagerComponent.java:149)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.lang.reflect.Method.invoke(Method.java:597)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.FutureTask.run(FutureTask.java:138)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.lang.Thread.run(Thread.java:619)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) Caused by: org.jboss.joinpoint.spi.JoinpointException: Method not found createQueue[java.lang.String, java.lang.String, java.lang.String, java.lang.String, long, int, int, int, long, boolean, long, boolean, java.lang.String, java.lang.String] for class org.jboss.as.integration.hornetq.management.jms.QueueManageMO
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.joinpoint.plugins.Config.findMethodInfo(Config.java:400)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.joinpoint.plugins.Config.findMethodInfo(Config.java:366)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.joinpoint.plugins.Config.findMethodInfo(Config.java:335)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.joinpoint.plugins.Config.getMethodJoinpoint(Config.java:223)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:299)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:305)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus$1.dispatch(LifecycleAwareKernelBus.java:61)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus$1.dispatch(LifecycleAwareKernelBus.java:58)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.kernel.plugins.registry.basic.BasicKernelBus.execute(BasicKernelBus.java:71)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus.invoke(LifecycleAwareKernelBus.java:57)
2011-07-21 09:40:03,179 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.invoke(KernelBusRuntimeComponentDispatcher.java:85)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.plugins.management.util.AbstractManagedComponentRuntimeDispatcher.invoke(AbstractManagedComponentRuntimeDispatcher.java:135)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:93)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.lang.reflect.Method.invoke(Method.java:597)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.Client.invoke(Client.java:2070)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.remoting.Client.invoke(Client.java:879)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aop.generatedproxies.AOPProxy$0.invoke(AOPProxy$0.java)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.profileservice.management.client.ManagedOperationDelegate.invoke(ManagedOperationDelegate.java:63)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createQueue(JMSManagerComponent.java:267)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.as.integration.hornetq.jopr.JMSManagerComponent.createResource(JMSManagerComponent.java:149)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.lang.reflect.Method.invoke(Method.java:597)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.FutureTask.run(FutureTask.java:138)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at java.lang.Thread.run(Thread.java:619)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72)
2011-07-21 09:40:03,194 ERROR [STDERR] (ResourceContainer.invoker.nonDaemon-2) ... 19 more
2011-07-21 09:40:03,194 INFO [org.rhq.core.pc.inventory.CreateResourceRunner] (ResourceFactory.executor-1) Sending create response to server: CreateResourceResponse[RequestId=1, Status=Failure]
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months