[JBoss JIRA] Created: (JBAS-8320) Logging initialization
by Alexey Loubyansky (JIRA)
Logging initialization
----------------------
Key: JBAS-8320
URL: https://jira.jboss.org/browse/JBAS-8320
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Modules
Reporter: Alexey Loubyansky
Assignee: David Lloyd
Fix For: 7.0.0.M1
The following exception is thrown during the start-up on windows (Sun JDK).
The system property is in fact set as the error message suggests and I can successfully invoke
java.util.logging.Logger logger = java.util.logging.Logger.getLogger("mylogger");
System.out.println(logger.getClass().getName() + " " + logger.getClass().getClassLoader().getClass().getName() + " " + logger.getClass().getClassLoader());
from ManagedProcess just before
this.log = Logger.getLogger("org.jboss.process." + processName);
(which causes the error) and output will be
org.jboss.logmanager.Logger org.jboss.modules.ModuleClassLoader ClassLoader for Module "module:org.jboss.logmanager:jboss-logmanager"
Exception in thread "main" java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager")
at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
at org.jboss.logging.JBossLogManagerProvider.doGetLogger(JBossLogManagerProvider.java:55)
at org.jboss.logging.JBossLogManagerProvider.getLogger(JBossLogManagerProvider.java:46)
at org.jboss.logging.Logger.getLogger(Logger.java:2222)
at org.jboss.as.process.ManagedProcess.<init>(ManagedProcess.java:66)
at org.jboss.as.process.ProcessManagerMaster.addProcess(ProcessManagerMaster.java:64)
at org.jboss.as.process.ProcessManagerMaster.main(ProcessManagerMaster.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.modules.Module.run(Module.java:105)
at org.jboss.modules.Main.main(Main.java:169)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 6 months
[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
14 years, 6 months
[JBoss JIRA] Created: (JBAS-8423) Ensure that connectors that handle end user request start late in the server start process
by Brian Stansberry (JIRA)
Ensure that connectors that handle end user request start late in the server start process
------------------------------------------------------------------------------------------
Key: JBAS-8423
URL: https://jira.jboss.org/browse/JBAS-8423
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Brian Stansberry
Assignee: Emanuel Muckenhuber
Fix For: 7.0.0.M1
Ensure all connectors that handle user requests have appropriate behavior with respect to not starting until the overall server start is in a state where the connector can handle the expected requests.
Part of this is understanding how the clients work; i.e. for some connectors clients may never send a request that the server can't correctly handle. For others, e.g. web connectors fronted by mod_jk or most hardware load balancers, once the connector is started, it may start receiving requests for apps that are not deployed.
This is somewhat related to graceful shutdown, where the connector should stop handling requests at the appropriate point in a shutdown process.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 6 months