I see in out environment a couple of web services application seemed to show iinstalled state in
the console in the deployments tab although it seems to server the request not sure why is doesnt show active state in the console but is active
Many times when we deploy our applications on the Server … It deploys the application on server but due to some reasons some of it’s components does not gets deployed properly on the Server …. Many times we get some WARNING as well in the Server logs while deploying this kind of applications…so we need to keenly observe the server logs while deploying the applications to see if the WARNING messages help in debugging this kind of issues.
It is always possible that application will respond properly but due to some of it’s components unsuccessful activation it will move to Installed state. So better if you can try JMX or WLST option to findout the actual state of the application…(Admin Console may be incorrect)
http://middlewaremagic.com/weblogic/?p=1473 (WLST application Status Checker)
http://middlewaremagic.com/weblogic/?p=497 (Application State Check through JMX)
NOTE: there are some known issues with WebLogic Portal Server…there the Admin Console shows a Fake “New” or “Installed” state of the applications.
Keep Posting 🙂
please explain what is Semaphore issue in WebServer? and how to occurs and how we can resolve this issue?
Sorry, we are not aware of “Semaphore” Issues of WebServers.
Keep Posting 🙂
We’ve deployed an obiee11g server which works fine. Users currently connect on the address “http://server1:9704/analytics/saw.dll?Dashboard”
What I want to do is create a new weblogic managed server that will answer incoming requests on port 80 & redirect to the url above. i.e I want users to type “http://server1” which will then reqirect to the full url above.
Is there a way to do this?
Following yours & other posts I’ve configured a weblogic proxy servlet (& deployed into a managed server on port 80) but I can only get it to redirect to the “server:port/url pattern”, not the entire url. If I type “http://server1/analytics” it redirects to “http://server1:9704/analytics/saw.dll?Dashboard” so the new server is answering on port 80 & redirecting to port 9704 & the rest of the url string.
I think the simplest way would be to Deploy a Simple Application which has default context root as / On WebLogic Server which you are planning to run on port 80.
Now as soon as users will type the following URL “http://server1” it will invoke the “index.jsp” page of the default Web Application of this WebLogic …. and the following code will be written inside your “index.jsp”:
So the above JSP will automatically redirect all users requests to the URL: http://server1:9704/analytics/saw.dll?Dashboard
You can refer to the following article to know how you can make an Application as a Default Application in WebLogic Server…..
“Configuring a default Application in Weblogic” : http://middlewaremagic.com/weblogic/?p=886
Keep Posting 🙂
Can you please post the code for “index.jsp”?
I need to create “index.jsp” in the root folder of the app that has been deployed, is this correct?
I’ve completed all the other steps you mention, thanks for your help.
I am very sorry…I missed to provide the code of index.jsp … anyway i just now developed a Simple WebApplication “RedirectWebApp” which can be downloaded from the following link:
All you need to do is Just Unzip the “RedirectWebApp.zip” then you will find “RedirectWebApp” directory.
Just deploy “RedirectWebApp” application on your front end WebLogic Server which is running on “http://server1:80”
Now just hit the URL : “http://server1:80” or “http://server1” you will see that the request will be automatically redirected to the URL:
Keep Posting 🙂
As you are not able to download the application so we E-Mailed you the Sample Application.
Keep Posting 🙂
You my friend are a legend, thanks for your help, however, I couldn’t find the RedirectWebApp.html file on that site. I searched for different variants of the file name & found nothing. Can you please re-post the file?
Brilliant, I have it deployed & working, thanks alot for your help on this.
thanks for this access here, to have place to ask questions. I tried to wrote to the forum, but could not.
The question is the following:. i have a 4 node SunCluster Webserver with SunJavaSystem Webserver (aka Iplanet) and a 4 node Weblogic Cluster (bea10) and a plugin.
These clusters are a really critical Banking systems, and have often that the service is really slow, or sometime seems like the webservers going to degraded status (in LOG_ONLY mode). In that case we see in the webserver performance output (.perf), that we have over 1000 connection in connection queue, and a full house by the active sessions (per all node). So the question is, that is there any way to figure out that which component is the weak point of our infrastructure (bea or web)?
For example today we have a good start but after one oldGC at the weblogic node all the webservers load would be variable. And after this the webserver cluster seem like crashed. And sometime later the weblogic cluster also seems like confused. (tried many times, to restart the webserver and weblogic cluster, but the result was the end of the day, users close his sessions.
please try so give me some good starting point, or advise, would be really apreciated 🙂
if yuo have more specific questions, dont hesitate to write me,
many thanks, with best regards,
Hi MW Team,
I’m using Sun Java System Web Server 7.0U8. When ever i access a url(http://abc.def.com/abc%20def/) with some special characters eg:- %20, or with some space in url, the webserver is returning 500 server error instead of 404 error.
If i access the same url (http://abc.def.com/abcdef/) with out special character or space in url, even if the context is not available, i get redirected to 404 page.
I would like to know if i need to add any thing to obj config or any configuration to get 404 error even if i use special characters in the url.
Appreciate your help.
Thank you for the update. I checked the configuration and looks fine. I see the below exception from the weblogic instance log when i access with space in /abo%20ut/index.html. Ideally it should through me 404 error, but it is giving me 500 error. Appreciate your suggestions.
oracle.stellent.wcm.common.LocalizedRuntimeException: oracle.stellent.wcm.server.ServerException: java.net.URISyntaxException: Illegal character in path at index 4: /abo ut/index.html.
oracle.stellent.wcm.common.LocalizedRuntimeException: oracle.stellent.wcm.server.ServerException: java.net.URISyntaxException: Illegal character in path at index 4: /abo ut/index.html
I’m stuck with the following issue:
Bundled application HP QC, which install a client as a browser plugin, fails with wininet timeout 12002 only when IIS Weblogic 10.2 Plugin is used, WL instances run in same Windows x64 machine. Tests with Apache WL 10.0 plugin against those same 10.2 instances works OK. Going directly to the nodes it also works.
Also, it works using IIS Weblogic 10.2 plugin BUT only with a browser from that very same machine.
Obviously, the only difference at HTTP headers is WL-Proxy-Client.
Does this sound familiar for you? should I describe further the issue?
Sorry, I forgot to mention that most of operations work OK. But there’s a file copy operation which might take a couple of minutes to complete.
Hi Rene, thanks a lot for your response.
We did test that scenario as well, and the error persist.
We also sniffed the client network interface and when the error occurs there’re a lot of ACK DUPlicates. Any idea?
hi middleware magic team,
iam getting the below error while reload the apache httpd file.
Reloading httpd:not reloading due to configuration syntax error[failed]
how can i paste a screen shot here? please help me about this issue…
thanks in advance
For our web application we have a hardware load balancer in front of Apache servers which in turn use mod_jk/ajp13 to load balance/proxy dynamic content to Glassfish servers. All of our client-to-Apache commumication happens over 443/SSL. The SSL sessions are stickied at the load balancer using client IP, and at the AJP13 sessions using the JSESSIONID route jvm option, therefore all sessions from end to end should use the same Apache and Glassfish server.
We are at phase (perhaps an out-of-order one) in our development process where we are trying to optimize the load times. When our team got involved, right away we noticed that much of the content is transferred in one-off TCP sessions. During the load time of the main page roughly 50 SSL sessions are built and destroyed in series. We would love to investigate pipelining all this stuff in one or two TCP sessions because we’re losing a lot of time in overhead.
When we decode these SSL sessions we see the server returns in the headers “Connection: Close”. Because of the ajp13 proxy it’s unclear to me what governs whether a pipelined series of GETs will happen (ajp13 between Apache and Glassfish/Tomcat uses its own keepalive rules, and I haven’t been able to learn whether there is some kind of keepalive passthrough setting for the HTTPS leg). Is it in the app code? Is it on the Apache server? It seems like the client should govern this kind of thing, and we have enabled pipelining on our preferred browser (Chrome) for tests. Some insight as to where to look for further configuration/testing would be greatly appreciated.
Thank you very much for your thoughtful comments. I will read the optimization links you provided.
Hello Jay / Rene , you guys are absolutely fantastic . this site has been really of great help to me . keep this great work going .
I have a question how can we upgrade the application from Apache tomcat server to web logic server?
and how can we migrate Apache tomcat server to web logic server(i mean server migration from Apache to web logic).
could you please explain.
Thanks in advance and a ton of thanks for updating this website.
Hi Rene and Jay,
Appreciate your patience in writing to everyone promptly.
I had a question related to wlproxy.log file.
Well this issue is intermittent and I haven’t seen this from quite some time.
wlproxy.log file grows huge and server runs out of memory.
Is there something I have done to my server httpd.conf because of which I am facing this issue. OR is there a way i can tune this.
You must be logged in to post a comment.