How to create and access a Virtual Host on the J2EE WAS?
Hello, I have searched through the Forums and help.sap.com and found a lot of information on how to set up a Virtual Host on the J2EE server but am having issues with it working.
The goal is to provide a simple virtual host on the J2EE Portal server to host some static image and HTML files. Previously I had stored these files in the standard publicly accessible SAP J2EE folder location /usr/sap/<SID>/JCxx/j2ee/cluster/serverx/apps/sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/. This location is resolved to when using the URL <host>:50000 for example.
The main issue here is that during Portal support pack applications this folder gets wiped out and we have to remember to save off any custom files and folders in this location and replace them.
I would like to create a virtual host to store these static files (i.e., branding-image.jpg, etc...).
I have run through the process of creating the virtual host both using Visual Administrator and <host>:50000/nwa but am not able to get the virtual host name to resolve properly.
The following are the steps that I have taken. Let's assume the standard SAP portal (i.e., xSS, etc...) is running properly on <host>:50000.
1. create virtual host via Visual Administrator/NWA called 'sapwebserver1' by using the Create Host option (takes on the attributes of the 'default' standard virtual host)
2. change the root directory for this virtual server to a custom folder at E:/tmp/mimes (where E:/usr is where the J2EE files are all installed), no start files were set up and nothing else was changed in the new virtual host record, no permissions were changed on the /tmp/mimes folder from whatever the default Windows user permissions are normally set, I am using a local Windows administrator account but I have not seen any reference in the help files or the examples that indicate that any specific permissions updates need to be made on the virtual host root folder
3. restarted the J2EE server as well as the HTTP Provider service
4. before updating the company DNS, I wanted to test this locally on the server and so have updated the server's local HOSTS file with a <host IP address> sapwebserver1 entry
5. from that server I can ping the sapwebserver1 virtual host name and it resolves properly to the machine's physical IP address
According to all of the documentation and examples I have seen I should now be able to (from that server) launch a browser and access the static files in the virtual host by referring to http://sapwebserver1:50000/branding-image.jpg for example. This is not working and the browser just brings up a Cannot display the web page error in IE. By referring to the virtual host name sapwebserver1:50000 it's supposed to hit the J2EE server and based on the host name sapwebserver1 realize that it should resolve to the root directory E:/tmp/mimes. This is not happening. Just as a test I have created a copy of the 'default' virtual host and called it sapwebserver2, updated the local HOSTS file for this entry, and tried to see if that would work like the 'default' host. My expectation was that http://sapwebserver2:50000 would behave the same was as http://<host>:50000 but it too fails to resolve just like the sapwebserver1 virtual host refernce.
Would anyone happen to have any pointers on what to do next? I just want a simple virtual host to be able to serve up some static images and files.
Thanks for any insight or assistance you might be able to provide here.
Graham
This defeats the purpose of trying to centralize SAP-related web resources on the SAP server. Typically IIS/Apache or other non-SAP servers are under the control of IT and not the SAP BASIS group.
We simply would like to have a centralized location to store static web files so that they are not overwritten during Portal support pack applications.
Similar Messages
-
What are message tables and their role?How to create and access them ?
hi,
Can any body clarify me about What are messaging tables and their role(use) in DataBase?How to create and access them ?
Thanks in advance
GopiIf you have doubt that's you have an idea. So, explain your idea please, because I don't see what are "messaging tables".
Did you say about Oracle database ? Apps ?...
Nicolas. -
How to create and access Global variable in Microsoft Lightswitch(VB)?
How to create an integer datatype Global variable in Microsoft Lightswitch 2011(VB) and access it in pre-process query to set value? Can it be accessed and set like Me.Application.<MyGlobalVariable> = 999
Thnx.
jajjaar123If you want to create integer datatype Global variable in lightswitch, you can refer to (Eric Erhardt) blog
Create and Use Global Values In a Query -
How to create and access cookie with in iView ?
Hi,
I have created iViews using .Net PDK for SAP.
Is it possible to create a cookie using code of iView and use this cookie to access an external application.
Regards,
Vikas KhandpurU cud add this code to the java iview:
setting a cookie:
Cookie fCooky = new Cookie("flag","false");
response.addCookie(fCooky);
fCooky.setPath("/");
Reading the cookie:
Cookie[] cook = request.getServletRequest().getCookies();
for (int i = 0; i < cook.length; i++){
Cookie cc = cook<i>;
if(cc.getName().equals("flag")){
response.write(cc.getValue()toString());
Iam not sure how u wud do it in a .NET Iview.
Sry!
Regards,
P. -
HOW TO CREATE and USE EVENTS IN WORKFLOWS .
HOW TO CREATE and USE EVENTS IN WORKFLOWS with the help of classes.
What i am doing is..
open se24
event tab->event name->parameters
method tab->method name->event handler->copy parameters
interface tab->if_workflow->enter
tell me what else to do step by step
Another important thing is that HOW to use these class events to trigger the workflows.
REPLY ASAP
THXS IN ADVANCEHi,
Pl. see this blog...
Raising ABAP OO events for workflow
Regards,
JOy. -
How to create and see the user interface of helloworld sample??
hello friends,
i have deployed the hello world sample
now i want to know how to create and see the user interface of hello world sample.
thanks and regards..If you go to bpel console host:port/BPELConsole (in a dev install, localhost:9700), click on your process, we will generate, based on the describing wsdl a UI for you ..
hth clemens -
How to create and delete an Endeca application in Windows
HI,
can you please help me in ,
how to create and delete an Endeca application inWindows machine not in Linux Machine.
Thanks.....Hi,
Steps to create an Endeca Application are clearly given in Getting Started Guide.
http://docs.oracle.com/cd/E38680_01/Common.311/pdf/GettingStarted.pdf (Chapter 6 : Deploying a Reference Application)
If you want to create an endeca application so as to integrate with Product Catalog system such as ATG using ATG 10.1.1 or above , then create an endeca application using the discover-data-catalog-integration reference application. Steps for doing this are documented in ProductCatalogDTGuide
http://docs.oracle.com/cd/E38679_01/ToolsAndFrameworks.311/pdf/ProductCatalogDTGuide.pdf (Deploying the Product Catalog Application)
To delete an Endeca Application that you have created in Windows/linux
1. Navigate to the control directory of the application that you want to remove and execute the script
runCommand.bat --remove-app (Removes the provisioning information with EAC admin console)
2. Remove the instance configuration files for the application using the emgr_update command line utility
emgr_update.bat host localhost:8006 app_name My_app action remove_all_settings prefix My_prefix
3. You can then explicitly delete the directory in the Endeca_apps directory where you have initially created your application.
If you are using discover-data-catalog-integration, you can remove the CAS Record Store Instances by navigating to CAS/bin directory and executing
./component-manager-cmd.sh delete-component -n {YOUR_APP_RECORD_STORE_NAME}
Thanks,
Shabari -
How to create and sign CAB files info on Supplement Option
To all Supplement Option subscribers:
At the supplement option for iDevelopment Accelerators, I uploaded a zip with detailed info on how to create and sign CAB files (necessary when you are running your application on the Native IE Java Virtual Machine).
Not all functionality provided to you through JInitiator will work (e.g. WebUtil doesn't) but the way how to make and sign a CAB file will become more easy.
Cheers,
Marc Vahsen
Headstart TeamThis defeats the purpose of trying to centralize SAP-related web resources on the SAP server. Typically IIS/Apache or other non-SAP servers are under the control of IT and not the SAP BASIS group.
We simply would like to have a centralized location to store static web files so that they are not overwritten during Portal support pack applications. -
I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?
I have tried back ups and restoring, resetting, and even updating the pages app. And nothing has worked.I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?
I have tried back ups and restoring, resetting, and even updating the pages app. And nothing has worked. -
How to create and install a toolbar to a browser using java
Hi all,
Can any one guide me about how to create and install toolbar to a browser using java ??
please any one help me about this,i am not getting any idea about this..
Thanks and Regards
Sandesh SI doubt you can. Those browser toolbars are done by implementing to an API provided by the browser. That API, I don't believe, is provided via Java. But of course, that would be entirely up to the browser, not Java.
-
How to create and execute a function whose return value is a table
hi folks ,
i would like know how to create and execute a function whose return value is a table ,
am new to pl/sql ,
my statement for the function is
SELECT ct.credential_code, c.expiration_date
FROM certifications c, credential_types ct
WHERE ct.crdnt_id = c.crdnt_id
AND c.person_id = person_id;
i would like to have the result of the above query as return value for the function.
Thanks in advance ,
Ashok.chi Ps ,
Can you please do small sample ,
that would help me in clear understanding
thanks in advance
ashok.c -
How to create and call a COM component in Java
Hi All,
can you suggest how to create and call a COM component..or if have any sample simple application can you send it to me...i will try to develop my project.
actually i am configuring a OCR Engine using SDK which is in VB .Net when i contacted their support they told that if i have any sample COM based component Project they will help me...
So please can you help in this.
Thanks in advance.As said by my fellow posters Java Devolopment Environment (Except Microsoft implementation of JVM,this is no longer supported by MS themseleves) does not provide an built-in support to serve this cause.
If you are looking to devolop a custom based solution the below is a good place to start with where end user is talking about Java <=> JNI <=> Native <=> COM connectivity.
[http://bloggershetty.blogspot.com/2004/12/java-jni-com-activex-bridge-lots-of.html]
However,if you are looking for ready made solutions ?
Implementation any one of the solutions stated below might serve your cause.
Open Source Solutions:
[http://j-interop.org/]
[http://www.danadler.com/jacob/]
Commercial Solutions:
[http://javacombridge.com/]
[http://www.jnbridge.com/]
[http://www.nevaobject.com/j2cdetails.asp?kw=java%20com%20bridge]
[http://j-integra.intrinsyc.com/]
Hope this might help :)
REGARDS,
RaHuL -
How to Create and Test a Zone of Type F1-APP-URL
Hi,
I would like to how to create and test a Zone of Type F1-APP-URL?
What all is required to setup an ADF application based URL in F1-APP-URL, what to configure and what are the basics or definite steps required to have a Zone of Type F1-APP-URL up and running in the application? Any Sample ADF components to be created?
Please kindly let me know. Any test or dummy URL existing already which is based on ADF?Refer to Doc. Id 1515146.1 on the support site. Although for the moment it refers to a MWM example and may not be much of a help but it'd give a basic idea as to how it should be done.
-
How to create and implement a new work schedule rule successfully?
Dear Community,
How to create and implement a new work schedule rule successfully?
In other words, what are all the basic steps to create and implement a new work schedule rule successfully?
Thanks in advance.Hi,
Follow the below steps to create Work Schedule:
Holiday Calendar
Transaction Code: SCAL
Holiday calendar comprises of list of paid holidays to be given to employees on festivals by the company.
Personnel Area/SubArea Groupings
Go to SPRO --> Time Management --->Work Schedules --> Personnel SubArea Groupings
Maintain perosnnel area/Subarea groupings for work schedule.
i.e. Suppose in Mumbai you have WS = GEN ( 10 to 6) and in Chennai you have WS = NORM ( 8 to 4 )
Work Schedule
Go to SPRO --> Time Management --->Work Schedules -->Daily Work Schedules
Go to SPRO --> Time Management --->Work Schedules -->Period Work Schedules
Daily Work Schedule is actually your office timings with breaks (paid /unpaid) i.e. Planned Working Time which is then included
in Period Work Schedule to make a week ( M T W T F S S )
Daily Work Schedule (i.e. Day) -
> Period Work Schedule (i.e. Week)
Work Schedule Rules
Go to SPRO --> Time Management --->Work Schedules -->Work Schedule Rules and Work Schedules
After doing above mentioned configurations,maintain employee group/subgroup groupings in which you have to define which calendar is applicable for which type of employees for which work schedule.
You will maintain this work schedule in infotype 0007 - Planned Working Time of employee via transaction code - PA30 -
How to create and maintain a backup catalog on a separate hd - separate from default location of the catalog?
Simply copy the LR catalog backup file to another location. It’s quite small and only contains metadata e.g. your edit develop settings, keywords, captions, titles and camera exif data etc.
The LR backup does not physically copy your image files. So make sure you have a separate system backup for your photo files and folders.
Maybe you are looking for
-
***. This is the lamest thing that apple has ever done. I wish there was someone to complain to but it is impossible to actually talk to someone. Why did they release I cloud if idoesn't work properly. Gmail is no better the integration of gmail
-
Steps to configuring log4j with plain text file
can anyone help me with the steps involved with configuring log4j with a plain text configuration file...Where should log4j.properties file be stored?.....do you have a simple example of a config file using a file appender?.....do I have to make chan
-
Printer to take cartridges from OfficeJet 6300 All-in-one
Hi I have an OfficeJet 6300 All-in-one which I really use just as a printer. I'm also running short of space so am looking to replace it with a standalone printer. I have built up a stock of cartridges for the 6300 (337,339 and 342,343). Can somebod
-
How Do I Change The Logon Screen Background?
Hi... I was wondering how to go about changing the logon screen background... You know... The screen background you see when you first boot the Mac and it's sitting at the logon window waiting to be logged on? Thanks in advance!!
-
MacBook Pro overheating bootcamp Windows 7.
I'm on a late 2013 MacBook Pro and recently wanted to start using my mac for gaming and needed Windows. However, even without playing any games my computer gets heated a bit and when I do run an application it's way overheated. In OS i have my fans