WLS 6.1 SP2 proxy server timeout
We are using WLS 6.1 SP2 server as a proxy server. When accessing a
page that has a long running process, the server times out in 5
minutes and throws an internal server error on the browser. Is there a
way to prevent this from happening or increase the timeout period?
We are using WLS 6.1 SP2 server as a proxy server. When accessing a
page that has a long running process, the server times out in 5
minutes and throws an internal server error on the browser. Is there a
way to prevent this from happening or increase the timeout period?
Similar Messages
-
Wls 7.0 sp2 proxy plugin issue with iplanet6.x and wls 6.1 sp3 app server
Hi,
I've a setup with iplanet 6.x webserver using the wls 7.0 sp2 proxy plugin to
route requests to the clustered app server instances (2 of them) that are in wls
6.1 sp3.
The issue is, I'm noticing that the session is not sticky and is getting routed
onto the other app server instance. The error that I see in the wlproxy.log is
as follows:
*******Exception type [PROTOCOL_ERROR] raised
at line 654 of URL.cpp
Thu Nov 13 11:30:08 2003 failure on sendRequest() w/ recycled connection
to Instance1:7001, numfailures=1
Thu Nov 13 11:30:08 2003 Marking Instance1:7001 as bad
Thu Nov 13 11:30:08 2003 got exception in sendRequest phase:
PROTOCOL_ERROR [line 654 of URL.cpp]: unexpected EOF
reading HTTP status at line 1010
Thu Nov 13 11:30:08 2003 Failing over after sendRequest exception
Thu Nov 13 11:30:08 2003 attempt #1 out of a max of 5
Has anyone seen this issue? Can anyone explain why this issue is occuring.?
Thanks.Did you find a solution for this problem?
I have somthing very similar going on where I am currently working.
Thanks!
Andy.
"Simple Guy" <[email protected]> wrote:
>
Hi,
I've a setup with iplanet 6.x webserver using the wls 7.0 sp2 proxy plugin
to
route requests to the clustered app server instances (2 of them) that
are in wls
6.1 sp3.
The issue is, I'm noticing that the session is not sticky and is getting
routed
onto the other app server instance. The error that I see in the wlproxy.log
is
as follows:
*******Exception type [PROTOCOL_ERROR] raised
at line 654 of URL.cpp
Thu Nov 13 11:30:08 2003 failure on sendRequest() w/ recycled connection
to Instance1:7001, numfailures=1
Thu Nov 13 11:30:08 2003 Marking Instance1:7001 as bad
Thu Nov 13 11:30:08 2003 got exception in sendRequest phase:
PROTOCOL_ERROR [line 654 of URL.cpp]: unexpected EOF
reading HTTP status at line 1010
Thu Nov 13 11:30:08 2003 Failing over after sendRequest exception
Thu Nov 13 11:30:08 2003 attempt #1 out of a max of 5
Has anyone seen this issue? Can anyone explain why this issue is occuring.?
Thanks. -
Proxy Server / http redirect problem
I am trying to use a WLS instance as a proxy server for another WLS instance.
I have configured the weblogic.properties file as follows:
weblogic.httpd.register.proxy=weblogic.t3.srvr.HttpProxyServlet
weblogic.httpd.initArgs.proxy=redirectURL=http://url:port
weblogic.httpd.defaultServlet=proxy
However, I try to serve the page, I get a 404 error.
The odd thing is though, if I submit the URL without the page name, I am redirected to show the index listing of the remote server!
Am I missing something?Hi Winnie Chow!
I have an article that may contain some helpful troubleshooting steps for you regarding this issue:
iOS: Troubleshooting Wi-Fi networks and connections
http://support.apple.com/kb/TS1398
Thanks for using the Apple Support Communities. Have a good one!
-Braden -
HTTP1.1 support in Proxy Server?
Hi, the iPlanet 3.6 SP2 proxy server always responds/forwards requests in HTTP 1.0. Our application server strongly recommends HTTP 1.1 for reverse proxy servers.
Thanks for any help!
NateI am running SP5 but I've got the same problem above:
"I have an HTTPS web site published via Reverse proxy that only works if clients disable HTTP 1.1.
Specifically, a POST fails."
In the proxy log, each POST action create two POST request log entries in HTTP/1.1
There is no such problem in it is in HTTP/1.0 -
Hi!
We need to implement authentication using our own methods, and the authentication
information is provided to the web service implementation in a basic authentication
header. The problem is, that the servlet
weblogic.webservice.server.servlet.WebServiceServlet, which handles web services
in
wls 7.0.sp2, always attempts to perform authentication, if the header is present.
Is there any way to circumvent this, because we want to implement authentication
on our own?
I already know two workarounds:
The best would of course be to implement a custom security realm for our own
authentication system. This is not an option, implementing an own security
realm is overkill for this specific web service.
The other way would be to route the requests by way of a custom servlet, which
would
remove the basic authentication header, and put the authentication info in custom
headers, such as x-auth: <user:password>, or smthng similar, and after successful
authentication, make a call to bea's servlet weblogic.webservice.server.servlet.WebServiceServlet.
But still, I'd like to know if there is any way to tell bea's servlet to ignore
the basic
authentication header?
Oh yeah, by the way, this is URGENT, as always. (really!! ;)
Toni NykanenCurrently there is no option to turn off security check.
I think you can use a servlet filter mapped to the URL
of your service, instead of a proxy servlet?
Regards,
-manoj
http://manojc.com
"Toni Nykanen" <[email protected]> wrote in message
news:3ef1577b$[email protected]..
>
Hi!
We need to implement authentication using our own methods, and theauthentication
information is provided to the web service implementation in a basicauthentication
header. The problem is, that the servlet
weblogic.webservice.server.servlet.WebServiceServlet, which handles webservices
in
wls 7.0.sp2, always attempts to perform authentication, if the header ispresent.
Is there any way to circumvent this, because we want to implementauthentication
on our own?
I already know two workarounds:
The best would of course be to implement a custom security realm for ourown
authentication system. This is not an option, implementing an own security
realm is overkill for this specific web service.
The other way would be to route the requests by way of a custom servlet,which
would
remove the basic authentication header, and put the authentication info incustom
headers, such as x-auth: <user:password>, or smthng similar, and aftersuccessful
authentication, make a call to bea's servletweblogic.webservice.server.servlet.WebServiceServlet.
>
But still, I'd like to know if there is any way to tell bea's servlet toignore
the basic
authentication header?
Oh yeah, by the way, this is URGENT, as always. (really!! ;)
Toni Nykanen -
Jdk131 of wls 6.1 sp2 on Solaris 7 doesnt support -server option?
Greetings
I installed, wls 6.1 sp2 on Solaris 7.
But it seems the built in jdk131 that installed doesnt support
-server option.
i checked the jdk131/jre/bin folder, but i dont see any client, server folders...how
is this possible?
how to correct this?Yes i tried that, but it says, incorrect option, JVM could not be created.
any was i cd identify is the install binary was correct?
like any indication in jdk131/jre/bin folder?
Kumar Allamraju <[email protected]> wrote:
i think it does.
Have you tried to start with java -server weblogic.Server?
Are you getting any errors?
Kumar
vinay wrote:
Greetings
I installed, wls 6.1 sp2 on Solaris 7.
But it seems the built in jdk131 that installed doesnt support
-server option.
i checked the jdk131/jre/bin folder, but i dont see any client, serverfolders...how
is this possible?
how to correct this? -
Timeout to Web Services using via Proxy Server
Hello,
I'm wondering if anybody can help.
I have a couple of preset web services on the coldfusion web server. As far as I know these have never worked since it's original installation back in June 2011.
Whenever I attempt to refresh one of the web services using CF administrator I am seeing the following error message:
Unable to refresh webservice.
Unable to read WSDL from URL: https://www.****.cfc?wsdl.
Error: java.net.ConnectException: Connection timed out: connect.
The server does not have a direct connection to the internet as it is connected to the internal company network which uses a proxy server for internet connectivity.
I am suspecting that CF is attempting to connect to the internet without the knowledge of the proxy server.
I have looked high and low but unable to locate anything in CF admin to add a proxy server.
I'm hoping somebody can reply with a simple solution to fix the above.
Many Thanks,
AndyAndy, two things.
First, the problem could be proxy-related, but I notice also that the URL has https. And in that you’re getting a connection timeout, it could be that the destination server (at that URL in the web service call) is set to only allow SSL calls (or perhaps even calls to that specific site, directory, or file) from a specific IP address. Try visiting that URL from a browser running ON THAT SERVER (where CF is installed). It does not good to test the URL from your local development workstation. That would not be the same IP address from which the request would come when run via CF.
Second, as for specification of proxy info, here’s something to consider: the CF Admin interface showing web services is populated by a call from within CFML code (using CFINVOKE/cfobject/createobject) invoking that web service. If you can find the code that is really calling the web service, you should find that you can specify the proxy info there. See:
http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_i_10.html (cfinvoke)
http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_m-o_14.html (cfobject)
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions-pt0_23.html (createobject)
Note that with createobject, you do it using a new (for CF8) argstruct. See the docs there for more, or my blog entry:
http://www.carehart.org/blog/client/index.cfm/2007/9/5/cf8_hiddengem_createobject_argstruc t
Let us know if any of this helps.
/charlie -
Using WLS 8.1 as a Reverse Proxy Server as well as using SSL
Hi,
We have WebLogic server 8.1 installed and set-up as a Reverse Proxy Server. We would like it to serve pages over a secure internet connection (one way).
I have imported the SSL certificate which I received from Thawte. I have also configured the identity and Trust keystores for the server.
However, I am still unable to access the server over a secure connection.
I have logged into WebLogic Console and unticked Listen Port Enabled Port: 80; and ticked SSL Port Enabled and changed it to listen on Port:80? However, all this will mean is all our url's will need to preceded by 'https' I would prefer us to be able to still use 'http' which when requested redirects to 'https'
Not having been on any WebLogic courses, I am new to this and would appreciate any help or step by step guides people have.
Many Thanks,
KarlHi Raphael Chasse,
The LoadBalancer plugin can be used as a reverse proxy.
you could configure the loadbalancer.xml as below, where requests for app1 get redirected to server1 and app2 to server2.
<loadbalancer>
<cluster name="cluster1">
<instance disable-timeout-in-minutes="30" enabled="true" listeners="http://server1 name="i1"/>
<web-module context-root="/app1" disable-timeout-in-minutes="30" enabled="true"/>
<health-checker interval-in-seconds="1" timeout-in-seconds="60" url="/"/>
</cluster>
<cluster name="cluster2">
<instance disable-timeout-in-minutes="30" enabled="true" listeners="http://server2 name="i2"/>
<web-module context-root="/app2" disable-timeout-in-minutes="30" enabled="true"/>
<health-checker interval-in-seconds="1" timeout-in-seconds="60" url="/"/>
</cluster>
</loadbalancer>
This link talks more about the loadbalancer.xml file format http://docs.sun.com/source/817-5445/aglbdtd.html.
cheers
Vishwas -
Hi there,
It seems that there is a serious problem with any version of Weblogic when you
have to pass through a local proxy server to connect a remote website.
Whenever I am trying to run the jsp program below either with Weblogic 7.0 SP2
or even with Weblogic 8.1, I get the following exception :
An error occured: Tried all: '1' addresses, but could not connect over HTTP to
server: 'www.sun.com', port: '80'
When I run the same program outside Weblogic, it works fine. Other people have
already reported the same problem either in this newsgroup or on Internet forums,
and up to now, the problem is not fixed yet.
In fact, Weblogic seems to block when it performs the connect() method to the
proxy, my jsp program hangs a few minutes before returning the error message shown
above.
If anyboby can tells me how this problem can be solved (or maybe via a workaround)
do not hesitate to keep me informed, thanks in advance.
Please find below my code :
public class ProxyDownload extends HttpServlet
private static final String CONTENT_TYPE = "text/html";
//Initialize global variables
public void init() throws ServletException
public String bufferedReaderToString (BufferedReader br) throws IOException
String xml = "";
String line = null;
while ( (line = br.readLine()) != null)
xml += line;
return xml;
//Process the HTTP Get request
public void doGet(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException
response.setContentType(CONTENT_TYPE);
PrintWriter out = response.getWriter();
out.println("<html>");
out.println("<head><title>Proxy Download</title></head>");
out.println("<body bgcolor=\"#c0c0c0\">");
try{
// Set proxy stuff
System.getProperties().put( "http.proxySet", "true");
System.getProperties().put( "http.proxyHost", "ip_address" );
System.getProperties().put( "http.proxyPort", "port");
String password = "user:pass";
sun.misc.BASE64Encoder objEncoder = new sun.misc.BASE64Encoder();
String code = objEncoder.encode(password.getBytes());
// Find the file name to save
String file = null;
// Open a connection
URL url = new URL("http://www.sun.com");
URLConnection connection = url.openConnection();
// Set up the connection so it knows you are sending
// proxy user information
connection.setRequestProperty( "Proxy-Authorization", "basic " + code);
connection.connect();
// Set up the connection so you can do read and writes
connection.setDoInput( true );
BufferedReader inBuff = new BufferedReader(new InputStreamReader(connection.getInputStream()));
String str = bufferedReaderToString(inBuff);
out.println("<BR>" + str);
catch(Exception e){
out.println("<BR> An error occured: " + e.getMessage());
out.println("</body></html>");
//Process the HTTP Post request
public void doPost(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException
doGet(request, response);
//Clean up resources
public void destroy()Hello,
The way to set the HTTP connection using a proxy server changed (from
using the system property
weblogic.webservice.transport.http.proxy.host/port)[1] in WLS 7.x to the
standard JDK 1.4 system properties [2] in WLS 8.1.
I would recommend opening a dialog with our outstanding support team [3]
to resolve this issue.
Thanks,
Bruce
[1]
http://edocs.bea.com/wls/docs70/webserv/client.html#1058615
[2]
http://java.sun.com/j2se/1.4/docs/guide/net/properties.html
[3]
http://support.bea.com
[email protected]
Yves Hardy wrote:
>
Hi there,
It seems that there is a serious problem with any version of Weblogic when you
have to pass through a local proxy server to connect a remote website.
Whenever I am trying to run the jsp program below either with Weblogic 7.0 SP2
or even with Weblogic 8.1, I get the following exception :
An error occured: Tried all: '1' addresses, but could not connect over HTTP to
server: 'www.sun.com', port: '80'
When I run the same program outside Weblogic, it works fine. Other people have
already reported the same problem either in this newsgroup or on Internet forums,
and up to now, the problem is not fixed yet.
In fact, Weblogic seems to block when it performs the connect() method to the
proxy, my jsp program hangs a few minutes before returning the error message shown
above.
If anyboby can tells me how this problem can be solved (or maybe via a workaround)
do not hesitate to keep me informed, thanks in advance.
Please find below my code :
public class ProxyDownload extends HttpServlet
private static final String CONTENT_TYPE = "text/html";
//Initialize global variables
public void init() throws ServletException
public String bufferedReaderToString (BufferedReader br) throws IOException
String xml = "";
String line = null;
while ( (line = br.readLine()) != null)
xml += line;
return xml;
//Process the HTTP Get request
public void doGet(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException
response.setContentType(CONTENT_TYPE);
PrintWriter out = response.getWriter();
out.println("<html>");
out.println("<head><title>Proxy Download</title></head>");
out.println("<body bgcolor=\"#c0c0c0\">");
try{
// Set proxy stuff
System.getProperties().put( "http.proxySet", "true");
System.getProperties().put( "http.proxyHost", "ip_address" );
System.getProperties().put( "http.proxyPort", "port");
String password = "user:pass";
sun.misc.BASE64Encoder objEncoder = new sun.misc.BASE64Encoder();
String code = objEncoder.encode(password.getBytes());
// Find the file name to save
String file = null;
// Open a connection
URL url = new URL("http://www.sun.com");
URLConnection connection = url.openConnection();
// Set up the connection so it knows you are sending
// proxy user information
connection.setRequestProperty( "Proxy-Authorization", "basic " + code);
connection.connect();
// Set up the connection so you can do read and writes
connection.setDoInput( true );
BufferedReader inBuff = new BufferedReader(new InputStreamReader(connection.getInputStream()));
String str = bufferedReaderToString(inBuff);
out.println("<BR>" + str);
catch(Exception e){
out.println("<BR> An error occured: " + e.getMessage());
out.println("</body></html>");
//Process the HTTP Post request
public void doPost(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException
doGet(request, response);
//Clean up resources
public void destroy() -
WLS 6.1 SP2 Cluster fails
Hi All.
we have migrated to WLS 6.1 SP2, now we have a serious problem with the cluster
wihch die after several minutes. Our architecture is several front-ends servers
(concretely servelts, without cluster) make request to back-end (starteles EJB,
DB access). This back-end is compuond by four WLS instances running into 2 Sun
Solaris Machines. The system reports the nexts messages in the weblogic.log.
* backendPlatformA instance
for queue: 'default'> <> <> <000274> <Removing "ClientContext - id:
'#|platformA|129.1027407260379', bound: 'false', dead: 'false'" because
of soft disconnect timeout.>
####<Jul 23, 2002 10:02:24 AM GMT> <Info> <DGCserver> <wls00>
<platformA> <ExecuteThread: '117' for queue: 'default'> <system> <>
<000000> <Tried to renew lease on lost reference: '257'>
* backendPlatformB instance
for queue: 'default'> <> <> <000274> <Removing "ClientContext - id:
'#|platformB|118.1027407423933', bound: 'false', dead: 'false'" because
of soft disconnect timeout.>
####<Jul 23, 2002 10:03:52 AM GMT> <Info> <WebLogicServer> <wls00>
<platformB> <ExecuteThread: '114' for queue: 'default'> <> <> <000274>
<Removing "ClientContext - id: '#|platformB|119.1027407423933', bound:
'false', dead: 'false'" because of soft disconnect timeout.>
* ioboxPlatfromC instance
for queue: 'default'> <> <> <000274> <Removing "ClientContext - id:
'#|platformC|139.1027407286958', bound: 'false', dead: 'false'" because
of soft disconnect timeout.>
####<Jul 23, 2002 10:04:24 AM GMT> <Info> <DGCserver> <wls01>
<platformC> <ExecuteThread: '119' for queue: 'default'> <system> <>
<000000> <Tried to renew lease on lost reference: '257'>
* Instancia ioboxPlatfromD
for queue: 'default'> <> <> <000274> <Removing "ClientContext - id:
'#|platformD|58.1027415900956', bound: 'false', dead: 'false'" because
of soft disconnect timeout.>
####<Jul 23, 2002 10:05:54 AM GMT> <Info> <WebLogicServer> <wls01>
<platformD> <ExecuteThread: '107' for queue: 'default'> <> <> <000274>
<Removing "ClientContext - id: '#|platformD|59.1027415900956', bound:
'false', dead: 'false'" because of soft disconnect timeout.>
####<Jul 23, 2002 10:06:22 AM GMT> <Info> <Cluster> <wls01> <platformD>
<ExecuteThread: '107' for queue: 'default'> <> <> <000113> <Removing
platformA
jvmid:7148145370197743783S:10.2.1.1:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformA
from cluster view due to PeerGone>
####<Jul 23, 2002 10:06:22 AM GMT> <Info> <Cluster> <wls01> <platformD>
<ExecuteThread: '116' for queue: 'default'> <> <> <000129> <Removing
7148145370197743783S:10.2.1.1:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformA
to the cluster>
####<Jul 23, 2002 10:06:22 AM GMT> <Error> <T3Services> <wls01>
<platformD> <ExecuteThread: '102' fo
r queue: 'default'> <> <5577:04d703f24ce814ba> <000000> < Parametros
anaydidos>
####<Jul 23, 2002 10:06:33 AM GMT> <Error> <ConnectionManager> <wls01>
<platformD> <ExecuteThread: '119' for queue: 'default'> <system> <>
<000000> <Closing: 'weblogic.rjvm.t3.T3JVMConnection@63718b' because of:
'Server received a message over an uninitialized connection: 'JVMMessage
from: 'null' to:
'1615014391094985181S:10.2.1.4:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformD'
cmd: 'CMD_REQUEST', QOS: '101', responseId: '1', invokableId: '454',
flags: 'JVMIDs Not Sent, TX Context Not Sent', abbrev offset: '38'''
Any idea?
Thanks for all
Hi,
We are using Weblogic 6.1 SP2, NT 4.0 and java 1.3.1. We have also encountered
the same error message. We have 1 admin and 2 managed servers. We have tried connecting
in using weblogic.admin to check the idle thread and we are able to connect. However,
when we connect from IIS to Weblogic, the application failed to response. We have
tried connect direct to weblogic but it does not response as well. We have seen
that the idle thread left has been reduced but there is no activites from the
weblogic console. The thread is used but not releasing and the console is not
moving. When we shutdown one of the managed server, the application is able to
process as seen from the console.
We have turned off native io and this behavior is not seen. When we turn on native
io, it appear. So we can conclude that it is related to native io.
Is there any solution or intermediate patch without upgrading to the later SP
Thanks
Rajesh Mirchandani <[email protected]> wrote:
>We are shipping the Jdriver for oracle 816 with SP3. Use the driver
>from .\bin\oci816_8
>
>Manuel wrote:
>
>> Thanks Rajesh,
>>
>> we have another problem since our database is Oracle 8.1.6 and SP3
>jDriver doesn´t
>> support this version.
>>
>> Best Regards
>>
>> Rajesh Mirchandani <[email protected]> wrote:
>> >Upgrade to SP3, if possible.
>> >
>> >Manuel wrote:
>> >
>> >> Hi All.
>> >>
>> >> we have migrated to WLS 6.1 SP2, now we have a serious problem with
>> >the cluster
>> >> wihch die after several minutes. Our architecture is several front-ends
>> >servers
>> >> (concretely servelts, without cluster) make request to back-end
>(starteles
>> >EJB,
>> >> DB access). This back-end is compuond by four WLS instances running
>> >into 2 Sun
>> >> Solaris Machines. The system reports the nexts messages in the weblogic.log.
>> >>
>> >> * backendPlatformA instance
>> >>
>> >> for queue: 'default'> <> <> <000274> <Removing "ClientContext -
>id:
>> >> '#|platformA|129.1027407260379', bound: 'false', dead: 'false'"
>because
>> >> of soft disconnect timeout.>
>> >> ####<Jul 23, 2002 10:02:24 AM GMT> <Info> <DGCserver> <wls00>
>> >> <platformA> <ExecuteThread: '117' for queue: 'default'> <system>
><>
>> >> <000000> <Tried to renew lease on lost reference: '257'>
>> >>
>> >> * backendPlatformB instance
>> >>
>> >> for queue: 'default'> <> <> <000274> <Removing "ClientContext -
>id:
>> >> '#|platformB|118.1027407423933', bound: 'false', dead: 'false'"
>because
>> >> of soft disconnect timeout.>
>> >> ####<Jul 23, 2002 10:03:52 AM GMT> <Info> <WebLogicServer> <wls00>
>> >> <platformB> <ExecuteThread: '114' for queue: 'default'> <> <> <000274>
>> >> <Removing "ClientContext - id: '#|platformB|119.1027407423933',
>bound:
>> >> 'false', dead: 'false'" because of soft disconnect timeout.>
>> >>
>> >> * ioboxPlatfromC instance
>> >>
>> >> for queue: 'default'> <> <> <000274> <Removing "ClientContext -
>id:
>> >> '#|platformC|139.1027407286958', bound: 'false', dead: 'false'"
>because
>> >> of soft disconnect timeout.>
>> >> ####<Jul 23, 2002 10:04:24 AM GMT> <Info> <DGCserver> <wls01>
>> >> <platformC> <ExecuteThread: '119' for queue: 'default'> <system>
><>
>> >> <000000> <Tried to renew lease on lost reference: '257'>
>> >>
>> >> * Instancia ioboxPlatfromD
>> >>
>> >> for queue: 'default'> <> <> <000274> <Removing "ClientContext -
>id:
>> >> '#|platformD|58.1027415900956', bound: 'false', dead: 'false'" because
>> >> of soft disconnect timeout.>
>> >> ####<Jul 23, 2002 10:05:54 AM GMT> <Info> <WebLogicServer> <wls01>
>> >> <platformD> <ExecuteThread: '107' for queue: 'default'> <> <> <000274>
>> >> <Removing "ClientContext - id: '#|platformD|59.1027415900956', bound:
>> >> 'false', dead: 'false'" because of soft disconnect timeout.>
>> >> ####<Jul 23, 2002 10:06:22 AM GMT> <Info> <Cluster> <wls01> <platformD>
>> >> <ExecuteThread: '107' for queue: 'default'> <> <> <000113> <Removing
>> >> platformA
>> >> jvmid:7148145370197743783S:10.2.1.1:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformA
>> >> from cluster view due to PeerGone>
>> >> ####<Jul 23, 2002 10:06:22 AM GMT> <Info> <Cluster> <wls01> <platformD>
>> >> <ExecuteThread: '116' for queue: 'default'> <> <> <000129> <Removing
>> >> 7148145370197743783S:10.2.1.1:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformA
>> >> to the cluster>
>> >> ####<Jul 23, 2002 10:06:22 AM GMT> <Error> <T3Services> <wls01>
>> >> <platformD> <ExecuteThread: '102' fo
>> >> r queue: 'default'> <> <5577:04d703f24ce814ba> <000000> < Parametros
>> >> anaydidos>
>> >> ####<Jul 23, 2002 10:06:33 AM GMT> <Error> <ConnectionManager> <wls01>
>> >> <platformD> <ExecuteThread: '119' for queue: 'default'> <system>
><>
>> >> <000000> <Closing: 'weblogic.rjvm.t3.T3JVMConnection@63718b' because
>> >of:
>> >> 'Server received a message over an uninitialized connection: 'JVMMessage
>> >> Wrom: HJEXXIMQZU
>> >> '1615014391094985181S:10.2.1.4:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformD'
>> >> cmd: 'CMD_REQUEST', QOS: '101', responseId: '1', invokableId: '454',
>> >> flags: 'JVMIDs Not Sent, TX Context Not Sent', abbrev offset: '38'''
>> >>
>> >> Any idea?
>> >>
>> >> Thanks for all
>> >
>> >--
>> >Rajesh Mirchandani
>> >Developer Relations Engineer
>> >BEA Support
>> >
>> >
>
>--
>Rajesh Mirchandani
>Developer Relations Engineer
>BEA Support
>
>
-
Re: WLS 6.0 SP2 hangs due to many sockets in CLOSE_WAIT state
We have the same issue with HPUX and Weblogic 5.1 SP8. In fact, we get
errors on the ListenThread because occasionally it (the ListenThread)
says too many files open. Running a monitoring tool - the process
typically only has ~130 file handles open at any time. When we start
getting a lot of sockets "stuck" in close_wait state the number of open
files increases dramatically occasionally freezing the server until (I
believe) the OS steps in and cleans house.
For those curious, our box is configured to have a max of 1024 files
open. Please don't even suggest that we raise that parameter because it
is already high enough.
We are tempted to use apache as the webserver and proxy request through
apache to weblogic. Apache doesn't suffer from this issue AFAIK.
-Tim
sogal nagavardhan wrote:
Hi !!
We are using weblogic 6.0 SP2 with jdk1.3.1 running on windows 2000 platform.
Currently we are using running some stablity tests and noticing that there are
lot of sockets in close_wait state and handle count keeps going up and eventually
crashes the weblogic. We also tried reducing the TcpTimedWaitDelay as suggested
in this newsgroup, and we are still noticing this problem. Does any body have
the same issue?. is this a know problem with weblogic http server?. and finally
any fixes or workarounds to this issue.
Thanks
Sogal.NBEA acknowledges this problem in 6.0 SP2 with iPlanet plug-in.
Solution that they recommend is to use 6.1 SP2 plug-in (they claim
full compatibility). Also, you may have to set KeepAliveEnabled to
false in obj.conf (the problem is in wrong pooling).
Hope it helps,
Bala
Robert Patrick <[email protected]> wrote in message news:<[email protected]>...
There are a couple of issues.
1.) You need to tune the machine running the web server and the machine
running WebLogic to make sure that it is configured appropriately for a
high-volume HTTP server. See
http://e-docs.bea.com/wls/platforms/sun/index.html for details on tuning
Solaris.
2.) I believe that there is a bug in the plugins in 6.0 where it is not
properly closing sockets. Try using the plugin from WLS 6.1 SP2...
Hope this helps,
Robert
Kevin Phillips wrote:
Tim Funk <[email protected]> wrote:
I am experiencing similar problems with WL 6.0 SP2 on Solaris 2.6.
We are already proxying all HTTP traffic through a
cluster of apache servers. Unfortuantely, the apache-WL
bridge seems to work so efficiently that our servers are
still flooded with open sockets in the TCP_CLOSE_WAIT state.
It seems to be bound by WebLogic's capacity to respond to
the requests in a speedy enough fashion.
Anybody have any suggestions?
Kevin
We have the same issue with HPUX and Weblogic 5.1 SP8. In fact, we get
errors on the ListenThread because occasionally it (the ListenThread)
says too many files open. Running a monitoring tool - the process
typically only has ~130 file handles open at any time. When we start
getting a lot of sockets "stuck" in close_wait state the number of open
files increases dramatically occasionally freezing the server until (I
believe) the OS steps in and cleans house.
For those curious, our box is configured to have a max of 1024 files
open. Please don't even suggest that we raise that parameter because
it
is already high enough.
We are tempted to use apache as the webserver and proxy request through
apache to weblogic. Apache doesn't suffer from this issue AFAIK.
-Tim
sogal nagavardhan wrote:
Hi !!
We are using weblogic 6.0 SP2 with jdk1.3.1 running on windows 2000
platform.
Currently we are using running some stablity tests and noticing that
there are
lot of sockets in close_wait state and handle count keeps going up
and eventually
crashes the weblogic. We also tried reducing the TcpTimedWaitDelay
as suggested
in this newsgroup, and we are still noticing this problem. Does any
body have
the same issue?. is this a know problem with weblogic http server?.
and finally
any fixes or workarounds to this issue.
Thanks
Sogal.N -
Problem starting wls 6.1 sp2
Hi
I have developed an appliaction using wls 6.1 sp2 on w2k, which I want to migrate
to Solaris 8.
I have modified my windows statup scripts to Solaris, but I get a strange error
when starting weblogic. I am starting the server as root and my weblogic.policy
file is modified according to my installation.
Has anybody encountered anything similar?
<Feb 20, 2002 12:08:09 PM CET> <Critical> <Management> <Unable to deploy an internal
management web application - <all-internal-apps>. Managed servers may be unable
to start.
java.io.FileNotFoundException: ./config/Certifikat/.wlstaging/wl_management_internal2.war
(No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
at java.io.FileOutputStream.<init>(FileOutputStream.java:132)
at weblogic.management.mbeans.custom.ApplicationManager.stageGlobalWarFile(ApplicationManager.java:398)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:334)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:152)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:606)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:590)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:350)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:444)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
at $Proxy35.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:479)
at weblogic.management.Admin.startApplicationManager(Admin.java:1138)
at weblogic.management.Admin.finish(Admin.java:561)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:501)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:198)
at weblogic.Server.main(Server.java:35)
>
My startup script is as follows
bash-2.03$ more startWeblogic.sh
#!/usr/bin/bash
# Set user-defined variables.
export PROJECT=postdanmark
export ENVIRONMENT=test
export RELEASE_DIR=/opt/projects/$PROJECT/$ENVIRONMENT/lib
export JAVA_HOME=/opt/jdk/j2sdk1_3_1_02
export WEBLOGIC_HOME=/opt/bea/weblogic/6.1
export PATH=$WEBLOGIC_HOME/bin:$JAVA_HOME/jre/bin:$JAVA_HOME/bin:.:$PATH
export CLASSPATH=$RELEASE_DIR/internal/util/1.0/Util.jar
export CLASSPATH=$CLASSPATH:$WEBLOGIC_HOME/lib/weblogic.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/sun/jaxb/1.0ea/lib/jaxb-rt-1.0-ea.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/postdanmark/1.0/PostDanmarkPC.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/EntrustCAEjb/1.0/EntrustCAEjb.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/websupport/1.0/WebSupport.jar
export CLASSPATH=$CLASSPATH:/opt/projects/$PROJECT/$ENVIRONMENT/batch/properties
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/corba/interfaces/entrustca/1.2/EntrustCA.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/mysql/jdbc/2.0.4/mm.mysql-2.0.4-bin.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entbase.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entuser.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entp7.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entmisc.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entcertlist.jar
echo off
echo *********************************************
echo * Starting weblogic application server *
echo *********************************************
# Set WLS_PW equal to your system password for no password prompt server startup.
export WLS_PW=certifikat
# Set Production Mode. When set to true, the server starts up in production mode.
When set to false, the server starts up i
n development mode. The default is false.
export STARTMODE=false
export WEBLOGIC_OPTIONS='-Dweblogic.Domain=Certifikat'
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.Name=PostDanmarkServer"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.management.discover=false"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dbea.home=/opt/bea/weblogic/6.1"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Duser.home=/opt/projects/$PROJECTS/$ENVIRONMENT/weblogic"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Duser.dir=/opt/projects/$PROJECTS/$ENVIRONMENT/weblogic"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.management.password=$WLS_PW"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.ProductionModeEnabled=$STARTMODE"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.security.policy=$WEBLOGIC_HOME/lib/weblogic.policy"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.RootDirectory=/opt/projects/$PROJECT/$ENVIRONMENT/weblogic"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.util.logging.config.file=/opt/projects/$PROJECT/$ENVIRONMENT/batch/proper
ties/logging.properties"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.library.path=$WEBLOGIC_HOME/lib/solaris:$WEBLOGIC_HOME/lib/solaris/oci816
_8"
export JAVA_OPTIONS='-hotspot -ms64m -mx64m -classpath '
export JAVA_OPTIONS=${JAVA_OPTIONS}$CLASSPATH
echo on
echo "using JAVA OPTIONS : "$JAVA_OPTIONS"
echo "using WEBLOGIC OPTIONS : "$WEBLOGIC_OPTIONS"
"$JAVA_HOME/bin/java" $JAVA_OPTIONS $WEBLOGIC_OPTIONS weblogic.ServerHi.
Try placing the wl_management_internal2.war file from the mydomain/.wlstaging directory into the directory your server is expecting.
Regards,
Michael
Peter Buus wrote:
Hi
I have developed an appliaction using wls 6.1 sp2 on w2k, which I want to migrate
to Solaris 8.
I have modified my windows statup scripts to Solaris, but I get a strange error
when starting weblogic. I am starting the server as root and my weblogic.policy
file is modified according to my installation.
Has anybody encountered anything similar?
<Feb 20, 2002 12:08:09 PM CET> <Critical> <Management> <Unable to deploy an internal
management web application - <all-internal-apps>. Managed servers may be unable
to start.
java.io.FileNotFoundException: ./config/Certifikat/.wlstaging/wl_management_internal2.war
(No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
at java.io.FileOutputStream.<init>(FileOutputStream.java:132)
at weblogic.management.mbeans.custom.ApplicationManager.stageGlobalWarFile(ApplicationManager.java:398)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:334)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:152)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:606)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:590)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:350)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:444)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
at $Proxy35.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:479)
at weblogic.management.Admin.startApplicationManager(Admin.java:1138)
at weblogic.management.Admin.finish(Admin.java:561)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:501)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:198)
at weblogic.Server.main(Server.java:35)
>
My startup script is as follows
bash-2.03$ more startWeblogic.sh
#!/usr/bin/bash
# Set user-defined variables.
export PROJECT=postdanmark
export ENVIRONMENT=test
export RELEASE_DIR=/opt/projects/$PROJECT/$ENVIRONMENT/lib
export JAVA_HOME=/opt/jdk/j2sdk1_3_1_02
export WEBLOGIC_HOME=/opt/bea/weblogic/6.1
export PATH=$WEBLOGIC_HOME/bin:$JAVA_HOME/jre/bin:$JAVA_HOME/bin:.:$PATH
export CLASSPATH=$RELEASE_DIR/internal/util/1.0/Util.jar
export CLASSPATH=$CLASSPATH:$WEBLOGIC_HOME/lib/weblogic.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/sun/jaxb/1.0ea/lib/jaxb-rt-1.0-ea.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/postdanmark/1.0/PostDanmarkPC.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/EntrustCAEjb/1.0/EntrustCAEjb.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/websupport/1.0/WebSupport.jar
export CLASSPATH=$CLASSPATH:/opt/projects/$PROJECT/$ENVIRONMENT/batch/properties
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/corba/interfaces/entrustca/1.2/EntrustCA.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/mysql/jdbc/2.0.4/mm.mysql-2.0.4-bin.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entbase.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entuser.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entp7.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entmisc.jar
export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entcertlist.jar
echo off
echo *********************************************
echo * Starting weblogic application server *
echo *********************************************
# Set WLS_PW equal to your system password for no password prompt server startup.
export WLS_PW=certifikat
# Set Production Mode. When set to true, the server starts up in production mode.
When set to false, the server starts up i
n development mode. The default is false.
export STARTMODE=false
export WEBLOGIC_OPTIONS='-Dweblogic.Domain=Certifikat'
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.Name=PostDanmarkServer"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.management.discover=false"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dbea.home=/opt/bea/weblogic/6.1"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Duser.home=/opt/projects/$PROJECTS/$ENVIRONMENT/weblogic"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Duser.dir=/opt/projects/$PROJECTS/$ENVIRONMENT/weblogic"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.management.password=$WLS_PW"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.ProductionModeEnabled=$STARTMODE"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.security.policy=$WEBLOGIC_HOME/lib/weblogic.policy"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.RootDirectory=/opt/projects/$PROJECT/$ENVIRONMENT/weblogic"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.util.logging.config.file=/opt/projects/$PROJECT/$ENVIRONMENT/batch/proper
ties/logging.properties"
export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.library.path=$WEBLOGIC_HOME/lib/solaris:$WEBLOGIC_HOME/lib/solaris/oci816
_8"
export JAVA_OPTIONS='-hotspot -ms64m -mx64m -classpath '
export JAVA_OPTIONS=${JAVA_OPTIONS}$CLASSPATH
echo on
echo "using JAVA OPTIONS : "$JAVA_OPTIONS"
echo "using WEBLOGIC OPTIONS : "$WEBLOGIC_OPTIONS"
"$JAVA_HOME/bin/java" $JAVA_OPTIONS $WEBLOGIC_OPTIONS weblogic.Server--
Michael Young
Developer Relations Engineer
BEA Support -
How to properly terminate SSL at Sun Proxy Server?
Hi:
Client is using Sun Proxy Server (4.0.x) as a reverse proxy to a host with Sun Application Server Enterprise Edition with Access Manager / Portal / Identity Manager deployed as J2EE apps.
For access through proxy with http, it is properly seen by AM as an http URL. But for access through proxy with https, it is seen by AM as an https URL.
My suspicion is that the Proxy Server is not properly configured to terminate SSL at the proxy. However, I do not have enough experience with Sun Proxy Server to confirm. Below is the configuration file.
Any ideas? My novice theory is that the multiple mapping rules are causing some sort of conflict. Perhaps the connect rule for port 443? All of the examples I have been able to find for mapping rules are from http to http or a local file, NOT https to http and vice-versa. Are these rules correct?
Any help is greatly appreciated!
Thanks,
Gerald
--- (start: obj.conf) --
# You can edit this file, but comments and formatting changes
# might be lost when the admin server makes changes.
Init fn="flex-init" access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->vars.p2c-cl% %Req->vars.remote-status% %Req->vars.r2p-cl% %Req->headers.content-length% %Req->vars.p2r-cl% %Req->vars.c2p-hl% %Req->vars.p2c-hl% %Req->vars.p2r-hl% %Req->vars.r2p-hl% %Req->vars.xfer-time%"
Init fn="init-proxy" timeout="300" timeout-2="15"
<Object name="default">
AuthTrans fn="match-browser" browser=".*MSIE.*" ssl-unclean-shutdown="true"
NameTrans fn="reverse-map" from="http://pcmdv2.client.net:5111/idm" to="https://offlinebusiness.client.net:25002/idm" rewrite-location="true" rewrite-content-location="true"
NameTrans fn="reverse-map" from="http://localhost:35007/deas" to="https://offlinebusiness.client.net:25002/deas" rewrite-location="true" rewrite-content-location="true"
NameTrans fn="reverse-map" from="http://pcmdv2.client.net:5111" to="https://offlinebusiness.client.net:25002" rewrite-location="true" rewrite-content-location="true"
NameTrans fn="map" from="https://offlinebusiness.client.net:25002" to="http://pcmdv2.client.net:5111" rewrite-host="true"
NameTrans fn="map" from="https://offlinebusiness.client.net:25002/deas" to="http://localhost:35007/deas" rewrite-host="true"
NameTrans fn="map" from="https://offlinebusiness.client.net:25002/idm" to="http://pcmdv2.client.net:5111/idm" rewrite-host="true"
NameTrans fn="map" from="/deas" to="http://localhost:35007/deas" rewrite-host="true"
NameTrans fn="map" from="/idm" to="http://pcmdv2.client.net:5111/idm" rewrite-host="true"
NameTrans fn="map" from="/" to="http://pcmdv2.client.net:5111" rewrite-host="true"
PathCheck fn="url-check"
ObjectType fn="forward-ip" hdr="Proxy-ip"
Service fn="deny-service"
AddLog fn="flex-log" name="access"
</Object>
<Object name="file">
PathCheck fn="unix-uri-clean"
PathCheck fn="find-index" index-names="index.html"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
Service fn="send-file"
</Object>
<Object ppath="ftp://.*">
ObjectType fn="cache-enable" query-maxlen="10" log-report="off"
ObjectType fn="cache-setting" lm-factor="0.10" max-uncheck="7200"
Service fn="proxy-retrieve"
</Object>
<Object ppath="http://.*">
ObjectType fn="cache-enable" query-maxlen="10" log-report="off"
ObjectType fn="cache-setting" lm-factor="0.10" max-uncheck="7200"
Service fn="proxy-retrieve" method="*"
</Object>
<Object ppath="https://.*">
Service fn="proxy-retrieve"
</Object>
<Object ppath="gopher://.*">
ObjectType fn="cache-enable" query-maxlen="10" log-report="off"
ObjectType fn="cache-setting" lm-factor="0.10" max-uncheck="7200"
Service fn="proxy-retrieve"
</Object>
<Object ppath="connect://.*:443">
Service fn="connect" method="CONNECT"
</Object>
<Object ppath="connect://.*:563">
Service fn="connect" method="CONNECT"
</Object>
--- (end: obj.conf) --Isn't there two overlapping rules? Perhaps that confuses the SWPS?
NameTrans fn="map" from="https://offlinebusiness.client.net:25002" to="http://pcmdv2.client.net:5111" rewrite-host="true"
NameTrans fn="reverse-map" from="http://pcmdv2.client.net:5111" to="https://offlinebusiness.client.net:25002" rewrite-location="true" rewrite-content-location="true"
and
NameTrans fn="map" from="https://offlinebusiness.client.net:25002/idm" to="http://pcmdv2.client.net:5111/idm" rewrite-host="true"
NameTrans fn="reverse-map" from="http://pcmdv2.client.net:5111/idm" to="https://offlinebusiness.client.net:25002/idm" rewrite-location="true" rewrite-content-location="true"
covers the same URLs -
Wls 8.1 sp2: weblogic.jspc complains about struts-html tags
Hi,
I am trying to compile jsps with weblogic.jspc, which use struts' html tags. However,
the compilation fails with the following message:
[java] Translation of /views/viewPageBody.jsp failed: (line 3): Error in using
tag library uri='/tags/struts-html' prefix='html': The Tag class 'org.apache.struts.taglib.html.BaseTag'
has no setter method corresponding to TLD declared attribute 'server', (JSP 1.1
spec, 5.4.1)
I opened the BaseTag class from the struts jar and found the setter exists for
the attribute 'server' of html tld. So does the property 'server'. The property
'server' is a string and the parameter in the setter is a string. I read about
the jspc errors in wls 8.1 about the setter parameter being of different type
than the property. However, that is not the case here. I tried using both Sun's
and BEA's jdk. None of them help. Btw, there is another attribute mentioned in
the html tld, which is 'target'. The compiler doesn't complain yet about this.:(
Also, I happened to compile other apps which have struts logic tags.
My environment:
OS: Win2k sp3
WLS: 8.1 sp2
JDK: Sun's 1.4.2 sp4 / Bea's 1.4.1 sp5 (tried both)
Ant: 1.5.3 (I had an issue earlier with ant until I found that Bea officially
without any mention supports only ant 1.5.3.)
I would appreciate any help in this regard.
Thanks,
Abbas
What version of Struts are you trying to use?
Are you certain you're not encountering a different instance of that class in
an unexpected location in your classpath?
"Abbas" <[email protected]> wrote:
>
>Hi,
>I am trying to compile jsps with weblogic.jspc, which use struts' html
>tags. However,
>the compilation fails with the following message:
>
>[java] Translation of /views/viewPageBody.jsp failed: (line 3): Error
>in using
>tag library uri='/tags/struts-html' prefix='html': The Tag class 'org.apache.struts.taglib.html.BaseTag'
>has no setter method corresponding to TLD declared attribute 'server',
>(JSP 1.1
>spec, 5.4.1)
>
>I opened the BaseTag class from the struts jar and found the setter exists
>for
>the attribute 'server' of html tld. So does the property 'server'. The
>property
>'server' is a string and the parameter in the setter is a string. I read
>about
>the jspc errors in wls 8.1 about the setter parameter being of different
>type
>than the property. However, that is not the case here. I tried using
>both Sun's
>and BEA's jdk. None of them help. Btw, there is another attribute mentioned
>in
>the html tld, which is 'target'. The compiler doesn't complain yet about
>this.:(
>Also, I happened to compile other apps which have struts logic tags.
>
>
>My environment:
>OS: Win2k sp3
>WLS: 8.1 sp2
>JDK: Sun's 1.4.2 sp4 / Bea's 1.4.1 sp5 (tried both)
>Ant: 1.5.3 (I had an issue earlier with ant until I found that Bea officially
>without any mention supports only ant 1.5.3.)
>
>I would appreciate any help in this regard.
>
>Thanks,
>
>Abbas
-
Calling WS from WebLogic server 8.1 that is behind a Proxy server
Hi,
I have a web application deployed on WebLogic server 8.1 sp1. And my server is
behind a http proxy server. Now one of the components in the application makes
a web service call to a service located external to the system, and it always
throws "java.net.UnknownHostException". I have set the Java system properties
http.proxyHost = my proxy server, http.proxySet = true and http.proxyPort = 80
and it still does not help.
If I try to evaluate the web service component as a stand alone client using WebLogic's
webserviceclient.jar, everything works fine. I can't figure what I have to do
to get this component working from within the WebLogic server. Can anybody provide
me with inputs, comments or suggestions.
Naveen.Found solution. Followed Part 2 of the solution as explained in http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_solution&answerpage=solution&page=wlw/S-19283.htm
What surprises me is that this solution to a common problem is hidden and hard
to find. If I am correct, no part of WLS 8.1 documentation suggests this. Rather
the doc says, set the system properties for the standard JDK 1.4 network properties
and it should work fine. If it is actually supposed to work like this, is it a
bug then?
"Naveen Kumar" <[email protected]> wrote:
>
Hi,
I have a web application deployed on WebLogic server 8.1 sp1. And my
server is
behind a http proxy server. Now one of the components in the application
makes
a web service call to a service located external to the system, and it
always
throws "java.net.UnknownHostException". I have set the Java system properties
http.proxyHost = my proxy server, http.proxySet = true and http.proxyPort
= 80
and it still does not help.
If I try to evaluate the web service component as a stand alone client
using WebLogic's
webserviceclient.jar, everything works fine. I can't figure what I have
to do
to get this component working from within the WebLogic server. Can anybody
provide
me with inputs, comments or suggestions.
Naveen.
Maybe you are looking for
-
HT4088 Will numbers open an excel file that is password protected? Xlsx latest ms excel?
Will numbers open an excel file that is password protected? Xlsx latest ms excel?
-
After i press power button, monitor still blank and there are some text "bootmgr missing" "press ctrl+alt+del to restart". I am doing "press ctrl+alt+del" but this is not working. How to fix this problem? Help me please...
-
Adding Custom buttons to ECL Viewer
Hello Everyone, We have a requirement where I need to add a custom button on the Redlining section of the ECL Viewer. Like currenty, SAP provides tools like Drawing a line or Square or Rectangle and also Insert Image kind of functionality when doing
-
what's the best program for print? especially for newsletter, flyers, and catalogs? is FH going to be deprecated? thanks, bryan
-
Problems while creating local service order on client in MAM
I have MAM2.5 on PC. I have created a local notification and synced it. based on that notif , I am trying to create a service order.But after Sync , I get following error in monitor (merep_mon on MI server) under MAM_001: Return code from RFC BAPI Wr