CSS 11150 - "Keepalive type http" doesn't work.
I've two webservers, A and B, sharing the same webdata on a NetApp filer. A CSS 11150 (5.033) have a content rule, C, with a VIP registred in internet DNS.
I've added A and B to C. When using default "Keep alive type (ICMP)" on services the site is fully functional. When I disable the site on webserver A, clients attached to this server get errors and are not redirected to the B webserver. This is because the CSS doesn't check the for "Keepalive type http".
The CSS thinks that A is online because it is answering for ping. This solution is not good so I tried to change the "Keepalive type" to http. This is better when something is wrong with one of the load-balanced webservers, but when activating "Keepalive type http" the CSS marks A and B down and site is offline.
Is something wrong with my configuration???
service lbws1.kov
ip address xx.xx.193.25
protocol tcp
port 80
active
service lbws2.kov
ip address xx.xx.193.27
port 80
protocol tcp
active
owner KOV
content D
protocol tcp
add service lbws1.kov
add service lbws2.kov
balance aca
port 80
advanced-balance sticky-srcip-dstport
vip address xx.xx.193.245
active
content C
add service lbws1.kov
add service lbws2.kov
protocol tcp
port 80
balance aca
advanced-balance sticky-srcip-dstport
vip address xx.xx.193.28
active
By default the CSS will attempt to read http:///index.html
It looks like that may not exist. Try to access the index page yourself from each of the services.
Similar Messages
-
Odd scenario where type inference doesn't work
I've come across an odd scenario where type inference doesn't work and instead I'm greeted with a message:
incompatible types
found : java.lang.Object
required: java.util.Set
Here's the scenario (built with JDK6, javac):
public class GenericTest {
public static void test() {
Set testList = GenericTest.method1(new Class[] { ArrayList.class });
public static <I> I method1(Class<List>[] params) {
return null;
}Yet when I remove the type information from the method1 params, the class builds.
public class GenericTest {
public static void test() {
Set testList = GenericTest.method1(new Class[] { ArrayList.class });
public static <I> I method1(Class[] params) {
return null;
}Why would removing the type information from the parameter have any effect whatsoever on the return type?ilmaestro wrote:
Though casting the parameter as you mentioned resolves the error (because it eliminates the generic), it still doesn't explain why changes to the parameter effect an error message having to do with the return type.It is due the call to the method with the "erased" type Class[] (not a Class<?>[], for example) and a return type resolution. Unchecked conversion (from the raw type to the parametrized type) is applied to the method argument and the return type of the method is determined as an erasure of the declared return type (JLS 3rd edition, [Method Result and Throws Types|http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#15.12.2.6], first bullet, second sub-bullet). Erasure of the return type is a java.lang.Object, which is incompatible with the java.util.Set.
In the second example, method parameter is already a raw type, and unchecked conversion is not required. The return type of the method is I and is correctly inferred to the java.util.Set.
If the method is called with a non-raw type, then return types are inferred correclty. For example, following code compiles fine.
public class GenericTest {
public static void test() {
Set testList = GenericTest.method1((Class<List>[]) (new Class[] { ArrayList.class }));
public static <I> I method1(Class<List>[] params) {
return null;
}This example is not "correct" due to the cast to Class<List>[], because such array can't contain Class<ArrayList> as an element (Class<ArrayList> is not a child of Class<List>). And this makes definition Class<List>[] almost useless, because such array should contain only List.class values. -
All,
Sorry below was originally posted in another OTN forum ( XMLType setNull(nnn, Types.NULL) doesn't work in a ps.batchUpdate() ) and I feel that it maybe more relevant here, so if you have already read it... my apologies:
A little background: Java version 1.5.0.08 on Solaris 10 with Oracle 10g R2. The XMLDB is using the Object Relational setup with a large XSD being shredded, the schema in question has three XMLType columns two of which are nullable, but all reference the same XSD. Everything i reference below will be in Java code that compiles(all of the time) and runs (most of time depending on which code is implemented). To my knowledge no patches were applied to the DB server when it suddenly stopped working.
Until recently the setNull (using java.sql.Types.NULL for the data type) was working in a batch update (ps.updateBatch()) . Now we get the following stack trace:
java.lang.NullPointerException
at oracle.jdbc.driver.T4CTTIoac.init(T4CTTIoac.java:354)
at oracle.jdbc.driver.T4C8Oall.initBindsDefinition(T4C8Oall.java:1217)
at oracle.jdbc.driver.T4C8Oall.marshal(T4C8Oall.java:372)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:202)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10620)
Interestingly enough we can execute the same code but only changing the executeBatch to be ps.executeUpdate(). I know that executeBatch() works as we have other tables being inserted into using XMLTypes with no problem, however none of the columns are nullable. I'm not sure if this is a configuration issue that has been introduced while trying to increase/tweak insert performance (on the DB server), or if something else altogether. Does anyone have any insight into this?
Regards,
StefanDoes something like this help
while (resultSet.next())
xml = (XMLType) resultSet.getObject(1);
Reader reader = new InputStreamReader(xml.getInputStream());
FileOutputStream fos = new FileOutputStream("c:\\temp\\output.xml");
Writer writer = new OutputStreamWriter(fos);
int n;
char[] buffer = new char[CLOB.MAX_CHUNK_SIZE];
while (-1 != (n = reader.read(buffer)))
writer.write(buffer,0,n);
writer.flush();
fos.close();
xml.close();
resultSet.close();
statement.close();
getConnection().close();
-
Http tunneling (t3 over http) doesn't work!! (examples too)
Hi,
I'm trying to get http tunneling (t3 connection over http protocol) to work. I
ran some examples included with Weblogic that try establishing that connection
(PingTest, HelloApplet, SimpleT3Client), as well as my own test program, and they
all give an error similar to this :
Couldn't get a reference to server. Exception :
javax.naming.CommunicationException. Root exception is java.net.ConnectException:
No server found at HTTP://<IP>:<port>
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:161) at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:200)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java,
Compiled Code) at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:148)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:123)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671) at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242) at javax.naming.InitialContext.init(InitialContext.java:218)
at javax.naming.InitialContext.<init>(InitialContext.java:194)
(I replaced the actual Ip and port with <IP> and <port>).
Now, the server is started and working at that ip and port - it services web http
requests correctly, etc. Regular T3 connection (not over http) also works with
it.
Does anyone know the reason for this problem and/or how to fix it?
Thanks, Leonid PortnoyIt appears that one has to use the "Java Plugin" for this mode to work. The
question is does the version of plugin need to be "in sync" with the JVM
version on the server. ?.
/rk
"Adomas Svirskas" <[email protected]> wrote in message
news:[email protected]...
>
It seems that the solution is to have these two lines in the
properties file:
weblogic.httpd.enable=true
weblogic.httpd.tunnelingenabled=true
Now it works.
Thanks,
Adomas
"Adomas Svirskas" <[email protected]> wrote:
Hi Leonid,
Have you found a solution for this? I have these problems too.
Thanks,
Adomas
"Leonid Portnoy" <[email protected]> wrote:
Hi,
I'm trying to get http tunneling (t3 connection over http protocol)to
work. I
ran some examples included with Weblogic that try establishing thatconnection
(PingTest, HelloApplet, SimpleT3Client), as well as my own test program,
and they
all give an error similar to this :
Couldn't get a reference to server. Exception :
javax.naming.CommunicationException. Root exception is
java.net.ConnectException:
No server found at HTTP://<IP>:<port>
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:161) atweblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:200)
atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
textFactoryDelegate.java,
Compiled Code) atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
textFactoryDelegate.java:148)
atweblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
ory.java:123)
atjavax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242)
at javax.naming.InitialContext.init(InitialContext.java:218)
at javax.naming.InitialContext.<init>(InitialContext.java:194)
(I replaced the actual Ip and port with <IP> and <port>).
Now, the server is started and working at that ip and port - it services
web http
requests correctly, etc. Regular T3 connection (not over http) alsoworks
with
it.
Does anyone know the reason for this problem and/or how to fix it?
Thanks, Leonid Portnoy -
Firefox 3.6.3.
Https is not working (only recently) in a couple of sites including:
https://www.google.com
https://www.microsoft.com
All the certificates provided where unable to verify the owner:
"This web site does not supply ownership information"
"Your connection is partially encrypted"
When i checked the error console, this came up
"www.google.com Potentially vulnerable to CVE-2009-2005"
CVE-2009-2005 has something to do with Man-in-the-Middle.
Please help thanks.
== URL of affected sites ==
https://www.google.com, https://www.microsoft.comThose error messages are all different:
On Microsoft sites, they serve some content over HTTP (which is a security no-no) so you get that warning. You should contact their webmasters. Often on large pages, sites will only encrypt the sensitive stuff and not encrypt stuff like images to reduce server load. It's technically a bad security practice.
The google.com message is a issue with the way the server handles SSL renegotiation. It's not a big deal but we provide the warning anyway.
There's nothing actually wrong with either security certificate perse. -
All,
A little background: Java version 1.5.0.08 on Solaris 10 with Oracle 10g R2. The XMLDB is using the Object Relational setup with a large XSD being shredded, the schema in question has three XMLType columns two of which are nullable, but all reference the same XSD. Everything i reference below will be in Java code that compiles(all of the time) and runs (most of time depending on which code is implemented). To my knowledge no patches were applied to the DB server when it suddenly stopped working.
Until recently the setNull (using java.sql.Types.NULL for the data type) was working in a batch update (ps.updateBatch()) . Now we get the following stack trace:
java.lang.NullPointerException
at oracle.jdbc.driver.T4CTTIoac.init(T4CTTIoac.java:354)
at oracle.jdbc.driver.T4C8Oall.initBindsDefinition(T4C8Oall.java:1217)
at oracle.jdbc.driver.T4C8Oall.marshal(T4C8Oall.java:372)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:202)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10620)
Interestingly enough we can execute the same code but only changing the executeBatch to be ps.executeUpdate(). I know that executeBatch() works as we have other tables being inserted into using XMLTypes with no problem, however none of the columns are nullable. I'm not sure if this is a configuration issue that has been introduced while trying to increase/tweak insert performance (on the DB server), or if something else altogether. Does anyone have any insight into this?
Regards,
StefanDoes something like this help
while (resultSet.next())
xml = (XMLType) resultSet.getObject(1);
Reader reader = new InputStreamReader(xml.getInputStream());
FileOutputStream fos = new FileOutputStream("c:\\temp\\output.xml");
Writer writer = new OutputStreamWriter(fos);
int n;
char[] buffer = new char[CLOB.MAX_CHUNK_SIZE];
while (-1 != (n = reader.read(buffer)))
writer.write(buffer,0,n);
writer.flush();
fos.close();
xml.close();
resultSet.close();
statement.close();
getConnection().close();
-
Window Type Character doesn't work
When I open Illustrator CS6 and go to Window > Type > Character the Character box doesn't pop up.
When I try the Ctrl + T shortcut nothing happens and the Checkmark that is normally next to "Character is not there"
I called support and they said there was a solution but they wouldn't tell me what it was without paying them $39.
Does anyone have an idea how to fix this?Hi Alan,
Give it a try by clearing the Illustrator preferences at:
PC : <startupdrive>\Users\<username>\AppData\Roaming\Adobe\Adobe Illustrator CS6 Settings\en_US
Mac: <startupdrive>/Users/<username>/Library/Preferences/Adobe Illustrator CS6 Settings/en_US
Let me know if it gets solved!
Thanks,
Nikita -
LIBRARY LINK IN THE JSP TYPE PAGE DOESN'T WORK
Hi Gurus
I have loaded my jsp file as jsp type page. The jsp uses oracle's sqltaglib in
it. When I try to
open that page, it looks for the sqltaglib.tld
I have tried to add the .tld as an item and used the url of that item in the
code. it didn't work.
I am not sure how to tackle this. Can I get some help on this.
Thanks in Advance.See here: If sharing options and Markup are missing after you install OS X Yosemite
This resolved the issue for me.
Rick -
How to configure Sorry server for HTTPS (443) port. Sorry server works fine with HTTP, But not with 443
In the following config if server1 and server2 are down, the HTTP requests goes to the Sorry Server, but for HTTPS nothing is displayed. I am running the sorry server on port 81
Please suggest
!************************** SERVICE **************************
service prisorry
ip address 10.100.11.11
keepalive type http
keepalive port 81
port 81
active
service secsorry
ip address 10.100.11.12
keepalive port 81
keepalive type http
port 81
active
service server1
ip address 10.100.11.11
keepalive type http
keepalive port 80
active
service server2
ip address 10.100.11.12
keepalive type http
keepalive port 80
active
!*************************** OWNER ***************************
owner Loadbalancing
content L4Rule1
protocol tcp
add service server2
add service server1
port 80
url "/*"
vip address 10.100.11.4
advanced-balance sticky-srcip-dstport
primarySorryServer prisorry
secondarySorryServer secsorry
active
content L4Rule2
protocol tcp
add service server2
port 443
add service server1
vip address 10.100.11.4
advanced-balance sticky-srcip-dstport
primarySorryServer prisorry
secondarySorryServer secsorry
application ssl
active
content L4Rule3
add service server2
protocol tcp
port 1443
add service server1
vip address 10.100.11.4
advanced-balance sticky-srcip-dstport
primarySorryServer prisorry
secondarySorryServer secsorry
active
ThanksI just deployed a couple 11050's the other day so my experience is limited, but I'd guess your problem is that, when using the Primary Sorry Server, you end up with clients sending HTTPS requests to an HTTP port. Having HTTPS requests redirected to HTTP ports is one thing because the client then makes an HTTP request to that port, but the way you have it above, it appears to me that the client will be talking HTTPS to port 81 on the Sorry Server, which is listening for HTTP.
-
CSS 11800 healthcheck different HTTP version
For our 2 CSS switches running redundant ifc's, (1 active, other standby) we notice that the HTTP version, when performing a healthcheck, is different.
When uses a css HTTP version 1.0 or 1.1 to do a healthcheck?
Could there be a parameter to use always only 1 version.
Thanks,
WimWim,
normally the CSS uses 1.1 but it will first start by sending 1.0 and then switch to 1.1
You can force 1.0 with the command 'keepalive type http non-persistent'
There are also a bug that was fixed for a problem of version.
CSCed85319 - CSS incorrectly bumping 1.1 keepalive to 1.0
You should verify that you have the fix.
Regards,
Gilles. -
SetNull() doesn't work?
The code
cs.setNull(i, Types.NULL);
doesn't work with the latest 9.2.0.5 JDBC driver. It throws a
java.sql.SQLException: Ungültiger Spaltentyp
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at oracle.jdbc.driver.OracleStatement.get_internal_type(OracleStatement.java:6411)
at oracle.jdbc.driver.OraclePreparedStatement.setNull(OraclePreparedStatement.java:1358)
at weblogic.jdbc.wrapper.PreparedStatement.setNull(PreparedStatement.java:294)
rughly translated: "Invalid column type". As my methodis generic and just checks if an object is null, I don't know the type of the object if it's null. So, the type Types.NULL should work:
cs.setNull(i, Types.NULL);
but it doesn't. Is this still a bug in the 9.x driver?Hi Hilpert,
Using "Types.NULL" never worked for me. I always supply the (data) type of the relevant column. So if the column has a NUMBER data type (for example), you need to do this:
cs.setNull(i, Types.NUMERIC);My (generic) "executeQuery()" method takes three parameters:
1. the SQL statement
2. the parameter values
3. the parameter data types
So if one of the parameter values is null, I can safely invoke the "setNull()" method, since I have the correct data type.
Good Luck,
Avi. -
Is it possible to use SSL keepalives with a uri string? The config guide seems to say just SSL Hellos, but I would like confirmation.
Today we have this:
<b>service WWW-Test
keepalive type http
keepalive uri "http://XXX.XXX.197.28/efs/servlet/efs/whoami.jsp"
ip address XXX.XXX.197.28</b>
But would like something like this:
<b>service WWW-Test
keepalive type ssl
keepalive uri "https://XXX.XXX.197.28/efs/servlet/efs/whoami.jsp"
ip address XXX.XXX.197.28 </b>
Thanks!http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v8.20/command/reference/CmdSrvC.html#wp1139992
This keepalive only sends a client HELLO and expect a server HELLO.
No data is actually encrypted or sent.
So, wto answer your question, no you can't specify a URI.
You could with the ACE module.
Gilles. -
Https service doesn't works through CSS
I have 2 CSS 11501, and they work fine.
The only problem that has is that it doesn't work one of the content HTTPS.
This is the configuration that I have:
service server54
ip address 172.16.10.46
keepalive port 443
keepalive type tcp
active
service server55
ip address 172.16.10.146
keepalive port 443
keepalive type tcp
owner https
content web
vip address 10.102.1.28
add service server54
port 443
protocol tcp
application ssl
advanced-balance ssl
add service server55
active
group web
vip address 10.102.1.28
add service server52
add service server53
add service server54
add service server55
active
I've left only one of the services active. In the CSS I see the requests but no package comes to the server.
The http service has the same addresses and does not have any problem.
What can happen?Hello,
Did you check that the service is alive? (CSS# show service summary)
Did you check that the CSS is showing service hits for that content rule? (CSS# show summary) when you are doing requests?
If the users are the ones that are opening the connections, please change the group configuration:
group web
vip address 10.102.1.28
add destination service server52
add destination service server53
add destination service server54
add destination service server55
active
After trying all above, if you keep having the problem, the best way to know what is happening is get simultaneous captures, in the switch(s) where the CSS is directly connected, and you will see the CSS receiving the traffic, and forwarding the traffic to the backend servers.
You will confirm or at least you will see if the CSS is not the problem.
- Rodrigo. -
HTTP Connection KeepAlive doesn't work!
Hello,<br>
<br>
why the KeepAlive-Feature (reusing of TCP-connections, described at http://java.sun.com/j2se/1.5.0/docs/guide/net/http-keepalive.html) doesn't work in the following example? I'm using J2SE 1.4...
<br>
<br>
<br>import java.net.HttpURLConnection;
<br>import java.net.URL;
<br>
<br>public class Test {
<br>
<br> public static void main(String[] args) {
<br> try {
<br> for (int i=0; i<5; i++) {
<br> URL url = new URL("http://www.sun.com/");
<br> HttpURLConnection conn = (HttpURLConnection) url.openConnection();
<br> conn.setRequestMethod("GET");
<br> conn.connect();
<br> conn.getContent();
<br> conn.disconnect();
<br> }
<br> } catch (Exception e) {
<br> System.err.println("Exception: "+e.getMessage());
<br> }
<br> }
<br>
<br>}
<br>
<br>
<br>
I've checked with Ethereal (http://www.ethereal.com), that 5 different TCP-connections are used, when this example runs.
<br>
Where is my mistake??
<br>
Does KeepAlive works with MIDP 1.0?
<br>
<br>
Slavikmay be conn.disconnect(); is closing the underlaying connection.
Also try putting "Connection: keep-alive" header to the request -
Css navigation doesn't work in IE
I used the directions on this site,
http://htmldog.com/articles/suckerfish/dropdowns/,
to help me create navigation using css that would be compatible
with IE However it doesn't seem to work, when I load it in IE I get
"errors on page" and the drop down menu doesn't work. It seems to
work fine in firefox. Here's the page
http://whatcom-mrc.wsu.edu/mrc_base.htm
Is this a problem with my css or the javascript. Any help
would be appreciated.Been there, done that burnt the T-shirt.
Although the suckerfish drop-downs look really good I got
into the same sort
of mess that you did. Found this newsgroup, took their advice
and now use
the menus at www.projectseven.com. Free to use their
tutorials or
reasonably-priced ready-made.
Jo
"karrimac" <[email protected]> wrote in
message
news:e2beer$k58$[email protected]..
>I used the directions on this site,
>
http://htmldog.com/articles/suckerfish/dropdowns/,
to help me create
> navigation
> using css that would be compatible with IE However it
doesn't seem to
> work,
> when I load it in IE I get "errors on page" and the drop
down menu doesn't
> work. It seems to work fine in firefox. Here's the page
>
http://whatcom-mrc.wsu.edu/mrc_base.htm
>
> Is this a problem with my css or the javascript. Any
help would be
> appreciated.
>
Maybe you are looking for
-
How come my videos are no longer in my playlists after downloading ios6 to my iphone 4s and ipod touch?
-
Handle double click for alv_tree?
hej out there, as you may remember I'm doing some updates to UIs. Somehow it should be possible to make alv_tree handle double_click events, shouldn't it? I don't know how to go on. I found some methods but they don't work properly (or as expected).
-
Cropping the top of photos off
Hi, Lightroom is cropping the top of my photos off. I'm new at this still and I don't know how to fix it. The photo looks fine in Preview, so I'm at a loss. What did I do, and how can I fix this?
-
Why can't I 'lock' the network settings?
why can't I 'lock' the network settings?
-
I created a Free Trial Azure subscription. Then due to country/region issues I had to add another subscription and migrate my data using Azure support. In the new subscription's AD, I had configured and added my Custom Domain by verifying with TXT re