Integration with JMS Weblogic server, Couldn't connect to any host
Hi ,
I am doing XI to JMS integration(weblogic JMS server) ,have created a communication channel of type JMS and gave the following parameters.
Transport Protocal : Access JMS Provider with JNDI
Message protocal : JMS 1.X
JNDI Lookup name with
queueconnectionfactory :MyJMSConnectionFactory
JNDI Lookup name with JMS Queue : MyJMSQueue
Name of JNDI initial context factory : weblogic.jndi.WLInitialContextFactory
<b>JNDI Server Address: http://isccap:7001/</b>
all these parameters are working fine when used in a Client java program by which i am able to put and retrive message from Weblogic JMS server queue.
But the same is not working in XI adapter ,
I am getting the following error in adapter monitoring
Zsrl_JMS_Reciever Receiver channel. Details: <u>Couldn't connect to any host</u>
I guess the problem is with <b>JNDI Server Address: http://isccap:7001/</b>
Is the format "http://host:port" correct for weblogic server,
are the JMS port and JNDI port same or different .
I have deployed the required drivers "wlclient.jar" in XI server .
Thanks in advance ,
srikanth Lanka
weblogic works on the Tenga3 protocol and hence the URL to connect to the JNDI provider of weblogic is
t3://host:port
At least in case of Weblogic you connect to your J2EE resources using your JNDI registry so the port would be the same.
Rgds,
Amol
Similar Messages
-
Integrating WebSphere MQ 5.3 with BEA Weblogic Server 9.2 3M
I am trying to integrate WebSphere MQ 5.3 with BEA WebLogic Server 9.2 3M. I have found the guide:
Integrating WebSphere MQ 6 with BEA Weblogic Server 10 using Weblogic Server's Foreign (JMS) Server feature [http://ibswings.blogspot.com/]. I have done all steps according this guidance.
I have made modification since, WebLogic Server 9.2 3M does not support EJB 3.0, I am using EJB 2.1, any changes that have been made is create ejb-jar.xml file and configure it according next guide
At the final step when I am deploying service-jar-files (for ex. ejb.jar), I am able to complete this procedure.
When I am starting service (for ex. ejb.jar) from Deployments I am facing a wall: exception appears
weblogic.application.ModuleException: Exception starting module: EJBModule(EJB)
Unable to deploy EJB: EJB.jar from EJB.jar:
com/ibm/mq/jmqi/system/JmqiComponent
at weblogic.ejb.container.deployer.EJBModule.start(EJBModule.java:505)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:139)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:18
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
java.lang.NoClassDefFoundError: com/ibm/mq/jmqi/system/JmqiComponent
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at com.ibm.msg.client.wmq.factories.WMQFactoryFactory.createProviderXAConnectionFactory(WMQFactoryFactory.java:388)
at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.setProviderFactory(JmsConnectionFactoryImpl.java:170)
at com.ibm.mq.jms.MQConnectionFactory.<init>(MQConnectionFactory.java:240)
at com.ibm.mq.jms.MQQueueConnectionFactory.<init>(MQQueueConnectionFactory.java:76)
at com.ibm.mq.jms.MQXAQueueConnectionFactory.<init>(MQXAQueueConnectionFactory.java:69)
at com.ibm.mq.jms.MQXAQueueConnectionFactoryFactory.getObjectInstance(MQXAQueueConnectionFactoryFactory.java:77)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
As you can see weblogic complains about com.ibm.mq.jmqi.system.JmqiComponent, I googled JmqiComponent but dose not exists which is strange :P. Has anybody what is a reason for such a behaviour.Hello.
I would ditch the foreign JMS approach. There is a detailed example of how to use the resource adapter for the same goal here:
WebSphere MQ resource adapter and Weblogic - how?
While Oracle supports foreign JMS, IBM won't. The only pattern that both IBM and Oracle support is resource adapter.
Let me know, if you need more guidance.
-Adrian -
Inqmy resource adapter for SAP with Bea Weblogic Server
Hi everybody,
Anybody have tried to use INQMY resource adapter for SAP with Bea weblogic server
It works well with INQMY server, but with BEA I'm getting a lot of problems creating
the connections.
Thanks in advance.
Xavi.
All,
Here are the steps we (used for internal testing) had to perform to get
IN-Q-MY adapter for SAP to work with WebLogic:
The wli.adapter.inqmy.sapr3.spi package contains extensions to the
In-Q-My J2EE Connector Architecture classes to overcome some limitations
in the base implementation classes. To get around these issues, we had
to extend their R3ManagedConnectionFactory, R3ConnectionManager, and
R3ConnectionFactory classes.
* The javax.resource.spi.ManagedConnectionFactory implementation
does not over-ride the equals and hashCode methods correctly. This
causes problems with WLS 6.1.
* There is a bug in their javax.resource.spi.ConnectionManager
implementation for non-managed uses of the adapter. Consequently, their
adapter cannot be used in a non-managed scenario.
* The javax.resource.cci.ConnectionFactory class does not support
the getConnection() method that does not take any arguments (it throws a
null pointer exception).
I am attaching the classes discussed above.
Cheers,
Chris
Torsten Friebe wrote:
> Hi,
>
> does anybody know where to get a trail version - if one exists - of IN-Q-MY
> application server or the resource adapter?
>
> Thanks, regards
> Torsten
>
> "Xavi" <[email protected]> schrieb im Newsbeitrag
> news:[email protected]...
>
>>Hi everybody,
>>
>>Anybody have tried to use INQMY resource adapter for SAP with Bea weblogic
>>
> server
>
>>?
>>
>>It works well with INQMY server, but with BEA I'm getting a lot of
>>
> problems creating
>
>>the connections.
>>
>>Thanks in advance.
>>Xavi.
>>
>>
>
>
package wli.adapter.inqmy.sapr3.spi;
import java.io.Serializable;
import javax.resource.ResourceException;
import javax.resource.cci.Connection;
import javax.resource.cci.ConnectionSpec;
import javax.resource.spi.ConnectionManager;
import javax.resource.spi.ConnectionRequestInfo;
import javax.resource.spi.ManagedConnection;
import javax.resource.spi.ManagedConnectionFactory;
import com.inqmy.r3adapter.R3ConnectionSpec;
import com.inqmy.r3adapter.R3ManagedConnectionFactory;
* Extends the In-Q-My implementation to allow for getConnection() with no
* connection spec, i.e. use the default configured connection parameters.
public class R3ConnectionFactory
extends com.inqmy.r3adapter.R3ConnectionFactory
implements com.bea.connector.IProxyMarker {
private R3ConnectionSpec m_cspec;
public R3ConnectionFactory(ConnectionManager cm, R3ManagedConnectionFactory mcf)
throws ResourceException {
super(cm, mcf);
String strClientNumber = mcf.getClientNumber();
if (strClientNumber == null) {
throw new javax.resource.spi.IllegalStateException("ClientNumber not set for "+mcf);
String strLanguage = mcf.getLanguage();
if (strLanguage == null) {
throw new javax.resource.spi.IllegalStateException("Language not set for "+mcf);
String strUserName = mcf.getUserName();
if (strUserName == null) {
throw new javax.resource.spi.IllegalStateException("UserName not set for "+mcf);
String strPassword = mcf.getPassword();
if (strPassword == null) {
throw new javax.resource.spi.IllegalStateException("Password not set for "+mcf);
m_cspec = new R3ConnectionSpec(strClientNumber, strLanguage, strUserName, strPassword);
public Connection getConnection(ConnectionSpec connectionSpec)
throws ResourceException {
if (connectionSpec == null) connectionSpec = m_cspec;
return super.getConnection(connectionSpec);
package wli.adapter.inqmy.sapr3.spi;
import java.io.Serializable;
import javax.resource.ResourceException;
import javax.resource.spi.ConnectionManager;
import javax.resource.spi.ConnectionRequestInfo;
import javax.resource.spi.ManagedConnection;
import javax.resource.spi.ManagedConnectionFactory;
* Extends the In-Q-My implementation to over-ride the
* allocateConnection method to return a CCI connection vs. a ManagedConnection
public class R3DefaultConnectionManager
implements ConnectionManager, Serializable {
public R3DefaultConnectionManager() {}
public Object
allocateConnection(ManagedConnectionFactory mcf, ConnectionRequestInfo cri)
throws ResourceException {
ManagedConnection mc = mcf.createManagedConnection(null, cri);
return mc.getConnection(null, cri);
package wli.adapter.inqmy.sapr3.spi;
import javax.resource.spi.ConnectionManager;
import javax.resource.spi.ConnectionRequestInfo;
import javax.resource.spi.ManagedConnection;
import javax.security.auth.Subject;
* Extends the In-Q-My implementation to get around some problems encountered
* while running on WebLogic:
* <ul>
* <li>Must over-ride default implementation of equals and hashCode method</li>
* <li>Needed to provide my version of the CCI ConnectionFactory</li>
* <li>Needed to provide my version of the default ConnectionManager for the
* non-managed scenario use case</li>
* </ul>
public class R3ManagedConnectionFactory
extends com.inqmy.r3adapter.R3ManagedConnectionFactory {
private int m_iHashCode;
transient private com.inqmy.r3adapter.R3ConnectionRequestInfo t_cri = null;
public R3ManagedConnectionFactory() {
super();
java.rmi.server.UID uid = new java.rmi.server.UID();
m_iHashCode = uid.hashCode();
public Object createConnectionFactory() {
// need to install our own default connection manager because In-Q-My
// version causes a ClassCastException in CCI ConnectionFactory
// getConnection
return createConnectionFactory(new R3DefaultConnectionManager());
public ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo cri)
throws javax.resource.ResourceException {
// need to check for null on the ConnectionRequestInfo object because the
// In-Q-My R3ManagedConnection ctor does not check for null
if (cri == null) cri = getDefaultConnectionRequestInfo();
return new com.inqmy.r3adapter.R3ManagedConnection(this, subject, cri);
public Object createConnectionFactory(ConnectionManager connectionManager) {
// need to supply a connection factory that can deal with getConnection
// that does not take a ConnectionSpec
try {
return new R3ConnectionFactory(connectionManager, this);
} catch (javax.resource.ResourceException re) {
re.printStackTrace();
throw new java.lang.IllegalStateException(re.getMessage());
com.inqmy.r3adapter.R3ConnectionRequestInfo getDefaultConnectionRequestInfo()
throws javax.resource.spi.IllegalStateException {
if (t_cri == null) {
String strClientNumber = this.getClientNumber();
if (strClientNumber == null) {
throw new javax.resource.spi.IllegalStateException("ClientNumber not set for "+this);
String strLanguage = this.getLanguage();
if (strLanguage == null) {
throw new javax.resource.spi.IllegalStateException("Language not set for "+this);
String strUserName = this.getUserName();
if (strUserName == null) {
throw new javax.resource.spi.IllegalStateException("UserName not set for "+this);
String strPassword = this.getPassword();
if (strPassword == null) {
throw new javax.resource.spi.IllegalStateException("Password not set for "+this);
t_cri = new com.inqmy.r3adapter.R3ConnectionRequestInfo(strClientNumber, strLanguage, strUserName, strPassword);
return t_cri;
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj == this) return true;
if (!this.getClass().isInstance(obj)) return false;
R3ManagedConnectionFactory mcf = (R3ManagedConnectionFactory)obj;
return compare(getClientNumber(), mcf.getClientNumber()) &&
compare(getLanguage(), mcf.getLanguage()) &&
compare(getUserName(), mcf.getUserName()) &&
compare(getPassword(), mcf.getPassword()) &&
compare(getServerName(), mcf.getServerName()) &&
compare(getSystemNumber(), mcf.getSystemNumber());
protected final boolean compare(final Object obj1, final Object obj2) {
if (obj1 == obj2) return true;
if (obj1 != null) {
return obj1.equals(obj2);
} else {
if (obj2 == null) {
return true;
} else {
return false;
public int hashCode() { return m_iHashCode; }
-
Deployment Manager Error with Oracle Weblogic Server 10.3.1
I have installed Identity Manager 9.1.0.2 (patch upgraded from 9.1.0.1) on OEL 5.3 64bit and Weblogic 10.3.1
Database:Oracle 11gR2 (remote machine).
**I am aware that IM 9.1.0.2 is not certified on Weblogic 10.3.1 (it is only certified on 10.3),
The installation was successful and OIManager is up and running. Able to create Users, Resources etc. as well.
As part of configuring OIM Connectors tried to Import .xml file using Import option from Deployment Management section as below and the following error was displayed.
"Either your session timed out or you are trying to access a page without logging in".
Did all workarounds like enabling java, changing browsers, restarting machine etc as per the below discussion but in vain.
Deployment Manager Error with Oracle Weblogic Server
Can any one suggest any workaround or solution for this problem.
Or atleast can any one confirm there is no Identity manager available on this date which is compatible with 10.3.1? and cannot be continued further.
Thanks in Advance
Sudheer
Edited by: SudheerPrabhala on Oct 20, 2009 1:26 AMYou are facing this issue because you're using a non certified combination.
Other folks who tried to use OIM in 10.3.1 ended up in the same problem you're facing. -
Coherence integration with oracle weblogic portal for Session management
Could you please let me know how to configure coherence integration with oracle weblogic portal for Session management. Its very urgent. please help.
Please take a look at the following web page -
http://coherence.oracle.com/display/COH35UG/Coherence*Web+Session+Management+Module
-Luk -
Installing Oracle SOA Suite with the WebLogic Server
Hi all,
I am trying to install Oracle SOA Suite with the WebLogic Server. After following the step-by-step instruction in the "Installing Oracle SOA Suite with the WebLogic Server" document, I ran into the following situation: I have a working WebLogic Server with all applications deployed. However the BPELPM application is in Failed state.
When I try to run the application, I get following exception (AdminServer.log):
####<Mar 30, 2009 9:46:43 AM EEST> <Warning> <Deployer> <javadev2> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1238395603163> <BEA-149004> <Failures were detected while initiating start task for application 'BPELPM'.>
####<Mar 30, 2009 9:46:43 AM EEST> <Warning> <Deployer> <javadev2> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1238395603164> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: [HTTP:101216]Servlet: "cxloader" failed to preload on startup in Web application: "/orabpel".
javax.servlet.ServletException:
ORABPEL START-UP ERROR!!!!!!!!
OraBPEL run-time system failed to start due to exception:
Bean is already undeployed.
at com.collaxa.cube.admin.CXLoaderServlet.init(CXLoaderServlet.java:87)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:278)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:507)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1723)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1700)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1620)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2761)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:889)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:139)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:891)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:139)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Any help would be highly appreciated.
BorisHi Boris,
Looks like you have not run the post upgrade script for 10.1.3.4.
You need to install SOA 10.1.3.4 Basic Installation. Then start following : http://download.oracle.com/docs/cd/E12524_01/core.1013/e13058/weblogic.htm#BHCIIBFB
You basically, first install 10.1.3.4 basic SOA install, Apply the Opatch 7337034 (HOTPLUG: SOASUITE 10.1.3.4 ON WEBLOGIC 9.2 - CHANGES FOR HOTPLUGGABILITY). Install WLS 9.2 MP3.
Now, Download the Oracle SOA Suite 10.1.3.4 WebLogic Server 9.2 : patch : 7490612.
Then , Modify the following mandatory installation properties in the Weblogic_SOA10134_Base\SOADomain.properties file as per the documentation above.
Cheers
Anirudh Pucha -
How to register RMI object with runnign Weblogic Server instance?
I need to write some RMI objects(non EJB) and register it with the already running weblogic server so that I can access them from a RMI client.
Can some help me with this?So more precisely the way I am doing it is
I have a remote interface
package com.myserv.rmi;
public interface NSPQueryExecutionService extends java.rmi.Remote
public void getQueryExecutionDelegate();
I have the Implementation as
package com.myserv.rmi;
import java.util.Properties;
import javax.naming.Context;
import javax.naming.InitialContext;
public class NSPQueryExecutionServiceImpl
implements NSPQueryExecutionService
public static final void main (String[] arg) {
try {
Properties properties = null;
properties = new Properties();
properties.put (Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
Context context = new InitialContext(properties);
context.bind("QueryExecutionService", new NSPQueryExecutionServiceImpl());
System.out.println("================================> QueryExecutionService Bound");
} catch (Exception ex){
ex.printStackTrace();
System.out.println("Unable to start QueryExecutionService");
public NSPQueryExecutionServiceImpl()
public void getQueryExecutionDelegate()
System.out.println("inside remote");
I compile these classes and I do a weblogic.rmic as
java weblogic.rmic com.myserv.rmi.NSPQueryExecutionServiceImpl
I run the NSPQueryExecutionServiceImpl class to bind the RMIObject with the weblogic server.
Finally when I try to access this from my client it is able to access the object but when I invoke an operation on it gives the exception that RJVM is already shutdown.
Edited by kuldeep.sharma at 02/15/2007 9:37 AM -
build and run Sun's PetStore
1.3.1_02 application with BEA WebLogic Server 8.1.
5) In the same Command Prompt, compile PetStore using the commands:
cd c:\bea\user_projects\domains\petstore
setPetStoreEnv.cmd
cd c:\petstore1.3.1_02\src
ant
buildfile:build.xml does not exist!
build failed
could you tell me how ?
thank youWhat we, BEA, provides is a patch to allow you to compile Pet Store for
WebLogic Server. It does not contain the source code.
Sun's Pet Store source code can be found at
http://developer.java.sun.com/developer/releases/petstore/petstore1_3_1_02.h
tml. See the requirements section of README.TXT
You need both in order to make it work.
"Ankur" <[email protected]> wrote in message
news:3fa9f2d9$[email protected]..
Hi Nick,
I tried building the petstore1.3.1_02 application following theinstructions in the readme. But I got an error as the buil.xml file is
missing in the directory.....\petstore1.3.1_02\src.
>
I tried unzipping the downloaded again and for a petstore.domain.jar alongwith the readme. This jar does not contain the build.xml file.
>
Then I tried compiling one by one the component folder and found that the../xmldocuments/src folder has only a build.xml file but no source file...
>
Kinldy suggest what to do? Can you send me the zip via email?
P.S: I have checked the zip and the files are missing. -
Groupware integration with microsoft exchange server
I have a query regarding Groupware integration with microsoft exchange server.whether we require IIS server and microsoft exchange server on the same machine for groupware integration.or they can be on different machines.
thanks,
Pramodhi,
We actually implemented integration of SAP with microsoft exchange server. It is not necessary for server and IIS to be in the same machine.
regards,
Ganesh.N -
Help! Unable to connect to any hosts
Hi i'm new to jdbc and am having problems when trying to connect to the mysql database (with connectorj), i get the following error:
Unable to connect to any hosts due to exception: java.net.ConnectException Connection refused.
Its looks like the problem is with this line:
Connection connection = DriverManager.getConnection("jdbc:mysql://www.thedom.com/db?user=name&password=pass");
My full source is below:
import java.sql.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
public class TestDB
public static void main(String[] arguments)
TestDB db = new TestDB();
TestDB()
try
Class.forName("com.mysql.jdbc.Driver").newInstance();
Connection connection = DriverManager.getConnection("jdbc:mysql://198.64.146.121/vanljab?user=vanljab&password=WsW6S4WD");
Statement statement = connection.createStatement();
ResultSet resultSet = statement.executeQuery(
"Select * from vanljab.products where 1");
while (resultSet.next())
/* System.out.print(resultSet.getString("name"));
System.out.print(" ");
System.out.print(resultSet.getString("time"));
System.out.print(" ");
System.out.print(resultSet.getString("date"));
System.out.print(" ");
System.out.print(resultSet.getString("num_of_people"));
System.out.println();
statement.close();
connection.close();
catch (SQLException sqlException)
System.out.println("SQL: " + sqlException.getMessage());
catch (ClassNotFoundException classNotFoundException)
System.out.println("Driver not right: " +
classNotFoundException.getMessage());
catch (Exception instantiationException)
System.out.println("Instantiation error: " +
instantiationException.getMessage());found the problem, needed to change this line
Connection connection = DriverManager.getConnection("jdbc:mysql://www.thedom.com/db?user=name&password=pass");
to this adding mysql to the domain name
Connection connection = DriverManager.getConnection("jdbc:mysql://mysql.thedom.com/db?user=name&password=pass"); -
Weblogic: problem with JMS foreign server and Transaction
Hello everyone,
I am working with an enterprise application with Web Application Server Logic 10.3. L 'application uses the following components:
1) MDB 2.0
2) FOREIGN JMS SERVER -> WebSpereMQ
3) EJB SESSION
L 'MDB calls the session bean which uses in its ejb-jar.xml using a Wrapper for JMS QueueConnectionFactory with res-ref:
<resource- ref>
<res-ref-name> jms / iss / QCFIXP </ res-ref-name>
<res-auth> Container </ res-auth>
<res-sharing -scope> Shareable </ res-sharing-scope>
<resource- ref>
The MDB is CMT
<transaction-type> Container </ transaction-type>
while the session bean is BMT
<transaction-type> Bean </ transaction-type>
to call the QCFIXP in its transaction.
The QCFIXP ii an XA resource
When there is a rollback operation in SessionBean also in 'MDB
There 'an operation setRollbackOnly:
getMessageDrivenContext (). setRollbackOnly ();
After this operation on the MDB I do a JNDI look up the QueueConnectionFactory but sending the message on a queue I get the following exception:
javax.jms.JMSException: [JMSPool: 169809] An error occurred while registering the JMS connection with JTA:
But if not using the "wrapper jms" in the session bean I did not take any exception and the application don' t have any error.
My doubt is :
Why if I use the JMS wrapper I get an error javax.jms.JMSException: [JMSPool: 169809] An error occurred while registering the JMS connection with JTA?
Thanks in advance.
Michele
Edited by: user3501731 on 11-mag-2011 3.16Hi Tom,
Thanks very much for your responses and careful analysis you've done.
Following the source code of the MDB where error occurs.
Marked In bold the line where the exception is thrown.
public void onMessage(Message msg) {
// Utility.logger(AP.DEBUG, "Partito MDB 2");
processa(msg);
protected void processa(Message msg) {
Utility.logger(
AP.DEBUG,
"IXPReceiverMDB7.processa(Message msg) partito");
try {
long start = System.currentTimeMillis();
/* Utility.logger(
AP.DEBUG,
"IXPReceiverMDB.processa(Message msg) effettuo lookup");*/
ejb = myEjbLocalHome.create();
// individuo l'identificativo del messaggio in ricezione
String msgid = msg.getJMSMessageID();
Utility.logger(
AP.DEBUG,
"IXPReceiverMDB7.processa(Message msg) elaboro messaggio:"
+ msgid);
String charset = msg.getStringProperty("JMS_IBM_Character_Set");
Utility.logger(
AP.DEBUG,
"IXPReceiverMDB7.processa Charset:" + charset );
// invoco il processo di ricezione
boolean commitRequested = ejb.processa(ctlReq, encoding, msg);
// il valore di ritorno del processo di ricezione identifica o meno
// la necessita' di effettuare il rollback dell'intero processo
if (!commitRequested) {
getMessageDrivenContext().setRollbackOnly();
if (ctlReq) {
Utility.logger(
AP.INFO,
"IXPReceiverMDB7.processa(Message msg) spedisco il messaggio pilota del 'cleaning' con JMSCorrelationID = '"
+ msgid
+ "'");
msg.setJMSCorrelationID(msgid);
// Viene creata la QueueConnection
QueueConnectionFactory factory =
JmsFactoryDispenser.getSingleton().getFactory();
QueueConnection connection = factory.createQueueConnection();
// Viene ottenuta la 'session'
QueueSession session =
connection.createQueueSession(
false,
Session.AUTO_ACKNOWLEDGE);
// spedisco il messaggio sulla coda abbinata al processo di 'cleaning'
// della coda di controllo
IXPMessageManager msgManager = new IXPMessageManager(session);
msgManager.spedisci(msg, AP.PILOTQUEUE, "J", AP.STD_MESSAGE); session.close();
connection.close();
long end = System.currentTimeMillis();
Long durata = new Long (end - start);
Utility.logger(
AP.INFO,
"IXPReceiverMDB7 Tempo totale elaborazione messaggio: " +
msgid + " " +
durata.toString() + " mill" );
Utility.logger(
AP.DEBUG,
"IXPReceiverMDB7.processa(Message msg) terminato");
} catch (Throwable e) {
getMessageDrivenContext().setRollbackOnly();
try {
Utility.myExceptionHandler(
"E",
"1",
"4028",
"IXPReceiverMDB.onMessage()",
e);
} catch (Throwable ex) {
ex.printStackTrace();
Thanks in advance.
Edited by: serpichetto on 16-mag-2011 1.24 -
Weblogic Integration with Netscape Directory Server - Help URGENT
Prashant,
Yes, I did. Did you copy the ldaprealm.properties to the same place as where
your weblogic.properties is located by default. The original sample file is
located in examples/....directory. After your changes are made copy the file
to c:/weblogic directory.
Hope this helps.
-Sunil .K
Prashanth <[email protected]> wrote in message
news:[email protected]...
Hi,
Can anyone who's tried using the LDAPRealm to talk to Netscape Directory
Server 4.1tell me exactly what are the steps that one needs to follow toset
this up:
1. Changes in the ldaprealm.properties file
2. Changes in the weblogic.properties file
3. Changes on NDS side, if any
Erorr I am getting:
Thu Jun 29 10:24:53 EDT 2000:<I> <System Props> weblogic.class.path =
d:\weblogi
c\lib\weblogic510sp3.jar;d:\weblogic\license;d:\weblogic\classes;d:\weblogic
\mys
erver\serverclasses;d:\weblogic\lib\weblogicaux.jar
Thu Jun 29 10:24:53 EDT 2000:<I> <System Props> weblogic.system.home =
d:\weblog
ic
Thu Jun 29 10:24:53 EDT 2000:<I> <WebLogicServer> Loaded License :
D:/weblogic/l
icense/WebLogicLicense.xml
Thu Jun 29 10:24:53 EDT 2000:<I> <WebLogicServer> Server loading from
weblogic.c
lass.path. EJB redeployment enabled.
java.io.FileNotFoundException: ldaprealm.properties (The system cannotfind
the
file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java, Compiled
Code)
at
weblogic.security.internal.RealmProperties.getProperties(RealmPropert
ies.java:37)
at
weblogic.security.internal.RealmProperties.<init>(RealmProperties.jav
a:20)
at
weblogic.security.ldaprealm.LDAPDelegate.configureProps(LDAPDelegate.
java:78)
at
weblogic.security.ldaprealm.LDAPDelegate.<init>(LDAPDelegate.java:198
at weblogic.security.ldaprealm.LDAPRealm.<init>(LDAPRealm.java:35)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at weblogic.security.acl.Realm.getRealm(Realm.java:79)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1744)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
--------------- nested within: ------------------
weblogic.security.ldaprealm.LDAPException: ldaprealm.properties notfound -
with
nested exception:
[java.io.FileNotFoundException: ldaprealm.properties (The system cannot
find> the> file specified)
at
weblogic.security.ldaprealm.LDAPDelegate.configureProps(LDAPDelegate.
java:82)
at
weblogic.security.ldaprealm.LDAPDelegate.<init>(LDAPDelegate.java:198
at weblogic.security.ldaprealm.LDAPRealm.<init>(LDAPRealm.java:35)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at weblogic.security.acl.Realm.getRealm(Realm.java:79)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1744)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
The WebLogic Server did not start up properly.
Exception raised: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException: java.lang.IllegalAccessError:
weblo
gic.security.ldaprealm.LDAPException: ldaprealm.properties not found -with
nest
ed exception:
[java.io.FileNotFoundException: ldaprealm.properties (The system cannot
find> the> file specified)
at weblogic.security.acl.Realm.getRealm(Realm.java:86)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1744)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
java.lang.IllegalAccessError: weblogic.security.ldaprealm.LDAPException:
ldaprea
lm.properties not found - with nested exception:
[java.io.FileNotFoundException: ldaprealm.properties (The system cannot
find> the> file specified)
at weblogic.security.acl.Realm.getRealm(Realm.java:86)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1744)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
WebLogic Server terminated with an abnormal condition of 1
Hit return to continue...>>>>>>>>> -
Help with integrating a portal product with the weblogic server....
Hi,
I need some insight as to how I can make an http call, from a remote portal
server, to a weblogic server running a newly created workflow instance.
What parameters need to passed in the URL?
Thanks,
YuryHi,
a quick search on Google produced this VM tuning document:
http://javaeesupportpatterns.blogspot.pt/2011/07/weblogic-permgen-space.html
Frank -
Configuring Apache HTTP Server with Oracle Weblogic Server plugin
Hello friends,
I have a scenario of OIM 9.1.0.2 on Oracle Application Server 11g and Weblogic Server Apache HTTP Server.
Oracle WebLogic Server is configured in cluster (node1 and node2), also use the Oracle Weblogic Server plugin for integration with Apache.
One of the tests is to lose one of the nodes for the apache plugin redirects the node that has less overhead.
When the mode is node1 and node2 stop start mode and try to access the management console of Oracle Identity Manager, the plugin sometimes redirects to the other active node, and on another occasion shows the oracle management console identity manager without the colors of the basic look and feel.
Deputy of the Apache HTTP Server log, do you expect your comments to solve this case?
*************************************************log****************************************************
Server Details are:
OrigHostInfo [192.168.1.200]
isOrigHostInfoDNS [0]
Host [192.168.1.200]
Port [7002]
SecurePort [7004]
Mon Jan 30 22:10:43 2012 <2600713279794431> Initializing lastIndex=0 for a list of length=1
Mon Jan 30 22:10:43 2012 <2600713279794431> initJVMID: Trying to locate Primary or Secondary using SrvrInfo with JVMID [-872106207]
Mon Jan 30 22:10:43 2012 <2600713279794431> initJVMID: Found Primary 192.168.1.200:7002:7004
Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: Closing SSL context
Mon Jan 30 22:10:43 2012 <2600713279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
Mon Jan 30 22:10:43 2012 <2600713279794431> getPreferredFromCookie: Found 1 servers
Mon Jan 30 22:10:43 2012 <2600713279794431> attempt #0 out of a max of 5
Mon Jan 30 22:10:43 2012 <2600713279794431> trying connect to PRIMARY '192.168.1.200'/7002/7004
Mon Jan 30 22:10:43 2012 <2600713279794431> getPooledConn: No more connections in the pool for Host[192.168.1.200] Port[7002] SecurePort[7004]
Mon Jan 30 22:10:43 2012 <2600713279794431> New SSL URL: match = 0 oid = 22
Mon Jan 30 22:10:43 2012 <2600713279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
Mon Jan 30 22:10:43 2012 <2600713279794431> EINPROGRESS in connect() - selecting
Mon Jan 30 22:10:43 2012 <2600713279794431> Setting peerID for new SSL connection
Mon Jan 30 22:10:43 2012 <2600713279794431> 0ae2 0436 0000 1b5c ...6...\
Mon Jan 30 22:10:43 2012 <2600713279794431> Local Port of the socket is 39186
Mon Jan 30 22:10:43 2012 <2600713279794431> Remote Host 192.168.1.200 Remote Port 7004
Mon Jan 30 22:10:43 2012 <2600713279794431> created a new connection to preferred server '192.168.1.200/7004' for '/xlWebApp/images/spacer.gif', Local port:39186
Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: CA certificate missing basicConstraints, validation failed
Mon Jan 30 22:10:43 2012 <2600713279794431> ERROR: SSLWrite failed
Mon Jan 30 22:10:43 2012 <2600713279794431> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2600713279794431> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2600713279794431> Marking 192.168.1.200:7004 as bad
Mon Jan 30 22:10:43 2012 <2600713279794431> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0, line 794 of ../nsapi/URL.cpp]: at line 3160
Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: Closing SSL context
Mon Jan 30 22:10:43 2012 <2598413279794431>
================New Request: [GET /images/cab.gif HTTP/1.1] =================
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: SSL is configured
Mon Jan 30 22:10:43 2012 <2598413279794431> SSL Main Context not set. Calling InitSSL
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: SSL configured successfully
Mon Jan 30 22:10:43 2012 <2598413279794431> Using Uri /images/cab.gif
Mon Jan 30 22:10:43 2012 <2598413279794431> After trimming path: '/images/cab.gif'
Mon Jan 30 22:10:43 2012 <2598413279794431> adding prepend path: /xlWebApp/
Mon Jan 30 22:10:43 2012 <2598413279794431> The final request string is '/xlWebApp/images/cab.gif'
Mon Jan 30 22:10:43 2012 <2598413279794431> Host extracted from serverlist is [192.168.1.100]
Mon Jan 30 22:10:43 2012 <2598413279794431> Host extracted from serverlist is [192.168.1.200]
Mon Jan 30 22:10:43 2012 <2598413279794431> Initializing lastIndex=0 for a list of length=2
Mon Jan 30 22:10:43 2012 <2598413279794431> getListNode: created a new server node: id='192.168.1.100:7004,192.168.1.200:7004' server_name='OIMSERVER', port='443'
Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferred: availcookie=[JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE]
Mon Jan 30 22:10:43 2012 <2598413279794431> Found cookie from cookie header: JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE
Mon Jan 30 22:10:43 2012 <2598413279794431> Parsing cookie JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE
Mon Jan 30 22:10:43 2012 <2598413279794431> getpreferredServersFromCookie: [-872106207!NONE]
Mon Jan 30 22:10:43 2012 <2598413279794431> primaryJVMID: [-872106207]
secondaryJVMID: [NONE]
Mon Jan 30 22:10:43 2012 <2598413279794431> No of JVMIDs found in cookie: 1
Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Start Position is 0, listLen is 2
Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Either JVMIDs not set or they are stale. Will try to get JVMIDs from WLS
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Iterating SrvrList from position 0
Mon Jan 30 22:10:43 2012 <2598413279794431> ======internal request /bea_wls_internal/WLDummyInitJVMIDs======
initJVMID: Trying Host[192.168.1.100] Port[7004] SecurePort[7004] useSSL [1] ioTimeout [30] socketTimeout [2]
Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 0
Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 146, msg 'Connection refused'
Mon Jan 30 22:10:43 2012 <2598413279794431> Error connecting to host 192.168.1.100:7004
Mon Jan 30 22:10:43 2012 <2598413279794431> *******Exception type [CONNECTION_REFUSED] (Error connecting to host 192.168.1.100:7004 errno = 146) raised at line 1723 of ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Failed to retrieved JVMID for 192.168.1.100:7004:7004
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Marked server as BAD
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
Mon Jan 30 22:10:43 2012 <2598413279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
Mon Jan 30 22:10:43 2012 <2598413279794431> ======internal request /bea_wls_internal/WLDummyInitJVMIDs======
initJVMID: Trying Host[192.168.1.200] Port[7004] SecurePort[7004] useSSL [1] ioTimeout [30] socketTimeout [2]
Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 0
Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
Mon Jan 30 22:10:43 2012 <2598413279794431> EINPROGRESS in connect() - selecting
Mon Jan 30 22:10:43 2012 <2598413279794431> Setting peerID for new SSL connection
Mon Jan 30 22:10:43 2012 <2598413279794431> 0ae2 0436 0000 1b5c ...6...\
Mon Jan 30 22:10:43 2012 <2598413279794431> Local Port of the socket is 39188
Mon Jan 30 22:10:43 2012 <2598413279794431> Remote Host 192.168.1.200 Remote Port 7004
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Certificate validation succeeded
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Negotiated to cipher: 3
Mon Jan 30 22:10:43 2012 <2598413279794431> SSLWrite sent 171
Mon Jan 30 22:10:43 2012 <2598413279794431> SSLWrite completed, sent 171
Mon Jan 30 22:10:43 2012 <2598413279794431> Reader::fill() SSLRead returned: 0 290
Mon Jan 30 22:10:43 2012 <2598413279794431> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 404 Not Found]
Mon Jan 30 22:10:43 2012 <2598413279794431> URL::parseHeaders: StatusLine set to [404 Not Found]
Mon Jan 30 22:10:43 2012 <2598413279794431> parsed all headers OK
Mon Jan 30 22:10:43 2012 <2598413279794431> Parsing cluster list: -872106207!182584374!7002!7004
Mon Jan 30 22:10:43 2012 <2598413279794431> parseJVMID: Parsing JVMID '-872106207!182584374!7002!7004'
Mon Jan 30 22:10:43 2012 <2598413279794431> parseJVMID: Actually parsing '-872106207!182584374!7002!7004'
Mon Jan 30 22:10:43 2012 <2598413279794431> ServerInfo struct for JVMID '-872106207' populated
Server Details are:
OrigHostInfo [192.168.1.200]
isOrigHostInfoDNS [0]
Host [192.168.1.200]
Port [7002]
SecurePort [7004]
Mon Jan 30 22:10:43 2012 <2598413279794431> Initializing lastIndex=0 for a list of length=1
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Trying to locate Primary or Secondary using SrvrInfo with JVMID [-872106207]
Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Found Primary 192.168.1.200:7002:7004
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
Mon Jan 30 22:10:43 2012 <2598413279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Found 1 servers
Mon Jan 30 22:10:43 2012 <2598413279794431> attempt #0 out of a max of 5
Mon Jan 30 22:10:43 2012 <2598413279794431> trying connect to PRIMARY '192.168.1.200'/7002/7004
Mon Jan 30 22:10:43 2012 <2598413279794431> getPooledConn: No more connections in the pool for Host[192.168.1.200] Port[7002] SecurePort[7004]
Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 22
Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
Mon Jan 30 22:10:43 2012 <2598413279794431> EINPROGRESS in connect() - selecting
Mon Jan 30 22:10:43 2012 <2598413279794431> Setting peerID for new SSL connection
Mon Jan 30 22:10:43 2012 <2598413279794431> 0ae2 0436 0000 1b5c ...6...\
Mon Jan 30 22:10:43 2012 <2598413279794431> Local Port of the socket is 39189
Mon Jan 30 22:10:43 2012 <2598413279794431> Remote Host 192.168.1.200 Remote Port 7004
Mon Jan 30 22:10:43 2012 <2598413279794431> created a new connection to preferred server '192.168.1.200/7004' for '/xlWebApp/images/cab.gif', Local port:39189
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: CA certificate missing basicConstraints, validation failed
Mon Jan 30 22:10:43 2012 <2598413279794431> ERROR: SSLWrite failed
Mon Jan 30 22:10:43 2012 <2598413279794431> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2598413279794431> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
Mon Jan 30 22:10:43 2012 <2598413279794431> Marking 192.168.1.200:7004 as bad
Mon Jan 30 22:10:43 2012 <2598413279794431> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0, line 794 of ../nsapi/URL.cpp]: at line 3160
Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
Thanks"One of the tests is to lose one of the nodes for the apache plugin redirects the node that has less overhead."
Note that the plug-in does a round robin load balancing, for example, in the case of three server (1,2,3) it does 1-2-3-1-2-3-1...
with server 3 going down it does 1-2-1-2-1...
An example configuration (with SSL off) looks as follows:
LoadModule weblogic_module "/home/oracle/weblogic12.1.1/apache/modules/mod_wl.so"
<IfModule weblogic_module>
ConnectTimeoutSecs 10
ConnectRetrySecs 2
DebugConfigInfo ON
WLSocketTimeoutSecs 2
WLIOTimeoutSecs 300
Idempotent ON
FileCaching ON
KeepAliveSecs 20
KeepAliveEnabled ON
DynamicServerList ON
WLProxySSL OFF
</IfModule>
<Location /LoadTest6>
SetHandler weblogic-handler
WebLogicCluster 172.31.0.175:7002,172.31.0.113:7003
</Location>Also see the complete example here: http://middlewaremagic.com/weblogic/?p=7795
"the plugin sometimes redirects to the other active node"
This is somewhat strange, do you have session binding turned off?
"and on another occasion shows the oracle management console identity manager without the colors of the basic look and feel."
This could happen due to mime types (not really sure just a hunch). Here is a general story on this concept: https://developer.mozilla.org/en/Properly_Configuring_Server_MIME_Types
and the apache module: http://httpd.apache.org/docs/2.2/mod/mod_mime.html -
Oracle WebLogic Server - How to connect to IBM DB2-400
Hi to all,
I'm afraid I'm going to ask a f.a.q... anyway... I'm trying to define a Connection Pool to Db2/400. I see that Oracle App Server do support DB2 on windows and linux O.S;
what about DB2 on a iSeries / iOs machine ?
Thank you in advance for your help.1. Can OSB connect to JMS Queue which resides within the IBM Maximo Application? If yes can you please provide any documents/link which outlines the steps.Yes. You can use a OSB proxy service with jms transport to dequeue the messages from remote weblogic jms.
2. Do I need to configure a Messaging Bridge or a Foreign JNDI provider in Weblogic? Which is the best optionNot required.
3. What information do we need to configure in Weblogic to connect to the JMS Queue in IBM Maximo Application? Configure a proxy service with jms transport. Here you have to provide the transport URI hostname/port part you have to give details of the maximo WLS server host and part.Since jms transport involves rmi communication between two weblogic domains, you also need to setup either global trust between the domains or cross domain security.
http://download.oracle.com/docs/cd/E12839_01/web.1111/e13707/domain.htm#i1176046
Maybe you are looking for
-
I plugged my ipod nano 6th gen in to the latest version of itunes today and as soon as i plugged it it it turned on automatically as it should when i came back to it 5 mins later, picked it up and it felt warm and it wouldnt turn on. what should i do
-
Mapping Problem in IDOC to XML scenario
hi, In the target i have a tag which says: Extrinsic 0..unbounded name required I have to map the above target to a source which comes from different IDOC segments. E.g. if E1EDP17.Qualf = '002' then map the E1EDP17.lktext to the "name" if E1EDP1
-
In need of some script asap!
Hi, im making a website using a swf loader. i have 5 buttons on my home page with the script; on (release) { loadMovie("swf/part.swf",_root.swfLOADER); to link to my pages. these pages work, however on two of the pages i have sub menus that i need to
-
Can I get analog camcorder tapes into iMovie?
-
ORA-20001: The current row is locked
Hi Team I find below mentioned error message in my log table .Please can you suggest why we are getting this error . Some time back we had our OS migration from one server to another ,can it be related to that as we have noticed this error message af