[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Apache Portable Runtime (APR) on Jboss 4.2.3 GA

wstrater@yahoo.com do-not-reply at jboss.com
Mon Dec 8 16:57:08 EST 2008

I am having a slightly different problem. It is finding the native directory but not APR.

I run JBoss and it reports that it can not find APR in a bunch of directories. I download jboss-native-2.0.6-linux2-x86-ssl.tar.gz and follow the instructions on http://www.jboss.org/community/docs/DOC-9912 which has me moving files from META-INF/lib/linux2/x86 to jboss/bin/native and META-INF/bin/linux2/x86 to jboss/bin. It finds the native directory but not APR.

Before the download install.

16:17:16,715 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/jdk1.5.0_03/jre/lib/i386/server:/usr/jdk1.5.0_03/jre/lib/i386:/usr/jdk1.5.0_03/jre/../lib/i386

The results of the download and install.

[webuser at bri-devweb01 bin]$ find . -type f | sort
[webuser at bri-devweb01 bin]$ 

The restart after the install.

JBOSS_HOME: /usr/local/jboss
JBoss Profiler 2.0.Beta4 (Sun Microsystems Inc. 1.5.0_03)
JBoss Profiler depends on external communication module
16:29:56,757 INFO  [Server] Starting JBoss (MX MicroKernel)...
16:29:56,759 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
16:29:56,761 INFO  [Server] Home Dir: /usr/local/jboss-4.2.3.GA
16:29:56,761 INFO  [Server] Home URL: file:/usr/local/jboss-4.2.3.GA/
16:29:56,763 INFO  [Server] Patch URL: null
16:29:56,763 INFO  [Server] Server Name: default
16:29:56,763 INFO  [Server] Server Home Dir: /usr/local/jboss-4.2.3.GA/server/default
16:29:56,764 INFO  [Server] Server Home URL: file:/usr/local/jboss-4.2.3.GA/server/default/
16:29:56,764 INFO  [Server] Server Log Dir: /usr/local/jboss-4.2.3.GA/server/default/log
16:29:56,765 INFO  [Server] Server Temp Dir: /usr/local/jboss-4.2.3.GA/server/default/tmp
16:29:56,765 INFO  [Server] Root Deployment Filename: jboss-service.xml
16:29:57,720 INFO  [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.
16:29:57,720 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_03-b07,Sun Microsystems Inc.
16:29:57,720 INFO  [ServerInfo] OS-System: Linux 2.4.21-57.ELsmp,i386
16:29:58,298 INFO  [Server] Core system initialized
16:30:02,357 INFO  [WebService] Using RMI server codebase: http://bri-devweb01:8083/
16:30:02,361 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
16:30:03,291 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
16:30:03,291 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
16:30:03,709 INFO  [TransactionManagerService] Starting recovery manager
16:30:03,988 INFO  [TransactionManagerService] Recovery manager started
16:30:03,988 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
16:30:10,726 INFO  [EJB3Deployer] Starting java:comp multiplexer
16:30:11,190 INFO  [Profiler] JBoss Profiler: ProfilerMBean started
16:30:11,190 INFO  [Communicator] JBoss Profiler: Communicator for JBoss Profiler 2.0.Beta4
16:30:11,199 INFO  [Communicator] JBoss Profiler: Socket=
16:30:16,800 INFO  [NativeServerConfig] JBoss Web Services - Native
16:30:16,801 INFO  [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
16:30:18,049 INFO  [Embedded] Catalina naming disabled
16:30:18,334 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jboss/bin/native
16:30:18,476 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-
16:30:19,925 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-9443
16:30:19,927 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-

[webuser at bri-devweb01 bin]$ cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Xeon(TM) CPU 3.20GHz
stepping        : 1
cpu MHz         : 3200.272
cache size      : 1024 KB
physical id     : 0
siblings        : 2
runqueue        : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm lm
bogomips        : 6383.20

Am I missing a step?


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

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

More information about the jboss-user mailing list