Weblogic and Websphere IIS plugin coexistence
Hi Folks,
I have a customer who is planning to migrate part of their webapps from websphere to weblogic, however they would like to share the same IIS webfarm for the existing appservers farms ... I wonder if anyone know how the appservers plugins will behave if I have both BEA ISSProxy and IBM WebSphere IIS plugin on the same server ... anyone can share experience on this? Is it even supported?
BTW ... Weblogic is 8.1SP4 and WebSphere is 5.1 ...
Thanks,
Juan Pablo Chen
Sure.. why wouldn't it be?
If you are using 1 IIS instance, which I am assuming you are, just make sure
you load the iisproxy.dll in high isolation.
Regards,
Eric
"Alan Bub" <[email protected]> wrote in message
news:[email protected]..
>
I have a requirement that I run two weblogic servers on the same box. Theserver
run the same applications except that they have different port numbers. Iwould
like to run these both through a single IIS server. Is this possible?
Thanks
Alan
Similar Messages
-
Weblogic and websphere colocated?
Has anyone ever had any experience running weblogic and websphere on the same machine? If so, what were your issues?
Thanks in advance.Web sphere has a wide robust features which weblogic lacks some. Like the load balancing and admin console, clustering .
In Weblogic In many cases, code for applications deployed on WebLogic Server is arbitrarily structured and depends on the build process to make sense of it all. The implication of this is that existing code organization will very likely have to be changed as part of the migration effort. This may be very difficult (or even impossible) to accomplish while maintaining links to your code's history. Some organizations choose simply to archive their history and start fresh.
In WebSphere, Packaged with each module is an XML deployment descriptor that describes the organization of the components in the module and how they are configured at run time. hence applications can be migrated easily. -
Weblogic and Websphere communication!!
Hi Friends,
I have an EJB HelloWorld deployed on both servers(Weblogic and Websphere) and these beens are accessible easily from their respective client servlets, which is the easy part.
Now what I want to try is access the bean's methods on Weblogic server from a bean on Websphere server and vice versa. This is where I want some ideas from the gurus please.
e.g. hello() method of the EJB (HelloWeblogic) in Weblogic server prints the message "Hello from Weblogic" and the hello() method of the EJB (HelloWebsphere) in Websphere server prints the message "Hello from Websphere". Now I want to know what do I need to do so that I am able to execute hello() of the HelloWeblogic EJB, from HelloWebsphere EJB and vice versa.
I am also new to EJB, but I think I am making my way slowly.
Any help/ideas/code samples would be really appreciated.
Please feel free to ask any questions.
Regards
RajeevAs far as I can see the standard way would be to lookup
the ejbs-home in the others JNDI context. After that proceed
as you are used to.
Troubles (or some unlikely behaviours) could occur if your beans are
served by the same interfaces.
But Dynamic Stub loading via RMI should prevent you from any problems with non existing stub/skels, etc.
You could only run into problems when stub/skel-implementation-classes where named equally (by full qualifier) in both app-servers. This should never happen. (weblogic.SomeWLStubClass != ...websphere...SomeStubClass)
Read RMI-Specification for further details on dynamic class-loading in
the RMI process:
http://java.sun.com/products/jdk/1.1/docs/guide/rmi/spec/rmi-arch.doc.html
or j2ee-tutorial on how to resolve JNDI-Contexts.
Hope it helps!
Alexander Sack -
hi
could anybody tell what is the basic difference between weblogic and websphere.
thanks
suruWeb sphere has a wide robust features which weblogic lacks some. Like the load balancing and admin console, clustering .
In Weblogic In many cases, code for applications deployed on WebLogic Server is arbitrarily structured and depends on the build process to make sense of it all. The implication of this is that existing code organization will very likely have to be changed as part of the migration effort. This may be very difficult (or even impossible) to accomplish while maintaining links to your code's history. Some organizations choose simply to archive their history and start fresh.
In WebSphere, Packaged with each module is an XML deployment descriptor that describes the organization of the components in the module and how they are configured at run time. hence applications can be migrated easily. -
Connection Weblogic and Websphere MQ
Can anybody help me how to connect Weblogic and Websphere MQ?
If you are using the foreign JMS server then create the binding file for MQ. The binding file would contain host and port and other required details.
Weblogic could understand the configuration details in that. -
EJB communication between weblogic and websphere
Hello:
I have weblogic 7.1 instance running in machine A and websphere running in machine B. I want to make a call to the ejb deployed from weblogic to websphere. Any experience in this would be very helpful. Or pl. post the procedure.
Thx in advance.I don't think that there is any magic here, although I've never tried it.
All you need is the compiled EJBHome and EJBObject interfaces in the
classpath of the calling EJB, get an InitialContext in the JNDI namespace of
the target EJB container using the name of the JNDI InitialContext Factory,
do a lookup on the bean making sure to do a PortableRemoteObject.narrow when
you are casting the Home stub with the vendor specific version of
PortableRemoteObject(and that may be the real trick), call the appropriate
create method, and you are rolling.
I guess the question becomes how to make sure that when you are calling
PortableRemoteObject.narrow on the Home stub, that you get the vendor
specific version for the EJB container and JNDI namespace from which you are
doing the lookup.
I guess the answer is, I'm guessing. Have you tried it?
bill
"nebs om" <[email protected]> wrote in message
news:30035468.1103738722864.JavaMail.root@jserv5...
Hello:
I have weblogic 7.1 instance running in machine A and websphere runningin machine B. I want to make a call to the ejb deployed from weblogic to
websphere. Any experience in this would be very helpful. Or pl. post the
procedure.
>
Thx in advance. -
Weblogic and Websphere intergration
Hi,
I would like to make a call from EJB bean deploeyd on WLS8.1 to another
bean deployed on Websphere 6.0 but I have no idea how to do that.
When I do sth like that in EJB in WLS:
InitialContext tx = new InitialContext();
Object obj =
(Object)tx.lookup("corbaname:iiop:localhost:2809#comarch/test/ejb/BasicCalculator");
I get the following exception:
javax.naming.NameNotFoundException: Exception in lookup.:
`comarch/test/ejb/Basi
cCalculator' could not be found. Root exception is
org.omg.CosNaming.Nami
ngContextPackage.NotFound:
IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
at
org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHe
lper.java:72)
at
org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:
251)
at
weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:187)
at
weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:174)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at examples.HelloBean.hello(HelloBean.java:71)
BasicCalculator bean is deployed on websphere and websphere runs on
localhost.
What should i do to get it running?
Any help appreciated.looser0 <[email protected]> writes:
BasicCalculator bean is deployed on websphere and websphere runs on
localhost.
What should i do to get it running?
Any help appreciated.This definitely works but there have been several patches to both
products to support things well. First of all check what name you
should actually use for websphere - I have a feeling that it has some
bizarre prefix on all of its names. Next make sure you are running
with WLS 8.1sp4. I don't know what version of WebSphere 6.0 you need -
I know there were fixes in WAS 5.1.3.
andy
-- -
WLS 5.1 and 6.0 plugin coexistence
Hi,
We have some web applications on WLS 5.1 sp 8 and we are now planning to
migrate (in steps) to WLS 6. We have an iPlanet web server layer on top of
WLS. I'm not sure how can we have two WL Plugin (for 5.1 and 6) configured
in the iPlanet server. If it is not possible then can WL 6 plugin also
support 5.1 apps ? Has anyone tried this?
Regards,
AjayYes.
You only have to consider this points:
* You only can do this with evaluation licenses.
* You must use different ports for each WLS
* You must install each version under different directories. In the case of WLS
6.x you must respect the BEA standard (described in documentation)
Regards from Mexico
Sergio RĂos
"Radu Marian" <[email protected]> wrote:
>
Can run 5.1 and 6.0 simultaneously?
Thanks. -
Best application servers: weblogiv and websphere?
Hi I have heard that if I want to do JSP on NT with IIS the most widely adopted middleware is weblogic and websphere is this true? Which is the most expensive and which is the easiest for a beginner to get to grips with?
If you are a beginner with JSPs and Servlets, but want to work with the J2EE component model strictly for developer purpose, have a look at Reisen, JBoss, JRun (dev edition), and Tomcat. My preferred container is Tomcat but running with Apache rather than IIS. I've spent one too many times reimaging drives after virus fiascos. If you want to get grips with the two mentioned, check their web sites... the documentation is quite vast.
-
I know that this has been asked a few times but I couldn't find any recent comparisons.
So - my company is going to adopt a J2EE platform and wants to buy an appserver. We've narrowed it down to Weblogic 8.1 or Websphere 5.2
I know that early versions of Websphere got slated - but can anyone advise on how improved 5.1 is
Also we are mixed ability team with some newbies to Java. We want to adopt a uniform IDE.
Any comments on WSAD versus Weblogic Workshop. Are people using othe IDEs alongside either Websphere Server or Weblogic Server
I like the look of Workshop - but it clearly isn't as big as WSAD - and also Weblogic have introduced the concept of Java Controls which definitely isn't standards based. However our team leader thinks that this could be an easy entry point for less experienced Developers. Any comments on any of these products much appreciatedHi,
I was looking for a comparison against the latest versions of Weblogic and websphere. I was looking at the string of posts and came to a conclusion that you were in the same situation months before and you have nailed your choice as weblogic. Could you please give me some information regarding that?
Basically am preparing a presentation with performance, scalability, features, ease of development, IDE effeciency, Integration abilities, Webservices capabilities, licensing cost and so on. -
Weblogic and Webspehere comparison
Hi All,
Has any one done comparison between weblogic and websphere ? Can I get
the details on how these products compare ?
Thanks
PrasadI'm trying XSQL Servlet version 1.0.0.0 with Weblogic 5.1.
In my weblogic.properties file I have
weblogic.httpd.register.*.xsql=oracle.xml.xsql.XSQLServlet
I also have
weblogic.httpd.servlet.classpath=d:/weblogic/myserver/servletclasses;d:/xsqlservlet_v1_0_
0_0/lib;d:/xsqlservlet_v1_0_0_0/lib/oraclexmlxsql.jar;d:/xsqlservlet_v1_0_0_0/lib/oraclex
sql.jar;d:/xsqlservlet_v1_0_0_0/lib/xmlparserv2.jar;d:/xsqlservlet_v1_0_0_0/lib/classes11
1.zip
I have been getting this error:
java.lang.NoClassDefError: oracle/xml/xsql/XSQLDocHandler ....
This might be caused by some incorrectly assigned classpath (i.e. does the XSQL Servlet classpath go to the weblogic.httpd.classpath or should it be defined in another path or classpath -- Weblogic seems to have several).
Also, some init args can be set for servlets. Which args need to be set for the XSQL Servlet?
In general, what is the configuration with Weblogic?
null -
What is the role of J2EE compared with WebLogic and Tomcat?
Now that J2EE play the role of Web Services Container and Logic Services Container
What does WebLogic do?and What does Tomcat do?
Do they collided with each other?WebLogic (and WebSphere, JBoss, and Sun ONE) are all J2EE application servers. Each of them has an HTTP server and servlet/JSP engines built-in. They can handle HTML pages, JSPs, EJBs, messaging, transactions, two-phase commit to databases, etc.
Tomcat is just a servlet/JSP engine with an HTTP server built in. It can handle HTML pages, servlets, and JSPs, but it can't run EJBs for you. If you want to stick EJBs into a servlet or JSP, you'll have to get them from a J2EE app server.
No, WebLogic is a superset of Tomcat. It has an HTTP server and a servlet/JSP engine, so WebLogic can happily exist without Tomcat.
If you'd like, you can have both Tomcat and WebLogic. Let Tomcat handle the servlet and JSP requests and leave the EJB enterprise stuff to WebLogic. You might use this arrangement when you'd like to have a Tomcat server running in a DMZ and a WebLogic app server inside the second firewall. Tomcat can then do authentication and forward requests back to WebLogic. - MOD -
SSL and IIS Plugin possible ? How ?
Hi,
I wonder if it is possible to proxy both normal and SSL requests through the iis
plugin. We use WLCS 3.2 and everything except checkout should be proxied without
SSL, but checkout with SSL how can I configure (running in a cluster) the iis
proxy to handle this problem. When it is not possible what could you suggest in
a clustered scenario with the above mentioned cirumstances ?
Can I use the iisproxy and iisforward dlls from WLS 6 SP1 in WLS 5.1 ?
Thanks a lot in advance
OliverHi,
I wonder if it is possible to proxy both normal and SSL requests through the iis
plugin. We use WLCS 3.2 and everything except checkout should be proxied without
SSL, but checkout with SSL how can I configure (running in a cluster) the iis
proxy to handle this problem. When it is not possible what could you suggest in
a clustered scenario with the above mentioned cirumstances ?
Can I use the iisproxy and iisforward dlls from WLS 6 SP1 in WLS 5.1 ?
Thanks a lot in advance
Oliver -
I am using the latest version of the IIS plugin for Weblogic (build: Apr 14 2002
17:53:13)
It seems that the ISAPI Filter (iisforward.dll) does not forward all http POSTs
- however it does seem to work fine for http GET's.
We have configured the plugin (you will see the attached debug dump) to forward
all calls on "/weblogic". If we perform http GET's on such a URL (using IE) everything
works fine - and the call is routed to Weblogic.
When we make a SOAP call using our C++ client, (a http POST) through the IIS plugin
we get a 405 error. If we artificially add the ".wlforward" extension on the context
URL (in our C++ client ) then it is forwarded correctly to weblogic by the Application
Extension (iisproxy.dll) - so the problem lies with the ISAPI filter. Also, if
we remove the ISAPI filter from IIS, we get the same 405 error - which confirms
that the ISAPI filter is not catching the POST's.
More puzzling, however, is that the SOAP requests from our Java SOAP client (using
WLS SOAP) works fine.
The problem must have something to do with the difference in structure of the
POSTS.
Normally, I would attach the logs/config in a zip file - but that seems broken
at the moment. Instead they are all pasted in below.....
-Nick
Successful POST http header:
POST /weblogic/webservice/BondInstrumentService HTTP/1.0
Host: localhost:8080
Connection: Keep-Alive
Content-Length: 1965
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Authorization: Basic c3lzdGVtOnBhc3N3b3Jk
UNSuccessful POST http header:
POST /weblogic/webservice/BondInstrumentService HTTP/1.0
SOAPAction: ""
Content-Type: text/xml
Connection: close
Content-Length: 1670
IIS 405 Response:
HTTP/1.1 405 Method not allowed
Server: Microsoft-IIS/5.0
Date: Thu, 25 Jul 2002 14:28:52 GMT
Allow: OPTIONS, TRACE, GET, HEAD
Content-Length: 3126
Content-Type: text/html
IIS Plugin Config:
Properties loaded from path: 'D:\Inetpub\WeblogicPlugin\iisproxy.ini'
Query String: '__WebLogicBridgeConfig'
General Server List:
Host: 'localhost' Port: 7001 Status: OK
ConnectRetrySecs: '2'
ConnectTimeoutSecs: '10'
CookieName: 'JSESSIONID'
Debug: '12'
DebugConfigInfo: 'ON'
DefaultFileName: ''
DynamicServerList: 'ON'
ErrorPage: ''
FileCaching: 'ON'
HungServerRecoverSecs: '300'
Idempotent: 'OFF'
KeepAliveEnabled: 'ON'
KeepAliveSecs: '30'
PathPrepend: ''
PathTrim: '/weblogic'
MaxSkips: '10'
MaxPostSize: '-1'
SecureProxy: 'OFF'
WLLogFile: 'D:\Inetpub\WeblogicPlugin\iisPlugin.log'
WLProxySSL: 'OFF'
Runtime statistics:
requests: 1
successful requests: 1
Exception objects created: 0
Exception Objects deleted: 0
URL Objects created: 1
URL Objects deleted: 1
connections recycled: 0
UNKNOWN_ERROR_CODE exceptions: 0
CONNECTION_REFUSED exceptions: 0
CONNECTION_TIMEOUT exceptions: 0
READ_ERROR exceptions: 0
WRITE_ERROR exceptions: 0
READ_TIMEOUT exceptions: 0
WRITE_TIMEOUT exceptions: 0
UNKNOWN_HOST exceptions: 0
NO_RESOURCES exceptions: 0
PROTOCOL_ERROR exceptions: 0
CONFIG_ERROR exceptions: 0
FAILOVER_REQUIRED exceptions: 0
Build date/time: Apr 14 2002 17:53:13Doh. :< I hope you can get someone here from the BEA guys/gals to help out.
I'm outside of my league at this point. Sorry about that. Good luck.
"Nick Minutello" <[email protected]> wrote
in message news:[email protected]...
>
>
Thanks.
Sadly, my IIS configuration is correct. The plugin seems to work fine if Ijust
use my browser (http GET) for either forward-by-extension (*.jsp) orforward-by-path
(/weblogic/*).
However, there seems to be a problem when I use SOAP (http POST). For somereason,
when I use my C++ SOAP client (using WASP), then the ISAPI filter (the onethat
generates the .wlforward on the URL) doesnt modify the URL - hence the403...
If I use my java client.... everything is fine. Comparing the two httppackets,
I dont see anything obviously wrong - but something is making the WLSplugin choke.
>
Cheers,
Nick
"PHenry" <[RemoveBeforeSending][email protected]> wrote:
Howdy. I had a similar problem. I'm not a BEA support person, but maybe
I
might be able to help. If not, at least someone's listening. :>
Did you add the .jsp AND the .wlforward in the path redirection under
your
web app in IIS? I read the instructions thoroughly (or so I thought),
and I
wasn't able to get the POST to work. :< But as I reread the
instructions,
I
had put in the .jsp (is it under Home Directory, Configuration I think?),
and I put in the ISAPI dll, but I didn't put in the .wlforward (in with
the
..jsp). Once I did that, and restarted the box, all was good! :>
That might help. And if not, at least one of the BEA people have one
less
thing to try. Good luck.
"Nick Minutello" <[email protected]>
wrote
in message news:[email protected]...
I am using the latest version of the IIS plugin for Weblogic (build:Apr
14 2002
17:53:13)
It seems that the ISAPI Filter (iisforward.dll) does not forward allhttp
POSTs
- however it does seem to work fine for http GET's.
We have configured the plugin (you will see the attached debug dump)to
forward
all calls on "/weblogic". If we perform http GET's on such a URL (usingIE) everything
works fine - and the call is routed to Weblogic.
When we make a SOAP call using our C++ client, (a http POST) throughthe
IIS plugin
we get a 405 error. If we artificially add the ".wlforward" extensionon
the context
URL (in our C++ client ) then it is forwarded correctly to weblogicby the
Application
Extension (iisproxy.dll) - so the problem lies with the ISAPI filter.Also, if
we remove the ISAPI filter from IIS, we get the same 405 error -which
confirms
that the ISAPI filter is not catching the POST's.
More puzzling, however, is that the SOAP requests from our Java SOAPclient (using
WLS SOAP) works fine.
The problem must have something to do with the difference in structureof
the
POSTS.
Normally, I would attach the logs/config in a zip file - but that seemsbroken
at the moment. Instead they are all pasted in below.....
-Nick
Successful POST http header:
POST /weblogic/webservice/BondInstrumentService HTTP/1.0
Host: localhost:8080
Connection: Keep-Alive
Content-Length: 1965
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Authorization: Basic c3lzdGVtOnBhc3N3b3Jk
UNSuccessful POST http header:
POST /weblogic/webservice/BondInstrumentService HTTP/1.0
SOAPAction: ""
Content-Type: text/xml
Connection: close
Content-Length: 1670
IIS 405 Response:
HTTP/1.1 405 Method not allowed
Server: Microsoft-IIS/5.0
Date: Thu, 25 Jul 2002 14:28:52 GMT
Allow: OPTIONS, TRACE, GET, HEAD
Content-Length: 3126
Content-Type: text/html
IIS Plugin Config:
Properties loaded from path: 'D:\Inetpub\WeblogicPlugin\iisproxy.ini'
Query String: '__WebLogicBridgeConfig'
General Server List:
Host: 'localhost' Port: 7001 Status: OK
ConnectRetrySecs: '2'
ConnectTimeoutSecs: '10'
CookieName: 'JSESSIONID'
Debug: '12'
DebugConfigInfo: 'ON'
DefaultFileName: ''
DynamicServerList: 'ON'
ErrorPage: ''
FileCaching: 'ON'
HungServerRecoverSecs: '300'
Idempotent: 'OFF'
KeepAliveEnabled: 'ON'
KeepAliveSecs: '30'
PathPrepend: ''
PathTrim: '/weblogic'
MaxSkips: '10'
MaxPostSize: '-1'
SecureProxy: 'OFF'
WLLogFile: 'D:\Inetpub\WeblogicPlugin\iisPlugin.log'
WLProxySSL: 'OFF'
Runtime statistics:
requests: 1
successful requests: 1
Exception objects created: 0
Exception Objects deleted: 0
URL Objects created: 1
URL Objects deleted: 1
connections recycled: 0
UNKNOWN_ERROR_CODE exceptions: 0
CONNECTION_REFUSED exceptions: 0
CONNECTION_TIMEOUT exceptions: 0
READ_ERROR exceptions: 0
WRITE_ERROR exceptions: 0
READ_TIMEOUT exceptions: 0
WRITE_TIMEOUT exceptions: 0
UNKNOWN_HOST exceptions: 0
NO_RESOURCES exceptions: 0
PROTOCOL_ERROR exceptions: 0
CONFIG_ERROR exceptions: 0
FAILOVER_REQUIRED exceptions: 0
Build date/time: Apr 14 2002 17:53:13 -
The bug of iis plugin???
when i use iis plugin,i'll often get the follwing message before my jsp page:
Server: Microsoft-IIS/5.0 Date: Wed, 10 Jul 2002 02:08:50 GMT Date: Wed, 10 Jul 2002
02:08:50 GMT Server: WebLogic WebLogic Server 6.1 SP3 06/19/2002 22:25:39 #190835
Content-Length: 10007 Content-Type: text/html;charset=GBK.
so what's wrong with it?Please repost this question in the appropriate section of the Discussion Forum.
This forum is for general suggestions and feedback about the OTN site. For technical question about an Oracle product,
You can also use our new offering called OTN Service Network:
For Oracle Advice/Minimal Support (fee based) on Reports, Forums,
SQL*Plus, and PL/SQL, please go to: http://www.oracle.com/start/otnServiceNetwork/intro.html?src=9123 86&Act=6
For customers with paid support (Metalink) please go to:
http://www.oracle.com/support/metalink
Maybe you are looking for
-
How do I move recents to a folder in documents?
have tried edit and move but doesn't work. Using iPad air2 thanks
-
Em console does not work in 11.1.1.0.0 Standalone oc4j
Hi, I have installed 11g OC4j ( Oracle Container for Java EE 11.1.1.0.0) and after starting the OC4J I can see the http://localhost:8888 welcome page but I am not able to access http://localhost:8888/em page. Is it renamed? I need to login to Admin p
-
After Installing Application Server - Problem connecting to my Databases
I have 10g installed on my Windows server, and have no problems connecting to my database(s). After I install Application Server 10g, I am no longer able to connect to any of them, as if the TNSNAMES.ORA file is no longer configured correctly. I am t
-
Code for uploading larger image or any file object
I have this code which is working file for files <500 KB * To change this template, choose Tools | Templates * and open the template in the editor. package controller; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter
-
How faces-config with two resource bundle???
Hi all, In my application, I want to put several message bundle in faces-config.xml. How can I do that? I defined two message bundle like <application> <default-render-kit-id>oracle.adf.core</default-render-kit-id> <message-bundle>com.resource1</mess