Different weblogic instances listening to a topic
Hi,
I have a scenario like this---.
I have 2 weblogic servers running on two different m/c s .They are NOT in a cluster.They
have their own JMS Servers running.There are some queues and one topic on each
machine.There is a router which routes incoming messages to these servers and
responses back.Each wl server has the same application running(The application
that processes the messages) and is totally unware of the existense of the other
server.
I want that for some particular message delivered to a topic on one m/c the
other m/c should also receive that particular message.
e.g. a message that certain system configuration parameters are updated and all
servers should synchronize their cached system parameters with the database.
Is it possible to meet this requirement either by configuration or programatically.The
application has MDBs listening to the messages.
I am using WL server 6.1
Thanx ,
sunil
You can do this yourself by writing a forwarder that opens up connections to
both servers receiving on one and forwarding to the other. You can also
use the messaging bridge. However, if A is forwarding to B and B is
forwarding to A it is cyclic. You need to discriminate the forwarded
messages so your forwarder does not forward messages back to the original
server.
Of course you could upgrade to 7.0, use a cluster and a distributed topic.
All the forwarding is taken care of, you don't have to worry about cycles,
and the forwarded messages maintain their original message ids.
_sjz.
"Sunil Naik" <[email protected]> wrote in message
news:[email protected]...
>
> Hi,
> I have a scenario like this---.
> I have 2 weblogic servers running on two different m/c s .They are NOT in
a cluster.They
> have their own JMS Servers running.There are some queues and one topic on
each
> machine.There is a router which routes incoming messages to these servers
and
> responses back.Each wl server has the same application running(The
application
> that processes the messages) and is totally unware of the existense of the
other
> server.
> I want that for some particular message delivered to a topic on one m/c
the
> other m/c should also receive that particular message.
> e.g. a message that certain system configuration parameters are updated
and all
> servers should synchronize their cached system parameters with the
database.
> Is it possible to meet this requirement either by configuration or
programatically.The
> application has MDBs listening to the messages.
>
> I am using WL server 6.1
>
> Thanx ,
> sunil
Similar Messages
-
Deploy MDBs in Different WL Instances Subscribed to Same Topic
Let's say I have MDBs X, Y, and Z, each needing to be deployed to a different Weblogic
server. All need to subscribe to the same Topic. How is this done? Specifically,
how is the Topic configured and how are the MBDs deployed?
Thanks,
Jim Goodwin
For your reading enjoyment, I'm posting some of my
internal notes on durable subscriber MDB's. This consolidates
newsgroup information in one place.
Jim Goodwin wrote:
> "Jim Goodwin" <[email protected]> wrote:
>
>>Let's say I have MDBs X, Y, and Z, each needing to be deployed to a different
>>Weblogic
>>server. All need to subscribe to the same Topic. How is this done? Specifically,
>>how is the Topic configured and how are the MBDs deployed?
>>
>>Thanks,
>>
>>Jim Goodwin
>
>
> Bah! Nevermind. I found the information I was looking for in other threads.
A durable topic subscriber MDB uses its name to generate its client-id.
Since JMS enforces uniqueness on this client-id, this means that if a durable
subscriber MDB is deployed to multiple servers only one server will be able
to connect. Some applications want a different behavior where
each MDB pool on each server gets its own durable subscription.
The MDB durable subscription id, which must be unique on its topic, comes from:
1) <jms-client-id>MyClientID</jms-client-id>
(the weblogic dtd)
2) if (1) is not set then the client-id
comes from the ejb name.
The durable subscription is uniquely identified within a cluster by a
combination of "connection-id" and "subscription-id". Only one active
connection may use a particular "connection-id" within a WebLogic cluster.
The connection id comes from:
1) The "ClientId" attribute configured on the WebLogic connection factory.
This defaults to null. Note that if the ClientId is set on a connection
factory, only one connection created by the factory
may be active at a time.
2) If (1) is not set, then, as with the subscriber-id,
the connection-id is derived from jms-client-id descriptor attribute:
<jms-client-id>MyClientID</jms-client-id>
(the weblogic dtd)
3) If (1) and (2) are not set, then, as with the subscriber-id,
the connection-id is derived from the ejb name.
Work-around:
A) Create a custom connection-factory for each server:
1) configure "JNDIName" to the same value across all servers
("myMDBCF" in this example)
2) configure "ClientId" to a unique value per server
3) enable "UserTransactionsEnabled"
4) enable "XAConnectionFactoryEnabled"
5) set "AcknowledgePolicy" to "ACKNOWLEDGE_PREVIOUS"
6) target the CF at a single WebLogic server
(Number 5 is required for non-transactional topic MDBs)
B) In the MDB's weblogic-ejb-jar.xml descriptor, set the MDB's connection
factory to the JNDI name of the custom connection factories configured in
(A). Optionally, also specify the subscriber-id via the jms-client-id
attribute.
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>exampleBean</ejb-name>
<message-driven-descriptor>
<connection-factory-jndi-name>myMDBCF</connection-factory-jndi-name>
<jms-client-id>myClientID</jms-client-id>
</message-driven-descriptor>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
C) Target the application at the same servers that have the custom connection
factories targeted at them.
Notes/Limitations:
1) If the MDB is moved from one server to another, the MDB's corresponding
connection-factory must be moved with it.
2) This work-around will not work if the destination is not in the same
cluster as the MDB. (The MDB can not use the local connection factory, which
contains the connection-id, as connection factories do not work unless they
are in the same cluster as the destination.)
3) This work-around will not work for non-WebLogic JMS topics.
-
One weblogic instance listening to multiple ports
I'd like to run weblogic with its http subsysten listen to port 80.
Any other service should listen to port 7001.
Is it really impossible to let weblogic do this?
Are there any plans to implement such a feature?
Which alternatives do exist?
TIA
klausNo, it is impossible.
Alternatives: use IIS/Apache/NES to listen to port 90, and use weblogic
plugin to proxy request to WLAS (7001).
Still, you can use one WLAS listent to port 80, and use HttpClusterServlet
to proxy requests to another WLAS (7001)
Cheers - Wei
Klaus Pittig <[email protected]> wrote in message news:[email protected]..
I'd like to run weblogic with its http subsysten listen to port 80.
Any other service should listen to port 7001.
Is it really impossible to let weblogic do this?
Are there any plans to implement such a feature?
Which alternatives do exist?
TIA
klaus -
IIS link to 2 WebLogic instances
I am going to run 2 different applications on 2 different Weblogic instances but
on one w2k server, let's say app1 running on myserver:1000 and app2 running
myserver:2000, is it possible I can configure the IIS plugin so I can use http://myserver/app1
and http://myserver/app2 to access those 2 apps ?Problem solved. I used a very basic web-app and just happened to specify the following
in my iisproxy.ini:
WebLogicHost=localhost
WebLogicPort=7001
WlForwardPath=/webapp-name
PathTrim=/webapp-name
PathPrepend=/webapp-name
Debug=ALL
DebugConfigInfo=ON
It just works! I don't know if this is the most effiecient use of the parameters
though. Also, I deployed our app with an expanded WAR directory structure. We
normally use an EAR or WAR. Will it be possible to have resources such as text
files and images served by IIS or does the path proxying override this?
Any suggestions would be welcomed.
Thank you.
Eric
"Eric" <[email protected]> wrote:
>
I am using WebLogic Server 7 SP2 with IIS 5 on Windows XP Professional.
I can get JSPs to work with the plugin but Servlets do not. I've gone
through
the documentation many times but can not understand how Servlets are
proxied or
what I'm doing wrong. I am trying to proxy by path and an appropriate
"iisproxy.ini"
in the same directory as the iisproxy.dll and iisforward.dll. Both "wlforward.log"
and "iisforward.log" files are written to the TEMP directory. The filter
also
has a green "up" arrow in the ISAPI config in IIS console so its installed
correctly.
One problem that seems to occur is that whenever I specify "WlForwardPath"
in
the "iisproxy.ini" IIS fails to load and errors with a message saying
that it
couldn't start. But if its commented out or not specified, IIS starts
without
a problem. I have full debugging turned on but nothing is written whenever
I
try to hit a servlet.
Here's the contents of my iisproxy.ini file:
WebLogicHost=localhost
WebLogicPort=7001
Debug=ALL
Does proxying Servlets by path not work? Should I switch to using extensions?
Eric
"Al" <[email protected]> wrote:
"paulyan" <[email protected]> wrote:
I am going to run 2 different applications on 2 different Weblogic
instances
but
on one w2k server, let's say app1 running on myserver:1000 and app2
running
myserver:2000, is it possible I can configure the IIS plugin so I can
use http://myserver/app1
and http://myserver/app2 to access those 2 apps ?
Check out this link:
http://e-docs.bea.com/wls/docs81/plugins/isapi.html#101184 -
Multiple listen ports for one weblogic instance
Can anybody confirm that you can have only one listen port defined for a single
weblogic instance (i.e. one instance cannot be listening to multiple ports at
the same time)?
Thanksyou can have multiple ip's assigned to the same box
and bind each WLS instance to a unique which will listen
on the same port.
Kumar
Gary Wong wrote:
Can anybody confirm that you can have only one listen port defined for a single
weblogic instance (i.e. one instance cannot be listening to multiple ports at
the same time)?
Thanks -
Question: one weblogic server listening on several port
can i start one weblogic server that listening on several port, one for
different application?
for example,
7001 for general user, and
7005 for admistrators and ask for two way authentification?
can i do this? or do i have to start two weblogic instance? does that
violate it's license for one computer and one ip address?
thank u.Ummm.. how would this help security? If I want to bypass authentication, I just go to the unprotected port.
I don't think you can listen to different ports in the same instance
. You can listen to different IP addresses in the same instance.
WL is licensed by CPU so this would not cost any more to license.
mike
"Gong Wenxue" <[email protected]> wrote:
can i start one weblogic server that listening on several port, one for
different application?
for example,
7001 for general user, and
7005 for admistrators and ask for two way authentification?
can i do this? or do i have to start two weblogic instance? does that
violate it's license for one computer and one ip address?
thank u. -
NSAPI - directing to multiple weblogic instances
Hi,
I am trying to redirect 2 different URLs (www.test.com/server1 and www.test.com/server2)
to distinct weblogic instances which run on ports 7001 and 8001. The NSAPI instructions
say to do the following in the obj.conf file -- see below. This works great if
I open a new browser window for each one. However, the problem occurs in a single
browser instance when switching between the 2 URLs. Both URL requests will only
be directed to one of the WebLogic instances -- the other WL instance is ignored
no matter what URL you enter.
Any ideas????
# Here we configure the NSAPI module to pass requests for
# "/weblogic" to a WebLogic Server listening at port 7001 on
# the host myweblogic.server.com.
<Object name="weblogic" ppath="*/weblogic/*">
Service fn=wl_proxy WebLogicHost=myweblogic.server.com\
WebLogicPort=7001 PathTrim="/weblogic"
</Object>
# Here we configure the plug-in so that requests that
# match "/servletimages/" is handled by the
# plug-in/WebLogic.
<Object name="si" ppath="*/servletimages/*">
Service fn=wl_proxy WebLogicHost=192.192.1.4 WebLogicPort=7001
</Object>I am not sure I understand what you want to do.. From your example, what you
are doing is directing anything that has "weblogic" in the URL to a single
weblogic instance. In your case: myweblogic.server.com.
You are also directing anything with "servletimages" in the URL to :
192.192.1.4.
Both these servers are listening on port 7001. There is no mention of 8001.
Let's say you want to have all requests that have "server1" in the URL go to
one weblogic instance and all that have "server2" in the url goto the other
weblogic instance(port 8001), then you need to configure two object tags.
One that has a ppath="*/server1/*" and that will point to weblogic instance
1(port 7001) and another weblogic object that has a ppath="*/server2/*" and
points to weblogic instance 2(port 8001).
Hope this helps.
Regards,
Eric
"Lauren Jones" <[email protected]> wrote in message
news:3b6f04fb$[email protected]..
>
Hi,
I am trying to redirect 2 different URLs (www.test.com/server1 andwww.test.com/server2)
to distinct weblogic instances which run on ports 7001 and 8001. TheNSAPI instructions
say to do the following in the obj.conf file -- see below. This worksgreat if
I open a new browser window for each one. However, the problem occurs ina single
browser instance when switching between the 2 URLs. Both URL requestswill only
be directed to one of the WebLogic instances -- the other WL instance isignored
no matter what URL you enter.
Any ideas????
# Here we configure the NSAPI module to pass requests for
# "/weblogic" to a WebLogic Server listening at port 7001 on
# the host myweblogic.server.com.
<Object name="weblogic" ppath="*/weblogic/*">
Service fn=wl_proxy WebLogicHost=myweblogic.server.com\
WebLogicPort=7001 PathTrim="/weblogic"
</Object>
# Here we configure the plug-in so that requests that
# match "/servletimages/" is handled by the
# plug-in/WebLogic.
<Object name="si" ppath="*/servletimages/*">
Service fn=wl_proxy WebLogicHost=192.192.1.4 WebLogicPort=7001
</Object> -
How Can I Use Multiple Weblogic Instances in a Single OS
Hello Everyone,
Actually I have to install Some different applications. Few of them need weblogic 10.3.6 and others need 10.3.4. The OS am using is Oracle Enterprise Linux 5.
Now I am able to install 2 separate(One of 10.3.4 and 10.3.6) instances with two different users,In two different directories.
I have installed the weblogic 10.3.6 version with a user webadmin and installed node manager with port 5556. This is working fine.
The main problem here is :
In the second instance (10.3.4 ) installed with a a different user and gave the port number to NodeManager as 1600 and its not getting started. Its throwing error and also after some errors in the terminal am able to see that its reverting to port number 5556 only.
What might be the issue?
I have to install 2 different versions of weblogic in a single Server. But am failing with NodeManager. What Can I do to have multiple weblogic instances with multiple versions in a single server ?
Can anyone suggest a resolution for this please ?
Thanks in advance.Pl do not spam these forums with multiple posts - How Can I Use Multiple Weblogic Instances in a Single OS
-
I am trying to install essabse11.1.2.1.0 on existing weblogic instance on linux.
I installed essabse on the same middleware home whare existing weblogic server configured(for OBIEE) Here I am unable to install and configure the weblogic,
any suggitions how to install and configure essabse on the same weblogic instance?
Here are some conflicting statements from oracle,Essabse installation guide 11.1.2.1 below.. I am confused to move forward any suggitions?
1.If you are installing on the same machine on which Oracle Business Intelligence Enterprise
Edition or Oracle Business Intelligence Publisher are installed, install into two different
Middleware homes. The products rely on different releases of Fusion Middleware.
2.Typically, EPM System Installer installs WebLogic Server for you. If you have an existing
WebLogic Server installation and want to use it instead of the WebLogic Server installed by
EPM System Installer, note the Middleware home location for the WebLogic Server
installation. During installation, you must install EPM System products to this same
Middleware home. If EPM System Installer detects an existing WebLogic Server installation
in the installation location, it does not install WebLogic Server.I had problems when I tried to install both products to the same middleware home, for simplicity I ended up just installing to separate locations.
I am sure it can be done but I don't think it is so straight forward, hopefully one day the products will link up in a cleaner way. Saying that I only really tried once and maybe I should spent much more time investigating whether it is possible.
Cheers
John
http://john-goodwin.blogspot.com/ -
Connecting to two different database instances from a swing application.
Hi All,
I am developing a swing application which needs to interact with two different database instances of two different weblogic servers.
More eloborately,
I have some data in DB_Instance1 running on[b] Weblogic_Server1 and I need to insert the same data into DB_instance2 running on Weblogic_server2. Is it possible. Could some explain me how to do that..
Thanks in advance...
Sreekanth.Hi Rick,
Try logging onto both Server first. You'll have to use either 2 separate ODBC DSN's or 2 separate OLE DB connections. Set them both for Trusted Authentication, you'll have to configure that on the Server also.Then try your query.
If that doesn't work then you'll have to create a Stored Procedure or View that can link the 2 Server side.
Thank you
Don -
How to start weblogic instance using wlserv ant task
Hi,
Iam using weblogic 8.1
Iam trying to write build script which starts remote weblogic instance and does deploy using wldeploy and restarts the instance.
First iam trying with starting weblogic.
==============================
<wlserver
dir="${server.project.root.dir}"
domainName="${weblogic.domain.name}"
serverName="${weblogic.server.name}"
host="10.106.90.50"
port="8001"
generateConfig="true"
productionModeEnabled="false"
weblogicHome="${weblogic.home}/weblogic81"
username="weblogic"
password="password"
args = "-XX:MaxPermSize=512M -Xms256m -Xmx512m"
action="start">
<classpath refid="weblogic.classpath"/>
</wlserver>
==============================
Iam getting an issue here , it starts the weblogic but automatically it stops the weblogic , without any exception.
as per their documentation
"When you use the wlserver task in an Ant script, the task does not return control until the specified server is available and listening for connections. If you start up a server instance using wlserver, the server process automatically terminates after the Ant VM terminates. If you only connect to a currently-running server using the wlserver task, the server process keeps running after Ant completes."
I understand what they are saying , but what is the remedy to it , how to rectify it. I tried starting default server it gives NPE.
ITs kinda very urgent for me any help , or available scripts will be very use ful.
Thanks in advance.meghab,
Thanks for the reply.
I tried using java task , now the server is starting sucessfully but iam getting exception while starting the Queue.
Here is my ant task.
===================================
<target name="weblogicrun">
<java fork="yes" dir="${weblogic.domain.dir}" classpathref="weblogic-classpath" classname="weblogic.Server">
<jvmarg value="-server"/>
<jvmarg value="-Dweblogic.Name=MyAppServer"/>
<jvmarg value="-Dweblogic.RootDirectory=${weblogic.config.dir}"/>
<jvmarg value="-Xms256m"/>
<jvmarg value="-Xmx512m"/>
<jvmarg value="-XX:MaxPermSize=128m"/>
<jvmarg value="-da"/>
<jvmarg value="-Dplatform.home=D:/bea"/>
<jvmarg value="-Dwls.home=D:/bea/weblogic81/server"/>
<jvmarg value="-Dweblogic.ProductionModeEnabled=false"/>
<jvmarg value="-Djava.security.policy=D:/bea/weblogic81/server/lib/weblogic.policy"/>
</java>
</target>
===================================
In my project i have default queue , it gives INSTANTIATION EXCEPTION while trying to invoke weblogic.jms.common.DestinationImpl
==================================
java.lang.InstantiationError: weblogic.jms.common.DestinationImpl
=====================================
Iam providing the config information from config.xml
<JMSServer Name="WSStoreForwardInternalJMSServerMyServer"
Store="FileStore" Targets="MyAppServer">
<JMSQueue CreationTime="1179819623120"
JNDIName="jms.internal.queue.WSStoreForwardQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueueCCAppServer"/>
<JMSQueue CreationTime="1179819623511"
JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueueMyAppServer"/>
</JMSServer>
=========================================
The full exception stack is below...
[java] <Oct 11, 2007 1:54:28 PM IST> <Notice> <WebLogicServer> <BEA-000327> <Starting WebLogic Admin Server "MyAppServer" for domain "MyAppDomain">
[java] <Oct 11, 2007 1:54:41 PM IST> <Error> <JMS> <BEA-040368> <The following exception has occurred:
[java] java.lang.InstantiationError: weblogic.jms.common.DestinationImpl
[java] at weblogic.jms.backend.BEDestination.initialize(BEDestination.java:801)
[java] at weblogic.jms.backend.BEDestination.initialize(BEDestination.java:341)
[java] at weblogic.jms.backend.BackEnd.createDestination(BackEnd.java:1952)
[java] at weblogic.jms.backend.BackEnd.initialize(BackEnd.java:667)
[java] at weblogic.jms.JMSService.addJMSServer(JMSService.java:2247)
[java] at weblogic.jms.JMSService.addDeployment(JMSService.java:2031)
[java] at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:337)
[java] at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:597)
[java] at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:575)
[java] at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:755)
[java] at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:734)
[java] at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:516)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
[java] at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:990)
[java] at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)
[java] at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:948)
[java] at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:475)
[java] at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7731)
[java] at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1321)
[java] at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:339)
[java] at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
[java] at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
[java] at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
[java] at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
[java] at weblogic.Server.main(Server.java:32)
Am i missing something.
Thanks in advance.
Edited by rdayalan at 10/11/2007 1:45 AM -
How to run 2 weblogic instance in the same machine
is it possible to run 2 weblogic instance in the same machine ?
I have created 2 domains ...domain-1 and domain-2 in my hard disk and both of them have startWeblogic.cmd in them..
but i cant run them simultaneously though individually they run.
they differ by HTTP port and Debug port but still they dont run simultaneously
can you please comment ?yea...i thought about it .
but as both of them are same application and they are using the same DB connection pool , JMS queue ....i just dont want to mix all these.
so i have created two seperate domian . and i run them individually and they work fine.
However , they are having different ports though .
But when i run the second one while the first one is running ....the second one does not starts up
here is the error when i click on startsWeblogic.cmd when the other is already running.
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
BEA WebLogic JRockit(TM) 1.4.2_08 JVM R24.5.0-61 (build ari-49095-20050826-1856-win-ia32, Native Threads, GC strategy: pa
Starting WLS with line:
d:\bea\JROCKI~1\bin\java -jrockit -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.
=== Debugging ===
This window is necessary for debugging code using WebLogic Workshop
ERROR: Proxy already running...
weblogic.debugging.comm.TransportException
at weblogic.debugging.comm.ServerConnectInfo.createTransport()Lweblogic/debugging/comm/CommTransport;(ServerConne
at weblogic.debugging.engine.ProxyThread.run()V(ProxyThread.java:77)
at java.lang.Thread.run()V(Unknown Source)
at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
Caused by: java.net.BindException: Address in use
at jrockit.net.SocketNativeIO.bind(ILjava/net/InetAddress;I)I(Unknown Source)
at jrockit.net.SocketNativeIO.bind(Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)I(Unknown Source)
at java.net.AbstractSocketImpl.bind(Ljava/net/InetAddress;I)V(Unknown Source)
at java.net.PlainSocketImpl.bind(Ljava/net/InetAddress;I)V(Unknown Source)
at java.net.ServerSocket.bind(Ljava/net/SocketAddress;I)V(ServerSocket.java:318)
at java.net.ServerSocket.<init>(IILjava/net/InetAddress;)V(ServerSocket.java:185)
at java.net.ServerSocket.<init>(I)V(ServerSocket.java:97)
at weblogic.debugging.comm.ServerConnectInfo.createTransport()Lweblogic/debugging/comm/CommTransport;(ServerConne
... 3 more
Could not bind to Weblogic server (Error attaching to Weblogic Server.).
Message was edited by:
Unknown_Citizen -
TWO IIS virtual directories for TWO WebLogic Instances
I have an IIS website with one IIS virtual directory which is using iisproxy.dll
to redirect the request to a weblogic instance.
Now, I would like to create another virtual directory which has to redirect to
another weblogic instance (with different port). How can I do that? I have tried
to create another copy of iisproxy.dll & iisproxy.ini but that new website still
forward the request to the old website. Please advice.
Many thanks.
RonaldHi Ronald
This is not possible with existing weblogic releases.
However There are couple of workarounds for this.
1. Setup two IIS Sites forwarding requests to two weblogic servers.
Make sure The IIS sites are running with Application Protection of
High(Isolated).
Make sure the iisproxy.ini and iisproxy.dll for theses different sites
are in different
diectories and configure the sites and iisproxy.ini files appropriately.
- This, i tries and works great.
2. Let All the requests go to one weblogic server. Register a servlet
with you'r second virtual directory name as a proxy servlet proxying to
the second
weblogic server.
- This might work. But you have to remeber the performance impact of
proxying twice.
Hope this helps
vijay
"Ronald" <[email protected]> wrote in message
news:3aff5049$[email protected]..
>
I have an IIS website with one IIS virtual directory which is usingiisproxy.dll
to redirect the request to a weblogic instance.
Now, I would like to create another virtual directory which has toredirect to
another weblogic instance (with different port). How can I do that? I havetried
to create another copy of iisproxy.dll & iisproxy.ini but that new websitestill
forward the request to the old website. Please advice.
Many thanks.
Ronald -
Script to stop all weblogic instances running on a box
Hi,
Is there any script to stop all instances of weblogic running on a Unix box at once?
My understanding is grep for weblogic processes and then issue kill -9 .
Correct me if im wrong and also provide the right script to shutdown all weblogic instances.
Thanks!!Hi,
You can use simple JMX code to achieve the same (Shutting down all the Servers present inside a Domain at once) :
Topic: Force Shutingdown WLS Using JMX
http://middlewaremagic.com/weblogic/?p=55
NOTE: The above JMX code is intended to just shut down the AdminServer you can remove the if {} block from from Line No -60 the following JMX code to shutdown all the Servers rather than shutting down Only the Admin Server.
Thanks
Ravish Mody -
Java client connecting to multiple weblogic instances
We have a standalone java client JMS application that needs to connect to multiple
Weblogic instances running in different domains.
The client works fine when we obtain an initial context to the multiple instances
without specifying a security principle and password. As soon as we add in this
information, we get problems: The initial context is still successfully retrieved
for each of the weblogic instances, but we cannot send JMS messages to destinations
on one of the Weblogic instances due to a security exception which states that
there is an 'Invalid Principal'.
Any advice would be appreciated.You should first establish a trust relationship between your Weblogic
servers:
http://e-docs.bea.com/wls/docs70/secmanage/domain.html#1171534
It is very poorly documented since this is a change in the behavior with
previous versions and should have been in the Release Notes but instead
is inside the normal documentation.
--dejan
jonathan wrote:
Thanks Arvind, but both JVMs are the same (1.3.1) and there is no jsse stuff in
the classpath.
"Arvind Gudipati" <[email protected]> wrote:
check if yr client's jvm version is the same as server's jvm.. ive noticed
this problem a few times when i was using client jvm (1.4.x) connecting
to
server jvm (1.3.x).. also check if u have any jsse libraries in yr
classpath.. if so remove 'em
+arvind
"Jonathan" <[email protected]> wrote in message
news:3f2f9f19$[email protected]..
We have a standalone java client JMS application that needs to connect
to
multiple
Weblogic instances running in different domains.
The client works fine when we obtain an initial context to the multiple
instances
without specifying a security principle and password. As soon as we
add in
this
information, we get problems: The initial context is still successfully
retrieved
for each of the weblogic instances, but we cannot send JMS messages
to
destinations
on one of the Weblogic instances due to a security exception which
states
that
there is an 'Invalid Principal'.
Any advice would be appreciated.
Maybe you are looking for
-
[SOLVED] Nouveau vs Nvidia in regards to Twinview
Hello all. I have a laptop that has an nvidia video card, using the proprietary nvidia driver. I also use a docking station, so I have Twinview set up so that it shows the same thing on both screens so when docked I'll see something on the external m
-
Hi, I try to install this new server at a a macbook (Aluminium 13'', Late 2008, 2GHz Intel Core 2 Duo, 4 GB RAM, Mountain Lion 20.8.3), but, afte hoours and hours of delay the configuration not finish. I stop the application and I try it again, but,
-
RequestDispatcher exception?
Hi, Following sample code trying to forward a jsp page and pass a parameter to the next page String t = "test"; request.setAttribute("t",t); try{ RequestDispatcher aDispatcher = request.getRequestDispatcher("UnitScr.jsp"); aDispatcher.forward(request
-
I have been converting my Fuji RAF files to DNG with Lightroom preferences set to make them compatible to Camera Raw 6.6 resulting in approximately 60 MB files. I found that by changing the compatibility to 7.1 only the files are only about 20 MB.
-
Problem with RSCRM_BAPI
Hi Experts, I have a question about a RSCRM_BAPI limitation: I want to extract a Query, using this transaction, to a fixed lenght .txt file. The query has a tabular structure like this: CHARACT1 | CHARACT2 | CHARACT3 | CHARACT4 | KEYFIG_MONTH1 | KEYF