Proxying to multiple WL servers
I recently read a posting on the weblogic newsgroups about proxying from IIS to WL. I have a particular problem and I was hoping you could tell me how to solve it.
We have an IIS box fronting for two different WL boxes. We are using one WL box to serve java servlets, and the other is serving .jsp pages. Now I want to use WL's iisproxy.dll to send requests to different places, by file extension (e.g. test.jps goes to one box and test.servlet goes to another).
Is there a way to do this with the iisproxy.dll? I can create two folders and place the .dll in each. Then I can provide them with different iisproxy.ini files for each WL server. The problem is that when IIS starts, it only loads the .dll once (I think) and both .jsp and .servlet pages go to one server.
The .dll I'm using is from WL5.1SP5. Interestingly, in my testing, I replaced one of the .dlls with an older iisproxy.dll from WL4.0. This .dll had to be installed on the c:\ drive in a weblogic folder, but using one old .dll and one new .dll worked. This solution seems messy, and isn't scalable going forward if I later need to use the IIS box to serve other web sites.
Any advise or am I trying to do the impossible?
Chris Cook
Webmaster
ICG Commerce
[email protected]
Checkout:
http://www.weblogic.com/docs51/admindocs/apache_bridge.html
Example configuring Virtual Hosting
NameVirtualHost 172.17.8.1
<VirtualHost goldengate.domain1.com>
WebLogicCluster tehama1:4736,tehama2:4736,tehama:4736
PathTrim /x1
ConnectTimeoutSecs 30
</VirtualHost>
<VirtualHost goldengate.domain2.com>
WeblogicCluster green1:4736,green2:4736,green3:4736
PathTrim /y1
ConnectTimeoutSecs 20
</VirtualHost>
hth,
--Vinod.
Steve Earl wrote:
> Hi Vinod,
>
> Is it possible to have each virtual server in an Apache server proxy to a
> different cluster??? If so, how???
>
> Steve...
>
> "Vinod Mehra" <[email protected]> wrote in message
> news:[email protected]...
> > You can create multiple Virtual directories and then for each virtual
> directory you can register
> > a different copy of dll. Keep the ini files in the same directory as the
> dll.
> >
> > Suppose you have your website running at 8000 port and you have virtual
> directories:
> > dept1, dept2, dept3.... then when you do ...
> >
> > http://mywebsite:8000/dept1/foo.jsp
> > http://mywebsite:8000/dept2/foo.jsp
> > http://mywebsite:8000/dept3/foo.jsp
> >
> > ...assuming you have different cluster in each ini file, each of the above
> requests will
> > go to a different cluster.
> >
> > I tested it with each virtual directory having the property "run in a
> seperate memory space".
> >
> > So coming to your specific problem you can register jsp's in one virtual
> direcory and
> > servlets in the other. As a side note, 510SP5 has proxying by path too by
> registering a
> > new dll (iisforward.dll) as a IIS filter.
> >
> > --Vinod.
> >
> > Chris Cook wrote:
> >
> > > I recently read a posting on the weblogic newsgroups about proxying from
> IIS to WL. I have a particular problem and I was hoping you could tell me
> how to solve it.
> > >
> > > We have an IIS box fronting for two different WL boxes. We are using
> one WL box to serve java servlets, and the other is serving .jsp pages. Now
> I want to use WL's iisproxy.dll to send requests to different places, by
> file extension (e.g. test.jps goes to one box and test.servlet goes to
> another).
> > >
> > > Is there a way to do this with the iisproxy.dll? I can create two
> folders and place the .dll in each. Then I can provide them with different
> iisproxy.ini files for each WL server. The problem is that when IIS starts,
> it only loads the .dll once (I think) and both .jsp and .servlet pages go to
> one server.
> > >
> > > The .dll I'm using is from WL5.1SP5. Interestingly, in my testing, I
> replaced one of the .dlls with an older iisproxy.dll from WL4.0. This .dll
> had to be installed on the c:\ drive in a weblogic folder, but using one old
> .dll and one new .dll worked. This solution seems messy, and isn't scalable
> going forward if I later need to use the IIS box to serve other web sites.
> > >
> > > Any advise or am I trying to do the impossible?
> > >
> > > Chris Cook
> > > Webmaster
> > > ICG Commerce
> > > [email protected]
> >
[att1.html]
Similar Messages
-
IIS proxying to multiple WebLogic Servers by path
Hi all,
Is it possible to have 1 IIS proxying to 2 or more different
weblogic instances (no cluster) BY PATH (no virtual hosts, no proxying by extension)?.
Maybe 2 or more iisproxy.ini (or different sections in one) depending on iisforward
path :)
Just like with Apache or Netscape:
APACHE:
MatchExpression "/pathA/*" WebLogicHost=hostA|WebLogicPort=7001|CookieName=CookieA|ErrorPage=/LogoutA.htm
MatchExpression "/pathB/*" WebLogicHost=hostB|WebLogicPort=7003|CookieName=CookieB|ErrorPage=/LogoutB.htm
or
<LocationMatch "^/pathA/">
SetHandler weblogic-handler
WebLogicHost hostA
WebLogicPort 7001
CookieName CookieA
ErrorPage /LogoutA.htm
</LocationMatch>
<LocationMatch "^/pathB/">
SetHandler weblogic-handler
WebLogicHost hostB
WebLogicPort 7003
CookieName CookieB
ErrorPage /LogoutB.htm
</LocationMatch>
NETSCAPE:
<Object name="object1" ppath="*/pathA/*">
Service fn="wl-proxy" WebLogicHost="hostA" WebLogicPort="7001" CookieName="CookieA"
ErrorPage="/LogoutA.htm"
</Object>
<Object name="object2" ppath="*/pathB/*">
Service fn="wl-proxy" WebLogicHost="hostB" WebLogicPort="7003" CookieName="CookieB"
ErrorPage="/LogoutB.htm"
</Object>
TIA.Issue:
How can IIS 4 or IIS 5 be setup to proxy from one IIS server to
multiple WLS servers.
For example:
http://iisserver/myapp --> proxy http://wls1:7001/test
http://iisserver/myapp2 --> proxy http://wls2:7001/test
Resolution:
Proxying to different weblogic instances with one IIS Server can be
accomplished by using IIS Virtual Directories.
a) Create a Web site and two virtual directories for it.
b) Create two directories for the two virtual directories and copy
iisproxy.dll to each of the directories.
c) Create iisproxy.ini files in each directory created at step b. One
for proxying to WebLogic Server A and another for WebLogic Server B.
d) Register each iisproxy.dll to each of the virtual directories with
IIS by specifying the appropriate mime-type. If you want to proxy everything
for that virtual directory, then you will specify a mime-type of *.
Please note that specifying a mime-type of * will not work with IIS 4.
e) Make sure you set the Application Protection to HIGH for each
Virtual Directory.
Attachments:
No Attachments Available
"PacoG" <[email protected]> wrote in message
news:40c6eb20$1@mktnews1...
>
try {
NewsRefresh nrefresh=NewsRefreshFactory.getInstance("Please");
nrefresh.execute("HELP");
} catch (Exception allexceptions) {
throw new IKnowIKnowException("Linux+Apache"); -
LDAP Authentication Scheme - Multiple LDAP Servers?
How to set up ldap authentication so that multiple ldap servers are available? Scenario: ldap service is replicated through several servers, but does not sit behind a common dns/reverse proxy connection, so applications would list each ldap server and attempt to contact each in order if one or more ldap servers is unreachable.
How to set up ldap authentication so that multiple ldap servers are available? Scenario: ldap service is replicated through several servers, but does not sit behind a common dns/reverse proxy connection, so applications would list each ldap server and attempt to contact each in order if one or more ldap servers is unreachable.
-
Use WLS 8.1 to HttpProxyServlet to multiple web servers
I am trying to set up an environment so my client connects to the WLS server SSL&PKI. The WLS server will then proxy to multiple other web servers so all data returned between WLS and clint is SSL.
-------| |-----|-------------| apache/tomcat 8880
Client|---------| WLS |
-------| |-----|-------------| apache 3443
Here is the problem, I have been successful getting SSL&PKI and proxying to one to work, but not both servers. Each server runs different web server functions, this is not a cluster.
web.xml and weblogic.xml below
If I go to https://<WLSserver>:7002/cgi-bin
It always goes to the second server, it seems as soon as I map a <url-pattern>/</url-pattern> whichever servlet is defined last wins.
As added note, the client will never be able to connect to the apache and apache/tomcat server directly because the ports are blocked at the router level.
Is what I trying to do possible? Is there another way to proxy to multiple servers so the data back to the client is always SSL?
Thanks
--Sam
Weblogic.xml
<context-root>/<context-root>
web.xml
<web-app>
<servlet>
<servlet-name>ProxyServlet1</servlet-name>
<servlet-class>weblogic.servlet.proxy.HttpProxyServlet</servlet-class>
<init-param>
<param-name>redirectURL</param-name>
<param-value>
http://targethost1:8880/
</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>ProxyServlet1</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyServlet1</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyServlet1</servlet-name>
<url-pattern>*.htm</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyServlet1</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ProxyServlet2</servlet-name>
<servlet-class>weblogic.servlet.proxy.HttpProxyServlet</servlet-class>
<init-param>
<param-name>redirectURL</param-name>
<param-value>
http://targethost:3443/
</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>ProxyServlet2</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyServlet2</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyServlet2</servlet-name>
<url-pattern>*.htm</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProxyServlet2</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
</web-app>
Message was edited by bea_samham at Jan 14, 2005 6:02 PMI was still investigating. One suggestion is to run multiple server instances, each with its own <conxext-root>/</context-root> in weblogic.xml. This should work because each managed server runs in its own JVM, so you can have multiple context-root's set to /
I tried marking the case a answered but get javax exceptions, there must be something going on with the forum pages.
Message was edited by bea_samham at Jan 26, 2005 3:37 PM -
Forwarding requests to multiple weblogic servers
Hi,
I have two applications running on two different Weblogic servers and wish to
use one Apache web server as a front end interface. I can forward the requests
from apache to one weblogic server using apache-weblogic bridge.
Is it possible to forward requests to either one of the weblogic servers based
on some conditions?
How do we put IF/ELSE IF type constructs in apache configuration file so that
it can get requests for both the weblogic servers and then forward the request
to one of the weblogic servers ? Conditions can be anything like some particular
path, some data in request header, some constant in apache conf file etc
Thanks in advance.
MandarIssue:
How can IIS 4 or IIS 5 be setup to proxy from one IIS server to
multiple WLS servers.
For example:
http://iisserver/myapp --> proxy http://wls1:7001/test
http://iisserver/myapp2 --> proxy http://wls2:7001/test
Resolution:
Proxying to different weblogic instances with one IIS Server can be
accomplished by using IIS Virtual Directories.
a) Create a Web site and two virtual directories for it.
b) Create two directories for the two virtual directories and copy
iisproxy.dll to each of the directories.
c) Create iisproxy.ini files in each directory created at step b. One
for proxying to WebLogic Server A and another for WebLogic Server B.
d) Register each iisproxy.dll to each of the virtual directories with
IIS by specifying the appropriate mime-type. If you want to proxy everything
for that virtual directory, then you will specify a mime-type of *.
Please note that specifying a mime-type of * will not work with IIS 4.
e) Make sure you set the Application Protection to HIGH for each
Virtual Directory.
Attachments:
No Attachments Available
"PacoG" <[email protected]> wrote in message
news:40c6eb20$1@mktnews1...
>
try {
NewsRefresh nrefresh=NewsRefreshFactory.getInstance("Please");
nrefresh.execute("HELP");
} catch (Exception allexceptions) {
throw new IKnowIKnowException("Linux+Apache"); -
Multiple sites, multiple Edge servers
How do I configure multiple Edge servers? I am working with a client that has offices in US, Europe, and Asia. There are three sites configured. Each site has it's own internet and voice provider.
Right now they use one Edge server that is located in US. How do I add more Edge servers? Should I use different names for sip.domain.com records?
Any way to configure that if US user in Europe, this user will automatically use Edge server that is located in Europe? Same for Asia.
Can someone help me find documentation and/or explain how to configure it?
Thank you.
Thank you. Eric.Eric,
Obviously when you get into global Lync deployments things get a bit more complicated. So there are a few things you can do to mitigate issues/failover/etc. So to the questions at hand.
The Lync 2013 Client utilizes the Lync Discover service as the default login method. So as I described in the above post, when the Lync 2013 Client logs in, it will resolve lyncdiscoverinternal.domain.com and lyncdiscover.domain.com before it goes
to the SRV records like OCS/2010 Clients did. The Lync Discover service is a web service that would be published via the reverse proxy. In terms of your example, yes, the first time a user connects to the Lync Server they would connect to where
ever lyncdiscover.domain.com is published. So let's say it's in the US. The client will pass XML files back and forth and go to the edge server defined for the EU Site. The next time the user logs in remotely, they will not go back to the lyncdiscover.domain.com
as the client will cache the location it's supposed to connect in the configuration.cache file. So yes, it would go to the US but only the first attempt (or if it's server was down).
As for the second question. You could utilize a global DNS solution so users in EU get directed to a Reverse Proxy in EU where lyncdiscover.domain.com is published. US folks would go to US, etc. etc.
Thanks,
Richard
Richard Brynteson, Lync MVP | http://masteringlync.com | http://lyncvalidator.com -
Proxing request to multiple http servers
Hi,
I want to proxy request to multiple http servers.
I am able to do that for one, but now i want to configue 3 more servers.
All the servers will be giving jsp pages.
Can anybody help me in doing that.
Thanks in advance
Anshuman Nanda
[email protected]Just for the information, I am using weblogic 5.1
and want to do the setting for that only.
Thanks
Anshuman <[email protected]> wrote in message
news:3a836910$[email protected]..
Hi,
I want to proxy request to multiple http servers.
I am able to do that for one, but now i want to configue 3 more servers.
All the servers will be giving jsp pages.
Can anybody help me in doing that.
Thanks in advance
Anshuman Nanda
[email protected] -
Does Siebel Management Server supports multiple gtwy servers/siebelservers?
Hello,
Does Siebel Management Server supports multiple gtwy servers and siebel servers when running getservers.pl ?
Does Siebel Management Agent service run under windows 2008 OS?
Cheers
KotaHi,
In addition to making sure Agent Proxy on all AD FS servers is enabled, please also verify that the IIS 6 Management Compatibility and
IIS 6 Metabase Compatibility role services are installed. (Some AD FS 2.0 scripts depend on Internet Information Services (IIS) Windows Management Instrumentation (WMI) objects being installed.)
Here are two links for your reference:
Discovery Does Not Work in ADFS 2012 R2 MP
http://blogs.technet.com/b/omx/archive/2014/05/07/discovery-does-not-work-in-adfs-2012-r2-mp.aspx
http://scug.be/christopher/2012/03/07/opsmgr-scom-adfs-2-0-mp-discovery-issue/
Regards,
Yan Li
Regards, Yan Li -
How to configure one TREX host with multiple index servers ?
Hi All,
Does anyone know how to configure TREX on the one host,
with multiple index servers ?
Reason for this is to make better use of resources available on the host server(4 Gig, 4 Processor, Windows2003), to improve the search performance of
our KM content for portal users.
I am using TREX 7 and have not been able to do this,
despite reading the Single and Distributed install
documentation.
Any help would be appreciated.
Regards,
AndresHi Andres,
To make use of the RAM a Server provides you have to run two indexserver processes (each can then consume 2 GB);
Proceed like this:
1. Go to TREXdeamon.ini; check if section [indexserver2] is there (it is already provided, but not active in standard installation)
2. In TREXdeamon.ini go to
[daemon]
references sections below
programs=nameserver,preprocessor1,indexserver1,queueserver,alertserver
and add indexserver2 here. Restart TREX; second porcess is then started; can be checked in TREX monitor in Portal as well
3. To distribute existing indexes to the new process, start TREXadmintool and go to Index: Landscape
Go to the last two columns and move the indexes (move master here/secondary mouse click)
If you don't distribute the indexes the new index server process will be regarded when an new index is created.
Hope this helps!
cheers
Bettina -
How to configure multiple RAS servers?
Hi
'Crystal Reports Server Embedded XI R2 - Sizing and Configuration Guide'
It mentions that we can get more license and add the servers in ClientSDKOptions.xml.
<ServerInfos version="2" xsi:type="CrystalReports.ServerInfos" id="1">
<ServerInfo version="2" xsi:type="CrystalReports.ServerInfo" id="2">
<Server>SERVER1:1566</Server>
<Adapter>TCPIP</Adapter>
</ServerInfo>
</ServerInfos>
<ServerInfos version="2" xsi:type="CrystalReports.ServerInfos" id="1">
<ServerInfo version="2" xsi:type="CrystalReports.ServerInfo" id="2">
<Server>SERVER2:1566</Server>
<Adapter>TCPIP</Adapter>
</ServerInfo>
</ServerInfos>
I tried this and added ClientSDKOptions.xml file in the web application lib directory
Added that to PATH
Our application uses (Crystal-2008 / rasapp.jar /rascore.jar)
com.crystaldecisions.sdk.occa.report.application.ReportClientDocument
When i commented out rcd.setReportAppServer(sn); it is not picking up from the XML file.
I am getting the below error
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException:
There is no server specified.---- Error code:-2147217390 Error code name:serverNotFound
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.for(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.for(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
at com.crd.report.crystal.CrystalFile.makeRcd(CrystalFile.java:65)
at com.crd.report.crystal.CrystalReportUtil.makeRcd(CrystalReportUtil.java:892)
Please help me how to set up multiple RAS servers.
Thanks
SumathiYou are running an internal DNS server presumably but don't have these hostnames (A-NAME or C-NAME records) set on external DNS servers.
If you run a whois on your domain you can find our who hosts the DNS for the domain if you don't already know. Often DNS hosting companies will have web based tools for you to edit the DNS entries yourself or alternatively you may need to email them and ask them to create the records.
It sounds like you would like to point the addresses ubuntu.domain.com and win.domain.com to the IP address 92.62.26.10 as well. To do this you will have to make sure the services running on each box use a different port to one another. (I.e. You cannot have something running on port 80 on both servers).
Depending on your router also you may only be able to do basic forwarding (I.e. Port 80 forwards to Mac.domain.com; port 443 forwards to ubuntu.domain.com; port 25 forwards to win.domain.com).
If you need more flexibility you may need to get more external IP addresses. -
How to configure single web server instance to multiple application servers..
Hi all,
we are running single instance of IWS6.0 SP2 on solaris, we want to comfigure this single instance to multiple application servers(JRun). Can any one advise me whether it is possible to do.
Thanks
RajHi Raj,
"how to configure single web server instance to multiple application servers.."
It's not possible for setting up multiple applicataion servers for Single iWS instance.
Thanks,
Dakshin. -
How to configure multiple smtp servers per domain
Hi,
how do we configure multiple smtp servers per domain/corporate in iplanet messaging server 5.2. i wanted to do this so that i can configure some domains with virus scanning and some domains without antivirus.Hi Martin,
Well we are trying to run a report without exactly specifying the name of reports server anywhere, e.g. in database or in form or anywhere else. Now if I do not supply a reports server name using RUN_REPORT_OBJECT, the error it displays is FRM-41211: Integration Error : SSL failure ... However if I specify the reports server name in the form, the reports run perfect. Also the name of reports server is specified in rwservlet.properties.
Now the question goes as follows:
Can I run my report from Form without specifying the name of the Reports server anywhere at all. This is so because either an in-process reports server should be picked or the one which is entered in rwservlet.properties should be pickec up by default. Please correct us if we are wrong. once we are through with it, we have to move to Oracle 10gR2 concept of reports server.
Thanks in anticipation,
Ruchi/Saurabh -
How to configure multiple report servers in Oracle 10 G R2?
I want to configure multiple report servers with my application deployed on Oracle 10G R2. Since R2 does not support report server clustering, how can this be achieved without any change in the application?
Currently, the application is running with single report server.Hi Martin,
Well we are trying to run a report without exactly specifying the name of reports server anywhere, e.g. in database or in form or anywhere else. Now if I do not supply a reports server name using RUN_REPORT_OBJECT, the error it displays is FRM-41211: Integration Error : SSL failure ... However if I specify the reports server name in the form, the reports run perfect. Also the name of reports server is specified in rwservlet.properties.
Now the question goes as follows:
Can I run my report from Form without specifying the name of the Reports server anywhere at all. This is so because either an in-process reports server should be picked or the one which is entered in rwservlet.properties should be pickec up by default. Please correct us if we are wrong. once we are through with it, we have to move to Oracle 10gR2 concept of reports server.
Thanks in anticipation,
Ruchi/Saurabh -
Multiple LDAP servers on single System
hi,
Would like to know if its a good idea to have multiple LDAP servers running on a single System (Hardware) ..
100,000 user base
We would like to run the old and new LDAP databases on the same server till we phase out the old LDAP database after migrating all applications..
System:
2 x V880 4CPU 8GB RAM --multi-master configuration
4 x V420R 4CPU 8GB RAM -- read only replicasShouldnt be an issue - thats not a particularly large user base and thats some heft y HW. Keep in mind though that they will be on different ports so any software you migrate may eventually need tweaking to the default port when the new takes over.
-
Multiple Database Servers Question
Hi,
Please forgive this ignorant question, but can someone tell
me how one would go about using multiple database servers?
Just as there comes a time where one would need more than
one web server and would need to use a load balancing
solution, what happens when one would need more than one
Database Server?
How does one go about implementing that solution?
Is there some way to have two database servers carrying the
same information with some kind of load balancing solution
in front of it(?) or does one place some tables on one
Database
server, and other tables on the other database server?
(I have no clue as to how things would work.)
Thanks in advance,
JoeMicrosoft SQL allows for clustering of SQL databases, so for
instance two servers connected to a fileshare and a virtual address
shared across the two physical boxes. Database connections are made
to the virtual addres which will then be handled by the active
node. Becuase a database is ultimately a file(s) on a disk it can
only be attached to one node at a time so you end up with an
active/inactive cluster.
Maybe you are looking for
-
How do I disable the master canvas window in photoshop cc?
I like to work in Photoshop in the old style with floating windows and palettes above my desktop and files appearing in their own window and not as tabs. I have turned off the new interface in Photoshop CC, but I still get a large "Master Window" app
-
Hi, I have a structure of arrays as follows. The Structure is session.cart my arrays are session.cart.foodname[ ] session.cart.comments[ ] session.cart.name[ ] session.cart.price[ ] All of these arrays correspond to each other, so session.cart.name[1
-
Hi, We have 5 Data providers. Merging on Plant Id, Vendor Id, Company Code, Doc Id, Line item id, Material Group Id, Material Id Output on the report Vendor_Id, Vendor_Name, Plant_Id,Plant_Name, Comp_Id, Comp_Name, Order Date, Rec Date I am getting m
-
Hi I believe, when we reun F.05 we give posting date and reversal date. We also tick in create posting and reversal posting check boxes. Once done, when we execute F.05 , system should post valuation difference and then reverse the same on the revers
-
How to set Font in JEditorPane
i have problem set Font in JEditorPane.please help how to set Font in JEditorPane. My Code, JEditorPane view = new JEditorPane(); view.setEditable(false); view.setContentType("text/html"); JScrollPane scroll = new JScrollPane(view); scroll.setMinimum