Deploying simple HTML page to WLS 10.3.6 fails with HTTP response code: 502
- I created a simple HTML page and want to test deployment to WLS 10.3.6 on Linux. I created WAR file and when using JDev 11.1.1.4.0 to deploy to WebLogic Server, it fails to deploy. Full errors/messages are:
[04:40:56 PM] ---- Deployment started. ----
[04:40:56 PM] Target platform is (Weblogic 10.3).
[04:40:59 PM] Retrieving existing application information
[04:40:59 PM] Running dependency analysis...
[04:40:59 PM] Building...
[04:40:59 PM] Deploying profile...
[04:40:59 PM] Wrote Web Application Module to C:\JDeveloper\mywork\Simpe_HTML\Project1\deploy\SimpleHTML.war
[04:41:01 PM] Deploying Application...
[04:41:01 PM] Weblogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\DOCUME~1\NGOLDR~1.LAT\LOCALS~1\Temp\SimpleHTML.war' for the application 'SimpleHTML' could not be loaded to the server 'http://dupe:7031/bea_wls_deployment_internal/DeploymentService'.
Server returned HTTP response code: 502 for URL: http://dupe:7031/bea_wls_deployment_internal/DeploymentService
[04:41:01 PM] See server logs or server console for more details.
[04:41:01 PM] weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'C:\JDeveloper\mywork\Simpe_HTML\Project1\deploy\SimpleHTML.war' to 't3://dupe:7031'
[04:41:01 PM] #### Deployment incomplete. ####
[04:41:01 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
- The Application Server connection is accessible within JDev. 'dupe' is my server name and it's running RH 5.4
- Any help or suggestions appreciated, although I've already asked Mr. Google without success.
Thanks in advance,
Neville
HTTP response code 502 means temporarily overloaded.
I would say that we have to check the deployment error on the weblogic server logs located at <Domain_Home>\servers\dupe\logs\dupe.log
Check for any errors like OutOfMemory etc OR any deployment failures.
If possible, try accessing the console at http://dupe:7031/console
Check if you are able to successfully deploy your application using the console.
From the error it looks like the "dupe" server might not be healthy. So, the log file would really help here to get clues into the root cause.
Arun
Similar Messages
-
I have a webserver running and I want java to create a dynamic webpage if the user tries to search for a file that does not exist. For example, if the user types in http://abc.com/example.htm and it does not exist, I want Java to create a simple html page dynamically with the file name the user tried searching for. How would I go about doing this?
if u lost a cat, would u put up one poster or many, i
rest my caseWell, you're out-voted. We/they don't like duplicating answers. You could have posted a simple LINK to it rather than duplicating the question. That way, ppl could follow the link to see the master question and all answers if any. Now shove off. -
I have a webserver running and I want java to create a dynamic webpage if the user tries to search for a file that does not exist. For example, if the user types in http://abc.com/example.htm and it does not exist, I want Java to create a simple html page dynamically with the file name the user tried searching for. How would I go about doing this?
I suggest this cross-poster's request be denied for any further assistance. As he also gained an attitude when corrected (flamed) for cross-posting.
-
Hi all,
Here's my dilemma:
I've got this simple html page that I've made with
dreamweaver CS3. On the starting page I want to put a section
called "NEWS", under which there would be essentially a texfield
with the news. Now, I don't want to put the news text in the html
code. Rather, I'd like the code to somehow take this text from a
separate text file which I could edit at will and simply overwrite
on the host server so that changes are seen in browsers.
I don't need a real CMS (besides, CMS is way over my head).
Just this one text field. I've tried with the textfield/text
area/HTML object/etc. in the 'insert' tool but none worked. Can
this be done at all? Appreciate any help.macioo1 wrote:
> Now, I don't want to put the news text in
> the html code. Rather, I'd like the code to somehow take
this text from a
> separate text file which I could edit at will and simply
overwrite on the host
> server so that changes are seen in browsers.
You can do this with a server-side include. The first thing
you need to
do is to find out whether your hosting company has enabled
server-side
includes, or if you have access to a server-side language
such as ASP or
PHP. The way that you create a server-side include is
slightly different
in each type of setup.
When you have found what your remote server supports, someone
can give
you further instructions.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
I have made a very simple HTML page in text editor on my mac. I'm trying to view what the page would look like in firefox, but it just brings up the code, rather than the webpage, even though the extension in the address bar says .html.
Are you opening that file locally or have you uploaded the file to a server on the internet?
Can you post a link if you have uploaded the file? -
Javafx deployment in html page(please help me urgent)
i used the following method to deploy javafx in an html page.
javafx file is:
package hello;
import javafx.scene.*;
import javafx.stage.Stage;
import javafx.scene.text.Text;
import javafx.scene.text.Font;
import javafx.scene.paint.Color;
import javafx.scene.effect.DropShadow;
Stage {
title: "My Applet"
width: 250
height: 80
scene: Scene {
content: Text {
x: 10 y: 30
font: Font {
size: 24 }
fill: Color.BLUE
effect: DropShadow{ offsetX: 3 offsetY: 3}
content: "VAARTA"
I save the file as HelloApplet in a 'hello' named folder in my D:
after that i downloaded from internet html code as
<html>
<head>
<title>Wiki</title>
</head>
<body>
<h1>Wiki</h1>
<script src="dtfx.js"></script>
<script>
javafx(
archive: "HelloApplet.jar",
draggable: true,
width: 150,
height: 100,
code: "hello.HelloApplet",
name: "Wiki"
</script>
</body>
</html>now i typed in DOS prompt as javafxc.exe HelloApplet.fx & i got the class files .
_The main problem which is coming is how to create HelloApplet.jar file which is used in the html page without which the html page is not displaying the javafx script. Please help me urgently i am in the middle of my project & stuck up due to JAVAFX i am using WIndowsXP & javafx-sdk1.0 when i am typing jar command inside hello package it is displaying invalid command.in DOS prompt. If there is any other method to deploy javafx in html page then specify it also.Crossposted: [http://forums.sun.com/thread.jspa?threadID=5323288].
Please don't crosspost without notifying others. It is rude in terms of netiquette. Stick to one topic. -
Simple html service from "/" WLS 10.3.6.0
I am no developer, but need to serve a page "/keepalive.htm" from a number of clustered managed servers (running SAP Business Objects XI3, not that that matters!).
This is on WebLogic 10.3.6.0, not using the Apache front end, but the built in webserver.
Is there a simple way to serve this file, used by our Load Balancers to determine a WL server is up?
Thanks,
JohnHi Nohj,
In WebLogic you can develop a simple web application to display static HTML content.
For example:
1. Create a directory of your choice, this is what I will call the document root.
mkdir /u01/oracle/doc_root
2. Copy the static files to this directory
3. In the document root directory created in step 1 create the directory WEB-INF
mkdir WEB-INF
4. In the WEB-INF directory create a file called web.xml with the following content
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app>
</web-app>
5. Login to the WebLogic console to deploy application
6. Click on Deployments
7. Click on Lock & Edit
8. Click Install and set the path to the directory created above in step 1.
9. Leave default "Install this deployment as an application" and click Next.
10. Select a Managed Server to deploy to and click Next.
11. Accept the defaults and click Finish.
12. Deployment completes successfully, now click the Activate Changes.
13. You should now see the application started in the deployments.
14. You can now access your static content via the following URL : http://localhost:7001/doc_root/helloworld.html
Hope this will help you.
With Best Regards,
Steff -
This simple html page won't render properly in Dreamweaver
I'm using DW 5.5 on a Mac (tried DW4 as well). I have a web page (no attachments here, so I put it at http://dl.dropbox.com/u/23232804/Books.html ) which is simply a list of permanent links to Amazon.com books - I need this for my website. Oddly, I can't load it in DW's preview window to edit it - the top part loads ok but about half-way down the page, it's blank - it's like it gives up on fetching the data from Amazon, so I can't edit it in true WYSIWYG fashion like I can with any other page. What's going on here - how do I fix this?
thanks in advance> Assuming what I see when I go to your link, it's a wonder that DW can display anything there.
> This is not a valid web page - it's a collection of 520 <iframe> tags placed between two <center> tags.
this is not meant to be a stand-alone page - I was going to import this content into a bigger web page. It was created for me by someone who went through and grabbed all these Amazon links. Firefox has no problem displaying the code as-is (and correctly); I would have thought that the DW preview could do at least as well - showing me the images and their associated images even if it's not a valid page in itself. Seamonkey displays (and edits it) just fine as well. It has a <head>, <body>, etc. - what is it missing that DW shouldn't be able to display it? All I want for this is to have a page with a bunch of "tiled" rectangles each representing a book and its link at Amazon.
> DW is not a WYSIWYG editor. There is no such thing as a WYSIWYG HTML authoring system....
I'm not versed enough in the details to understand the distinction you're making, but DW comes pretty close, no? It shows me how the html code will look in a browser, in a side-by-side preview pane. Clearly it doesn't work 100% of the time (as in this case), but it seems to do pretty well usually. In any case, I concede the (no doubt subtle) point - all I want is to be able to see the page and edit it as DW allows me to do for any other page I've used with it.
thank you,
Mike -
WebCache in clustered env gives Blank Page with Http error code 508
Hi All,
I have Oracle webcache in a clustered mode ,which is acting as a loadbalancer for the Oracle Application Server.
The Oracle Application Server is hosting custom j2ee application .
Scenario 1:
Only one Node of WebCache is Up
If i try to access the web Application through Browser, then the page is displayed successfully.
Scenario 2:
Both the WebCache Nodes are up and Running
Problem statement:
If i try to access the web Application through Browser, then it gives me blank page and HttpError Code 508 in background.
The Problem what seems to me is the session persistence problem.
As far as i know,
In a cluster environment, developers must be aware that the HTTP session can run in multiple JVMs. The session attributes should be kept consistent in each JVM. Otherwise, the same input may cause different results when the application runs on different nodes because the user-related data is inconsistent in these two nodes.
The precondition is that all shared attributes must be serialized and deserialized. When you put a Java object into a session and want it shared across all nodes, declare this Java object as a serializable interface
I want to know, is my understanding correct and code is causing the problem and needs to be checked in the source code of application
or there is any configuration missing on WebCache?
I would appriciate any pointers.
Regards
AkTO confirm this, did you try to run anypage that doesnt contain a session object? and see if you can use the pages?
If so work on making your application clusterizable.
Also why dont you try to create VirtualHost and register them into WebCache so it will get this request and attend them
Hope this helps
Greetings. -
Hello,
I'm running ITS Version 6200.1034.9372.7, Build 1093429 WIN32.
We are migrating from an external ITS server to an internal ITS for the BBPSTART Internet Service (SAP SRM 4.00 eBuying). Because many employees have the old URL (external ITS) in their bookmarks, I'd like to replace this Internet Service with a simple HTML page showing a "This page has moved" message and a link to the new service on the internal ITS.
What would be the best approach to achieve this? Completely remove the BBPSTART Internet Service and create a new Flow Logic-Based Application with a simple template?
Also I was wondering the following. The LOGIN template (of the GGPSTART Internet Service) contains "tags" like this one:
`include (~service="bbpglobal", ~name="login.html")`
Where do I find/manage this login.html file?
Thanks in advance!The HTML Template "login.html" is in the templates folder in the bbpglobal service for your SRM ITS instance.
BBPGLOBAL->99->LOGIN.HTML for the Login screen template.
You can modify this to redirect users to your new link
Regards,
Oisin -
Create accessible pdf from html pages dynamically
Hello,
I am trying to create a 508 compliant Pdf from a simple HTML page using the HTML to Pdf feature in Livecycle ES4 server. I was able to configure the service to generate tabbed Pdf, but the created Pdf has multiple accessibility issues.
Some of the issues encountered are: incorrect tab order, some links are not tabbable while others are, link text is being read “Blank”, some text is skipped while tabbing, missing alt text for images, page being rendered in the responsive(mobile) view, etc.
I have tried both the available approaches, of 1) providing a URL to create the PDF, and 2) to send the html document as a zipped file, with same results.
Attached is a sample PDF generated from a simple HTML page I created for demo.
My questions are:
Is it possible to generate 508 compliant (accessible) Pdf documents using Html to Pdf service from Pdf Generator? If yes, which settings might I be missing?
Is there any other service provided by Adobe Livecycle Server that can generate 508 compliant Pdf documents from a 508 compliant HTML page?
Your help is much appreciated.
Thanks,
AnupI created a tool that does just that (only you will need to enter the page numbers as text, it does not work by selecting them):
Acrobat -- Extract Non-Sequential Pages: http://try67.blogspot.com/2011/04/acrobat-extract-non-sequential-pages.html -
Create accessible pdf from html page
Hello,
I am trying to create a 508 compliant Pdf from a simple HTML page using the HTML to Pdf feature in Livecycle ES4 server. I was able to configure the service to generate tabbed Pdf, but the created Pdf has multiple accessibility issues.
Some of the issues encountered are: incorrect tab order, some links are not tabbable while others are, link text is being read “Blank”, some text is skipped while tabbing, missing alt text for images, page being rendered in the responsive(mobile) view, etc.
I have tried both the available approaches, of 1) providing a URL to create the PDF, and 2) to send the html document as a zipped file, with same results.
Attached is a sample PDF generated from a simple HTML page I created for demo.
My questions are:
Is it possible to generate 508 compliant (accessible) Pdf documents using Html to Pdf service from Pdf Generator? If yes, which settings might I be missing?
Is there any other service provided by Adobe Livecycle Server that can generate 508 compliant Pdf documents from a 508 compliant HTML page?
Your help is much appreciated.
Thanks,
AnupI don't think it's possible to do this using a standard JavaScript script in Acrobat, since the newDoc function doesn't work with URLs.
The only option I can think of is to use an external automator that will call the Create PDF From Web Page dialog, paste the address from a file, and after the PDF file is created will continue to the next line.
I might be able to create such a tool for you. If you're interested, contact me by email (click my username for the address) or PM. -
How to get the source code of an HTML page in Text file Through java?
How to get the source code of an HTML page in Text file Through java?
I am coding an application.one module of that application is given below:
The first part of the application is to connect our application to the existing HTML form.
This module would make a connection with the HTML page. The HTML page contains the coding for the Form with various elements. The form may be a simple form with one or two fields or a complex one like the form for registering for a new Bank Account or new email account.
The module will first connect through the HTML page and will fetch the HTML code into a Text File so that the code can be further processed.
Could any body provide coding hint for thatYou're welcome. How about awarding them duke stars?
edit: cheers! -
Image not showing up in HTML page
I am running tomcat and in WEB-INF I have a simple HTML page that has is trying to show an image, but it doesn't show up.
Under WEB-INF I have:
mypage.html
images/logo.png
<html>
<head>
<link REL="SHORTCUT ICON" HREF="images/logo.png">
</head>
<body>
<img src="images/logo.png">Hello World!
</body>
</html>The image does not show up when I try and view it from tomcat (i.e. http://localhost:8080/mypage.html)
But it does show up if I just open up the HTML file with IE or Firefox.
Any ideas what I am missing?The page is invoked via a Servlet Filter. So I have mapped in my web.xml:
<error-page>
<error-code>401</error-code>
<location>foo.html</location>
</error-page>
In my servlet filter I have something like:
HttpServletResponse response = (HttpServletResponse) resp;
response.sendError(HttpServletResponse.SC_UNAUTHORIZED);..i have to check tomorrow when i am with the server again to see what the direct URL is to the image. Theoretically I'd assume:
http://localhost/myapp/images/logo.png
have to double check though -
How to use getContent() method in custom JSP Provider to display a HTML Pag
Hi,
If anybody knows how to use getContent() method to use in custom jsp providers (developed by ourselves) so that it can be used to retrieve a jsp page (a simple html page) ..
I want the code in the provider java file to for the getContent method...
Pls. get back to me asap....if any body has implemented a custom jsp provider...as it's urgent...
I have alreday placed the JSP file in the directory structure /etc/opt/SUNWps/desktop/default/channel_dir..But still the jsp is not being displayed..
Pls get me the getContent() method code to retrive the JSP file..
satyabrataHi,
You don't have to do anything in the custom JSPProvider's getContent method except the call { return super.getContent(request,response); } . If all you want is just to show your jsp, then create a channel from the default JSPProvider, and edit the property contentPage of that channel from samplecontent.jsp to your jsp name, save the changes and login again. You should see your JSP.
Sanjeev.
Maybe you are looking for
-
NullPointerException in resultSet.getString()
Hi. I have a ResultRest with 300,000+ rows that I am processing. After a while it suddenly throws an SQLException caused by a NullPointerException. The values that I am trying to read are not null (for sure), so I think that this might be a problem w
-
Short dump while generating data sources
Hi all, I've created a source system for MSSQL database. Now, when I'm trying to Generate the Data Source from SQL into BW using 'Select database tables' option in the Source system and execute it for a table (SAMTEST) in the SQL database, the progra
-
Creative Cloud single-app membership for InDesign (one-year)
If i purchase the "Creative Cloud single-app membership for InDesign (one-year)" package, will i be able to create unlimited ipad apps using the application or only one?
-
Hi all! I'm currently trying to finish up an assignment that is due in a few hours. Here's my delimma, according to the text book and the professor the following algorithm to convert an infix to postfix is as follows: 1. Two stacks will be used in th
-
Hey I was just wondering if anyone knows how to run a bash script (whatever.sh) from a jsf page.?? I have a whatever.sh on a tomcat server where my web ap is and I was trying just to run it? Any idea???