JMS Warning on weblogic startup
The JMS experts may here know better. Looking hard to resolve this issue relaated to JMS. can anyone help here.
Re: JMS Warning on weblogic startup
I'm not familiar it, but apparently there's a feature in the security subsystem that allows propagating security information for "L2 Caches" via JMS, and it is this feature that's generating the Warning -- not JMS itself.
I do not happen to know how this feature works, what kind of JMS configuration it expects, or if the Warning is simply a natural ephemeral part of the boot/initialization process of the security feature that can be ignored.
You might want to try posting to the "WebLogic Server - Security" newsgroup.
Tom
Similar Messages
-
Hi All,
We have created JMS queue on weblogic server which is file base persistent .
Now my query is if any external code wants to publish a message into the queue they need user name to connect .
Which user they can connect other than weblogic user OR what user I can create so that he doesn’t has Admin rights and can publish to Queue.
Thanks
AKI'm not familiar it, but apparently there's a feature in the security subsystem that allows propagating security information for "L2 Caches" via JMS, and it is this feature that's generating the Warning -- not JMS itself.
I do not happen to know how this feature works, what kind of JMS configuration it expects, or if the Warning is simply a natural ephemeral part of the boot/initialization process of the security feature that can be ignored.
You might want to try posting to the "WebLogic Server - Security" newsgroup.
Tom -
Foreign JMS QCF and Weblogic Sever Session Pool
Hi!
We have Weblogic 6.1 SP2 installation.
We are trying to use JMS Server session pool and connection consumer configuration
with MQSeries QCF registered to weblogic JNDI via startup class.
Upon server startup weblogic is throwing ClassCast exception for QueueConnection.
It seems weblogic is expecting QueueConnection implementation by weblogic.
Any suggestions or alternative way of doing it.
Thanks
Jay PArikh
Hi Jay,
Server session pools do not support foreign providers.
The preferred way to integrate foreign providers is via MDBs or
via the Messaging Bridge (bridge available in SP3). For a
comprehensive write-up on integrating foreign providers with
WL see the whitepaper "Using Foreign JMS Providers with
WebLogic Server" on dev2dev.bea.com.
Tom
Jay Parikh wrote:
> Hi!
>
> We have Weblogic 6.1 SP2 installation.
>
> We are trying to use JMS Server session pool and connection consumer configuration
> with MQSeries QCF registered to weblogic JNDI via startup class.
>
> Upon server startup weblogic is throwing ClassCast exception for QueueConnection.
> It seems weblogic is expecting QueueConnection implementation by weblogic.
>
> Any suggestions or alternative way of doing it.
>
> Thanks
> Jay PArikh
-
WLS 10.0 Mp1 - Weblogic startup class to initialize client's SSL channels
Hi,
Is it possible to use Weblogic startup class to initialize client's SSL channels?
Any pointers are appreciated.
Thanks in advance.Hey
If possible can you explain the issue in detail.
What do you mean by “initialize client's SSL channels”
Regards,
Hussain -
Can you specify third party JMS Provider in Weblogic appserver configuration
Can you specify third party JMS Provider in Weblogic appserver configuration ???
Only place i know of is that you can specify third party JMS Provider in MDB configuraion.
DOES Weblogic has some kind of configuration files where you specify JMS Provider
info (Like you can do that in JBOSS)
You can also specify a third-party JMS provider using the Messaging Bridge,
which transfers messages from one queue or topic to another.
And in general, inside WLS you can use any JMS provider you wish anywhere
that you can also use WLS JMS. In an upcoming release, there will also be
some support to make foreign JMS providers a little easier to configure.
But why would you want to use another JMS provider anyway? ;-)
greg
"Neeru Munjal" <[email protected]> wrote in message
news:[email protected]..
>
> Can you specify third party JMS Provider in Weblogic appserver
configuration ???
>
> Only place i know of is that you can specify third party JMS Provider in
MDB configuraion.
> DOES Weblogic has some kind of configuration files where you specify JMS
Provider
> info (Like you can do that in JBOSS)
-
Weblogic Startup Class does not run as Windows Service
If you know the answer, plase send me an email at [email protected]
I'm running a weblogic startup class that starts a Thread. I need to
run a batch program that should be running as long as WebLogic is
running (to process new orders).
It works fine when I run WebLogic (5.1 SP8) from a script, but causes
problem when I'm running it as a Windows Service. It calls the
startup class, however, the startup class never spawns the Thread
class.
Following is excerpts from different components:
=============================================================
*** weblogic.properties ***
weblogic.system.startupClass.pdfCreatorStart=WebLogicStartupPdfCreator
*** WebLogicStartupPdfCreator.java ***
public class WebLogicStartupPdfCreator implements T3StartupDef {
public String startup(String name, Hashtable args) throws
Exception {
Thread t = new ProductionPdfBatchRunner();
t.start();
return "success";
*** ProductionPdfBatchRunner.java ***
public class ProductionPdfBatchRunner extends Thread {
public void run() {
try {
//work being done here
this.sleep(30000);
catch (InterruptedException ie) {
catch(Exception e) {
e.printStackTrace();
=============================================================
Thanks for any helpHi,
Ok. Few suggestions.
1. Can you review the SAP note:
552286 Troubleshooting for the SAP Web Dispatcher
2. When you said: "web dispatcher does not get started ", what error you got ? Can you be more details here ?
3. Please check the trace file dev_webdisp" that generated in the work directory. If the log entries is not abvious, increase the trace level to 2 or 3, and reproduce and re-check the trace file.
4. What is the output of the command "sapwebdisp -v"
5. How about sapwebdisp.pfl ? Are those settings correct ?
Hope this helps.
Regards,
Vincent -
Weblogic startup class (urgent)
Hi All,
I need a java program (weblogic startup class) which should fetch data from the database and instantiate another one class (it will be the data holder) and store that object into a webapplication context. Anyone tried this? Since its urgent any help will be appreciated.
Thanks in advance
Cheers,
PandiarajDo this in the init() method of a servlet and start
the servlet when you start your weblogic server
second that. just give a value of 1 for <load-on-startup> in web.xml -
Automating Weblogic Startup/Shutdown on Linux
hello and hope you fine
im using weblogic 10.3 with oracle db 11g on CentoOS 5.5
everything is working fine
but my problem is that i want to startup/shutdown weblogic on system start/shutdown
i defined weblogic as service ( i tried all levels) and it works but the problem is
when the system is booting it start weblogic but it stops continue system boot!
i also tries put the start weblogic on the .bash_profile
the system boot but when im trying to login it stops because the same problem
(weblogic startup and prevent contitnue the loginin )
i also tried to add startWeblogic in /etc/rc.d/rc.local
and the same problem when weblogic start system cant continue booting
i also tried using nohup
also the same problem
so how can i start/shutdown weblogic ?
and thanks for help
Edited by: user13113692 on Aug 2, 2010 3:22 AMthank you for your replay
but its the same
when server is booting
the weblogic start and goes to the running state
it stops continue the other services and
the server boot could not continue
here is some of my script
#!/bin/sh
WEBLOGIC_HOME=/root/Oracle/Middleware/user_projects/domains/mydomain/
# source function library
. /etc/rc.d/init.d/functions
case "$1" in
start)
echo "Starting weblogic..."
cd $WEBLOGIC_HOME
su root $WEBLOGIC_HOME/bin/startWebLogic.sh &
stop)
echo "Stopping weblogic..."
cd $WEBLOGIC_HOME
su root $WEBLOGIC_HOME/bin/stopWebLogic.sh &
i also tried something like this to grape all the output to a log file
but the problem here is that the weblogic give me a exception about the paths
case "$1" in
start)
echo "Starting weblogic..."
cd $WEBLOGIC_HOME
su root $WEBLOGIC_HOME/bin/startWebLogic.sh ALL > ${WEBLOGIC_HOME}/logz/start.log 2>&1 &
stop)
echo "Stopping weblogic..."
cd $WEBLOGIC_HOME
su root $WEBLOGIC_HOME/bin/stopWebLogic.sh ALL >${WEBLOGIC_HOME}/logz/stops.log 2>&1 &
i also tried this with the standalone weblogic and its the same
any help will be appreciated -
How to configure JMS server in weblogic
Hi,
I want to configure JMS server in weblogic.So please send me needful link.
Regards
AnupHi Anup,
1. The first thing you have to do is create a filestore where messages will be stored. Look at the below link for more detailed instructions:
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/stores/CreateFileStores.html
2. Next create a JMS server. Look at the below link for more detailed instructions
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_servers/ConfigureJMSServers.html
3. Now, create a JMS System Module to hold the JMS resources like Queues, Topics, Connection Factory, SAF agents etc..
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/modules/ConfigureJMSModules.html
4. Now, create a resource like connection factory OR queue etc.
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/modules/ConfigureJMSModuleResources.html
For now, lets stick to the basics and create a basic queue using the below documentation unless you exactly know what resource you want to create
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/queues/CreateQueues.html
5. You will also need to create a connection factory to use the resource. See below documentation
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/connection_factories/CreateConnectionFactories.html
Please go through the below JMS architecture diagram as well as documentation that will tell you what JMS on WebLogic is all about in terms of configuration
http://docs.oracle.com/cd/E23943_01/web.1111/e13738/overview.htm#i1084283
Arun -
What is the association between JMS Server and JMS Module in weblogic 10?
Hi,
I have a created a ConnectionFactory, Queue, Topic under JMS Modules in Weblogic Server 10 using admin console.
And I have created a JMS Server and Targetted to the current running server (Admin Server).
But when I run the Queue Sender program it is unable to LookUP the jndi which I gave for Queue.
queue = (Queue) initialContext.lookup("jndi_queue");
Exception:
javax.naming.NameNotFoundException: Unable to resolve 'jndi_queue'.
But I configured this jndi name when I create the Queue in JMS Module in Weblogic Server 10.
How JMS Module and JMS server are associated.
My Doubt is if i have several JMS Modules and only one JMS Server created then how does the JMS Server identifies which Queue/Topic belongs to which JMS Module????
Please advice.
Thanks....Hi,
Once you have JMS servers configured:
Step 1: Target the JMS configuration module to the cluster that will host the destination, or, if not using clustering, target the module to the individual WL server that will host the JMS server.
Step 2: Configure a "subdeployment" for the module and set it to reference the exact JMS server(s) that will host the destination. If you're using a distributed desitnation, you can specify multiple JMS servers, if you're using a regular destination, only specify a single destination.
Step 3: Create a destination resource in the module, and set its subdeployment to the subdeployment you specified in step 1 (the console calls this "advanced targeting"). As a best practice avoid the "default targeting" option for the resource - always choose subdeployment (advanced) targeting.
For more information, reference the "best practices" chapter of the JMS configuration guide:
http://download.oracle.com/docs/cd/E14571_01/web.1111/e13738/best_practice.htm#CACJCGHG
I also I highly recommend the JMS chapter of the book "Professional Oracle WebLogic".
Hope this helps,
Tom -
Configure weblogic startup class in deployment jar
We need to invoke a class during weblogic startup that is part of application deployment jar...
It works if startup class is added to server classpath ( Weblogic documentation also insists that). But our startup class uses application logic and needs to be part of application jar..
We are getting java.lang.ClassNotFoundException for the class during start up. setting LoadBeforeAppDeployments to false also does not help...
Is there any other way to invoke a application class during weblogic startup...?
Any help would be appreciated.
Thanks,
Rajasekar.here is the solution to this:
in the conventional method of implementing a startup class, one needs to impletent the T3STartupDef interface and register the class as a startup class in the console / config.xml
in this method, the startup class need not implement the T3STartupDef interface, it just needs to have a "main" method that will be called. the process of registeration is also simple, if you have an application ear.
while making the application ear, add a weblogic-application.xml along with the application.xml. the weblogic-application.xml should contain :
<startup>
<startup-class>myStartup</startup-class>
<startup-uri>myStartupArchive.jar</startup-uri>
</startup>
the myStartupArchive.jar should contain the startup class and all classes used by it
also, use a "manifest" file to point to other library jars within the ear
hope this helps someone !
going, going, ... gone. -
How do I sound an alarm if a thread fails to start from the weblogic startup script?
Here's the problem. I have a critical java program for my web app that
is its own thread and is started by the weblogic startup script when
the weblogic server is started. The constructor of this thread will
throw exceptions and send out emergency emails to the Sys Ops people
if it cant instantiate itself correctly. The only time that it wont be
able to do that is if it cant read the email property from a config
file to know where to send sys ops email to. In that situation what
would be the best way to alert someone that the thread failed to
start?[email protected] (Mike Lomage) wrote in message news:<[email protected]>...
... The only time that it wont be
able to do that is if it cant read the email property from a config
file to know where to send sys ops email to. In that situation what
would be the best way to alert someone that the thread failed to
start?My 2 cents worth:-
1) Post a console message to the admin (thro' net send in NT).
2) Hard code a default email address (easiest).
drit
Freelance Java Developer / Code Inspector
http://www.geocities.com/doc_i_t/CodeInspectionService.html -
AQ JMS Bridge in WebLogic 9.2
I have configured a JMS Bridge that has source target as an AQ(which is referred to by a local weblogic jndi name - followed the robert patric framework) and the destination as a JMS queue. I can see the error logs prointed on the adminserver.logs when the bridge is started and the error is printed on and on.
error log:
####<May 25, 2010 1:51:19 PM CDT> <Info> <MessagingBridge> <hostname_replaced> <osmdev03> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1274813479568> <BEA-200033> <Bridge "AQ_2_JMS_WLBridge" is obtaining connections to the two adapters.>
####<May 25, 2010 1:51:19 PM CDT> <Trace> <eis/jms/WLSConnectionFactoryJNDIXA> <hostname_replaced> <osmdev03> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1274813479569> <000000> <<May 25, 2010 1:51:19 PM CDT> Info: AQ_2_JMS_WLBridge : Source connection created to AIA_OSM_OUT_QUEUE>
####<May 25, 2010 1:51:19 PM CDT> <Trace> <eis/jms/WLSConnectionFactoryJNDIXA> <hostname_replaced> <osmdev03> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1274813479613> <000000> <<May 25, 2010 1:51:19 PM CDT> Info: AQ_2_JMS_WLBridge : Connection started to AIA_OSM_OUT_QUEUE>
####<May 25, 2010 1:51:19 PM CDT> <Info> <Common> <hostname_replaced> <osmdev03> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1274813479614> <BEA-000628> <Created "1" resources for pool "eis/jms/WLSConnectionFactoryJNDIXA", out of which "1" are available and "0" are unavailable.>
####<May 25, 2010 1:51:19 PM CDT> <Trace> <eis/jms/WLSConnectionFactoryJNDIXA> <hostname_replaced> <osmdev03> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1274813479615> <000000> <<May 25, 2010 1:51:19 PM CDT> Info: null : Target connection created to oracle.communications.ordermanagement.WebServiceQueue>
####<May 25, 2010 1:51:19 PM CDT> <Trace> <eis/jms/WLSConnectionFactoryJNDIXA> <hostname_replaced> <osmdev03> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1274813479617> <000000> <<May 25, 2010 1:51:19 PM CDT> Info: null : Connection started to oracle.communications.ordermanagement.WebServiceQueue>
####<May 25, 2010 1:51:19 PM CDT> <Info> <Common> <hostname_replaced> <osmdev03> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1274813479618> <BEA-000628> <Created "1" resources for pool "eis/jms/WLSConnectionFactoryJNDIXA", out of which "1" are available and "0" are unavailable.>
####<May 25, 2010 1:51:19 PM CDT> <Info> <MessagingBridge> <hostname_replaced> <osmdev03> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1274813479618> <BEA-200032> <Bridge "AQ_2_JMS_WLBridge" is configured to disallow degradation of its quality of service in cases where the configured quality of service is unreachable.>
####<May 25, 2010 1:51:19 PM CDT> <Info> <MessagingBridge> <hostname_replaced> <osmdev03> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1274813479618> <BEA-200030> <Bridge "AQ_2_JMS_WLBridge" is configured to work in "Exactly-once" mode, and it is actually working in "Exactly-once" mode.>
####<May 25, 2010 1:51:19 PM CDT> <Info> <MessagingBridge> <hostname_replaced> <osmdev03> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1274813479618> <BEA-200028> <The bridge "AQ_2_JMS_WLBridge" has started transferring messages.>
####<May 25, 2010 1:51:19 PM CDT> <Trace> <eis/jms/WLSConnectionFactoryJNDIXA> <hostname_replaced> <osmdev03> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1274813479618> <000000> <<May 25, 2010 1:51:19 PM CDT> Error: AQ_2_JMS_WLBridge : Failed to create consumer AIA_OSM_OUT_QUEUE>
####<May 25, 2010 1:51:19 PM CDT> <Trace> <eis/jms/WLSConnectionFactoryJNDIXA> <hostname_replaced> <osmdev03> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1274813479619> <000000> <<May 25, 2010 1:51:19 PM CDT> Info: AQ_2_JMS_WLBridge : Connection closed to AIA_OSM_OUT_QUEUE>
####<May 25, 2010 1:51:19 PM CDT> <Warning> <MessagingBridge> <hostname_replaced> <osmdev03> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1274813479619> <BEA-200026> <Bridge "AQ_2_JMS_WLBridge" encountered some problems in one of its adapters or underlying systems. It stopped transferring messages and will try to reconnect to the adapters shortly. (The exception caught was javax.resource.ResourceException: Error setting message listener.)>
####<May 25, 2010 1:51:19 PM CDT> <Trace> <eis/jms/WLSConnectionFactoryJNDIXA> <hostname_replaced> <osmdev03> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1274813479621> <000000> <<May 25, 2010 1:51:19 PM CDT> Info: null : Connection closed to oracle.communications.ordermanagement.WebServiceQueue>
####<May 25, 2010 1:51:19 PM CDT> <Info> <MessagingBridge> <hostname_replaced> <osmdev03> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1274813479621> <BEA-200020> <Bridge "AQ_2_JMS_WLBridge" is stopped.>
Thanks
MattHi Kapil,
WebLogic JMS doesn't distinguish between "incoming" and "outgoing" queues - they're both application queues as far as WebLogic is concerned. Either queue can be paused/resumed.
You might interesting in knowing that WL also supports pausing/resuming MDBs both administratively and automatically on failure. For information, see "Configuring Suspension of Message Delivery During JMS Resource Outages" in the MDB developer guide.
Tom -
WebLogic startup --- java.lang.OutOfMemoryError
Hello,
after many Error's i get now this trace.
Until now, i fixed the MBean error, and the Permgen error. [Link | https://kr.forums.oracle.com/forums/thread.jspa?threadID=2306365 ]
But now i get this ... and google dont help me with the printed errors.
Does anyone of you got a hint for me?
greets Jens
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://hostname:port/console *
starting weblogic with Java version:
java version "1.7.0_19"
OpenJDK Runtime Environment (rhel-2.3.9.1.el6_4-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
Starting WLS with line:
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19.x86_64/bin/java -Xms512m -Xmx512m -Dweblogic.Name=AdminServer -Djava.security.policy=/opt/oracle/wlserver_12.1/server/lib/weblogic.policy -Djava.endorsed.dirs=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19.x86_64/jre/lib/endorsed:/opt/oracle/wlserver_12.1/endorsed -da -Dplatform.home=/opt/oracle/wlserver_12.1 -Dwls.home=/opt/oracle/wlserver_12.1/server -Dweblogic.home=/opt/oracle/wlserver_12.1/server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/opt/oracle/patch_wls1211/profiles/default/sysext_manifest_classpath:/opt/oracle/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server
<May 27, 2013 2:56:51 PM CEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<May 27, 2013 2:56:51 PM CEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<May 27, 2013 2:56:51 PM CEST> <Notice> <WebLogicServer> <BEA-000395> <The following extensions directory contents added to the end of the classpath:
/opt/oracle/user_projects/domains/weblogic/lib/hsql.jar:/opt/oracle/user_projects/domains/weblogic/lib/portal-service.jar:/opt/oracle/user_projects/domains/weblogic/lib/portlet.jar.>
<May 27, 2013 2:56:52 PM CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with OpenJDK 64-Bit Server VM Version 23.7-b01 from Oracle Corporation.>
<May 27, 2013 2:56:53 PM CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13340309 Thu Feb 16 18:30:21 IST 2012
WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012
WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012
WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012
WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012
WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012
WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012
WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012
WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012
WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012
WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 >
<May 27, 2013 2:56:56 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
<May 27, 2013 2:56:56 PM CEST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>
<May 27, 2013 2:56:56 PM CEST> <Notice> <LoggingService> <BEA-320400> <The log file /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms, such as Windows.>
<May 27, 2013 2:56:56 PM CEST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/logs/AdminServer.log00012. Log messages will continue to be logged in /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/logs/AdminServer.log.>
<May 27, 2013 2:56:56 PM CEST> <Notice> <Log Management> <BEA-170019> <The server log file /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<May 27, 2013 2:57:01 PM CEST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<May 27, 2013 2:57:05 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY.>
<May 27, 2013 2:57:05 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
May 27, 2013 2:57:22 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
INFO: Detected server weblogic
Loading zip:/opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/portal-impl.jar!/system.properties
May 27, 2013 2:57:23 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
INFO: Global shared lib directory /opt/oracle/modules/
May 27, 2013 2:57:23 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
INFO: Global lib directory /opt/oracle/user_projects/domains/weblogic/lib/
May 27, 2013 2:57:23 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
INFO: Portal lib directory /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/
May 27, 2013 2:57:23 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
INFO: Properties for portal loaded from [file:/opt/oracle/user_projects/domains/portal-ext.properties, zip:/opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/portal-impl.jar!/portal.properties]
Loading zip:/opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/portal-impl.jar!/portal.properties
Loading file:/opt/oracle/user_projects/domains/portal-ext.properties
<May 27, 2013 2:57:58 PM CEST> <Warning> <HTTP> <BEA-101342> <liferay_Deployment: Error(s) encountered while precompiling JSP jspURI
configuration.jsp:17:18: Error in "init.jsp" at line 249: The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
<%@ include file="/html/portlet/asset_publisher/init.jsp" %>
^--------------------------------------^
>
<May 27, 2013 2:57:59 PM CEST> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: javax.crypto, referenced from: /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/_wl_cls_gen.jar]. Ensure that the referenced optional package has been deployed as a library.>
14:58:20,366 INFO [[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][DialectDetector:71] Determine dialect for Oracle 11
14:58:20,556 INFO [[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][DialectDetector:136] Found dialect org.hibernate.dialect.Oracle10gDialect
May 27, 2013 2:58:33 PM net.sf.ehcache.Cache initialise
WARNING: Cache: com.liferay.portal.service.impl.PortletLocalServiceImpl has a maxElementsInMemory of 0. In Ehcache 2.0 this has been changed to mean a store with no capacity limit. Set it to 1 if you want no elements cached in memory
May 27, 2013 2:59:17 PM org.quartz.impl.StdSchedulerFactory instantiate
INFO: Using default implementation for ThreadExecutor
^X ^X^X^X^XException in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception in thread "[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception in thread "[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'"
>
<May 27, 2013 2:57:59 PM CEST> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: javax.crypto, referenced from: /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/_wl_cls_gen.jar]. Ensure that the referenced optional package has been deployed as a library.>
14:58:20,366 INFO [[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][DialectDetector:71] Determine dialect for Oracle 11
14:58:20,556 INFO [[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][DialectDetector:136] Found dialect org.hibernate.dialect.Oracle10gDialect
May 27, 2013 2:58:33 PM net.sf.ehcache.Cache initialise
WARNING: Cache: com.liferay.portal.service.impl.PortletLocalServiceImpl has a maxElementsInMemory of 0. In Ehcache 2.0 this has been changed to mean a store with no capacity limit. Set it to 1 if you want no elements cached in memory
May 27, 2013 2:59:17 PM org.quartz.impl.StdSchedulerFactory instantiate
INFO: Using default implementation for ThreadExecutor
^X ^X^X^X^XException in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
Edited by: 1008097 on 28.05.2013 00:12I think you should consider increasing heap size and check whether you still face the OOM. In addition to that you can consider implementing GC logging using: -verbose:gc -XX:PrintGCTimeStamps and other parameters..
http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html
You can consider implementing -XX:HeapDumpOnOutOfMemory or capture heap dump using jmap etc and check out the contents in the heap using MAT to understand the possible suspects.
https://blogs.oracle.com/alanb/entry/heap_dumps_are_back_with
The above are the basic stuff that needs to be looked into to understand the cause of this issue.
Cheers!!
AJ
Edited by: AJ on May 28, 2013 4:28 PM -
Issue with MDB (jms Queue) in weblogic 8.1
Hi all...
I'm facing a strange kind of problem with MDB using weblogic 8.1.
The code worked perfectly in weblogic 7.0.
This is wht i'm trying to achieve..
i'm having a MDB which implements a onMessage().
I'm publishing message thru a standalone client. Publishing works fine..
The problem is onMessage(javax.jms.Message msg) is never been called :-(.
when i monitor it shows that messages are recieved..
Am is missing something that is really important..
here is my code
package com.csxwt.zodiac.service.domain;
import javax.ejb.*;
import javax.jms.*;
import javax.naming.*;
import java.io.Serializable;
//import com.csxwt.zodiac.service.domain.TestObject;
public class MDBTestBean implements MessageDrivenBean, MessageListener {
MessageDrivenContext messageDrivenContext;
public void ejbCreate() throws CreateException {
System.out.println("into the ejb create");
/**@todo Complete this method*/
public void ejbRemove() {
/**@todo Complete this method*/
public void onMessage(javax.jms.Message msg) {
System.out.println("into the onMessage method 1 ");
ObjectMessage objectMsg = null;
String strObject = "Test";
try
System.out.println("into the onMessage method 2 ");
if (msg instanceof ObjectMessage)
System.out.println("into the onMessage method 3");
objectMsg = (ObjectMessage) msg;
Serializable serializableObj = objectMsg.getObject();
String test = serializableObj.toString();
System.out.println("value of the message sent " + test);
TestObject test1 = null;
if(serializableObj instanceof TestObject )
test1 = (TestObject) serializableObj;
System.out.println("after getting the test value ");
System.out.println("getting the test object valuye " + test1.getName());
else
return;
catch (Exception e)
System.out.println("Message Bean:unexpected Exception thrown ");
e.printStackTrace();
public void setMessageDrivenContext(MessageDrivenContext messageDrivenContext)
System.out.println("into MDB context");
this.messageDrivenContext = messageDrivenContext;
here are the 2 xml files....
<ejb-jar>
<enterprise-beans>
<message-driven>
<display-name>MDBTest</display-name>
<ejb-name>MDBTest</ejb-name>
<ejb-class>com.csxwt.zodiac.service.domain.MDBTestBean</ejb-class>
<transaction-type>Container</transaction-type>
<message-selector>GATE_LANE</message-selector>
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>MDBTest</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>MDBTest</ejb-name>
<message-driven-descriptor>
<pool>
<max-beans-in-free-pool>200</max-beans-in-free-pool>
<initial-beans-in-free-pool>20</initial-beans-in-free-pool>
</pool>
<destination-jndi-name>zodiac.jms.queue.HardWareOutMessageQueue</destination-jndi-name>
</message-driven-descriptor>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
Am i missing something somewhere?????
any help in this is highly appreciated..
thanks in advance.
r
sasi
Check your log for error and warning messages. If there
are some, they should help trace down the problem. If there
aren't any, try confirm that your MDB is deploying in
the first place.
The MDB below is a Q MDB, but you write below that your client
is a "publisher". "Publisher" implies a topic producer, not
a queue producer, and topic producer can't publish to queues.
Tom
T. Sasii Dharma wrote:
> Hi all...
>
> I'm facing a strange kind of problem with MDB using weblogic 8.1.
> The code worked perfectly in weblogic 7.0.
> This is wht i'm trying to achieve..
> i'm having a MDB which implements a onMessage().
> I'm publishing message thru a standalone client. Publishing works fine..
> The problem is onMessage(javax.jms.Message msg) is never been called :-(.
> when i monitor it shows that messages are recieved..
> Am is missing something that is really important..
>
> here is my code
>
> package com.csxwt.zodiac.service.domain;
>
> import javax.ejb.*;
> import javax.jms.*;
> import javax.naming.*;
> import java.io.Serializable;
> //import com.csxwt.zodiac.service.domain.TestObject;
>
> public class MDBTestBean implements MessageDrivenBean, MessageListener {
> MessageDrivenContext messageDrivenContext;
> public void ejbCreate() throws CreateException {
> System.out.println("into the ejb create");
> /**@todo Complete this method*/
> }
> public void ejbRemove() {
> /**@todo Complete this method*/
> }
> public void onMessage(javax.jms.Message msg) {
> System.out.println("into the onMessage method 1 ");
> ObjectMessage objectMsg = null;
> String strObject = "Test";
> try
> {
> System.out.println("into the onMessage method 2 ");
> if (msg instanceof ObjectMessage)
> {
> System.out.println("into the onMessage method 3");
> objectMsg = (ObjectMessage) msg;
> Serializable serializableObj = objectMsg.getObject();
> String test = serializableObj.toString();
> System.out.println("value of the message sent " + test);
> TestObject test1 = null;
> if(serializableObj instanceof TestObject )
> {
> test1 = (TestObject) serializableObj;
> System.out.println("after getting the test value ");
> System.out.println("getting the test object valuye " + test1.getName());
> }
>
> }
> else
> {
> return;
> }
>
> }
> catch (Exception e)
> {
> System.out.println("Message Bean:unexpected Exception thrown ");
> e.printStackTrace();
> }
>
> }
> public void setMessageDrivenContext(MessageDrivenContext messageDrivenContext)
> {
> System.out.println("into MDB context");
>
> this.messageDrivenContext = messageDrivenContext;
> }
> }
>
>
> here are the 2 xml files....
>
> <ejb-jar>
> <enterprise-beans>
> <message-driven>
> <display-name>MDBTest</display-name>
> <ejb-name>MDBTest</ejb-name>
> <ejb-class>com.csxwt.zodiac.service.domain.MDBTestBean</ejb-class>
> <transaction-type>Container</transaction-type>
> <message-selector>GATE_LANE</message-selector>
> <message-driven-destination>
> <destination-type>javax.jms.Queue</destination-type>
> </message-driven-destination>
> </message-driven>
> </enterprise-beans>
> <assembly-descriptor>
> <container-transaction>
> <method>
> <ejb-name>MDBTest</ejb-name>
> <method-name>*</method-name>
> </method>
> <trans-attribute>Required</trans-attribute>
> </container-transaction>
> </assembly-descriptor>
> </ejb-jar>
>
> <weblogic-ejb-jar>
> <weblogic-enterprise-bean>
> <ejb-name>MDBTest</ejb-name>
> <message-driven-descriptor>
> <pool>
> <max-beans-in-free-pool>200</max-beans-in-free-pool>
> <initial-beans-in-free-pool>20</initial-beans-in-free-pool>
> </pool>
> <destination-jndi-name>zodiac.jms.queue.HardWareOutMessageQueue</destination-jndi-name>
> </message-driven-descriptor>
> </weblogic-enterprise-bean>
> </weblogic-ejb-jar>
>
> Am i missing something somewhere?????
> any help in this is highly appreciated..
>
> thanks in advance.
>
> r
> sasi
Maybe you are looking for
-
Iphone broken and dont know what to do.
My iphone is broken and im not due for an upgrade until november and i dont know if i have the option to do so. How can i find out?
-
Hi, While maintaining Standard text in MS-WORD it giving a error 'Internal error in SAP OLE Container Control'. According to my knowlegde its giving error because some file missed in msofficeintegration in OLE. But i am unable to sort out this proble
-
Hi Gurus .. Cycle count issue unable to resolve
Hi Guys, I m facing problem with the transaction MICN, report is RM07ICN1 This report works absolutely fine for "C" type indicators.(time interval is 2 years) But when we try to run thw report for "B" type indicators(time interval is 1 year), I get i
-
BDoc Error for R/3 service category
Hello Currently i am processing the inbound qRFC queue as it has blocked lot of data to flow from R/3 to CRM. While processing, one of the master queue was stopped and the SYSFAIL error was displayed. Using Tcode SMW01 i looked for the error message
-
Updating to Safari 3.1.2 but wont work
I have a really old mac and i try to update this safari but it wont work.... it says i dont have the package or something(very new to mac and very frustrated). It was given to me from a friend and am confused.