How to reference standalone doc_root contents in ords while deploying on weblogic - oracle

My ords is working find in standalone mode. In standalone.properties, i have mentioned doc_root where all the custom images are referenced.
When I am creating i.war file with apex static image (which is a different directory and trying to deploy ords.war and i.war, deployment is happening but when opening the pages it does not show the reference images under doc_root.
Am I missing any step?
I am using ords 21.2 on top of weblogic 12.2.1.4
When I am creating i.war file with apex static image (which is a different directory and trying to deploy ords.war and i.war, deployment is happening but when opening the pages it does not show the reference images under doc_root.

Related

MVC 3, IIS 8.5 deployment = 404 - File or directory not found

I have an existing deployed ASP.NET MVC3 application using Entity Framework 4.1 and .NET 4 that I need to copy onto a new server. Problem is I have little or no documentation about how the deployed environment was configured. On the up side I do administrator access to the deployment environment and full access to the source code to the application.
So starting from bare metal I have:
Fresh install of Windows Server 2012, SQL Server 2014 Enterprise
Installed MVC 3 and Tools via Web Platform Installer
Copied entire website from existing deployment to its own folder under C:\inetpub
Added website under IIS and started it with the App Pool configured as
Browse to website and it returns the default.htm page in the root folder. This is not expected behaviour as it should serve up the default controller view.
Check to see that I can access a html file elsewhere within the website eg. http://myhost.com:443/SomeDir/test.htm and it serves that up
See if it will hit a route I know exists eg. http://myhost.com:443/Auth/NewLogin and I get
Various readings indicate that occasionally this is caused by "UrlRoutingModule-4.0" not being installed in modules. It wasn't so I added same server wide and ensure it was present for the website (Made no difference):
There is also mention of ensuring runAllManagedModulesForAllRequests="true" was present in the web.config which it is
UPDATE
.NET is installed:
So before I post a "Failed Request Trace" can anyone give me any suggestions on how I proceed to get MVC working in this environment?
I have read may SO posts and Googled but nothing seems to work.

How to deploy Camunda BPM to Tomcat in Jelastic

I would like to setup Camunda-BPM in a Tomcat 7 running on Jelastic. I followed the instructions.
The problem now is that Jelastic does not allow to add the file bpm-platform.xml into the catalina-home/conf directory. So when I start the tomcat I get
...
Caused by: org.camunda.bpm.engine.ProcessEngineException: /opt/tomcat/conf/bpm-platform.xml does not exist. This file is necessary for deploying the camunda BPM platform
Can someone please give me a hint where I can place bpm-platform.xml so that the BPM engine starts?
The directory you're looking for is labelled as 'server' in the Jelastic dashboard - but sadly you cannot upload new files to this directory via the dashboard (only edit the existing ones).
However, you can write to this directory via FTP (http://docs.jelastic.com/ftp-ftps-support), so you should be able to add the file that way.
If you are just using a trial account at the moment, you may need to seek assistance from your hosting provider to add the file there for you manually from their side (since trial accounts do not have public IP, so can't use FTP).

Difference in deploying J2ee app on Portal Sever and AppServer

I want to deploy a J2EE app on Portal Sever this is not a big app it has just one JSP file, if I deploy it on was profile(server1) rather then portal server profile then i have to start WAS i.e server1 and i have to check if this port is accessible by my web server.
IS this approach fine or I should not deploy J2ee app on Portal server or is this bad approach
If your J2EE application is developed using portlets (JSR 168 Portlet, IBM Portlet) than it should be deployed on the Portal Server .
If your application has nothing to do with portlets than you can deploy it on the WAS.
Portal Server is designed for portlets, has an WAS attached and runs on top of it. So in either case, the WAS, which comes embedded with the Portal, is needed. (The portal can be seen as a big application which runs on WAS).
More info:
Differences between WAS and WPS
In this answear I will explain you the steps that a beginner should perform to deploy and see the JSP in the browser:
create the Portlet class: public class CallMePortlet extends PortletAdapter {}
create the portlet.xml file
create the WAR archive
Then, on the Portal:
login in the administration module of the portal. Something like:
localhost:100xx/wps/portal/admin. Here you can create pages and you
need the create a page. This page will be created in a hierarchy of
pages under Home page
load the portlet in the Portal, you have in the administration this option. Here you will load from the disk the WAR created in the first part.
go again to the page you created earlier and this time select the portlet to deploy on this page.
Finally, exit the administration module and go to the Home page then hierarchically to the page you created.

Not able to create folder and file inside webContent of java web application after deploying the war file on server

I have developed a web application in java, there is a one senior where i am generating xml and placing it in folder in webcontaint>myxml>**.xml and converting that xml in pdf and showing the result. its work fine in my local machine. The Problem is when i deployed that application the folder and corresponding xml is not get created. I am unable to understand what is the problem. My tomcat version is 7. Any help will be appreciated.
Thanks in advance for the replay.
Probably the user that deploys the application doesn't have privileges to create files and folders. Check this.

Auto-deploy/reload a jar in weblogic server

I am new to Oracle SOA Suite 11.1.1.4... Currently I am working on User defined XPath Functions. As part of this, I will prepare a jar file and need to deploy into weblogic server(10.3) domain lib folder(fusionmw\soasuite\11gR1\11.1.1\sp4\user_projects\domains\DOMAIN_NAME\lib). When ever this jar is altered, I need to replace this in server domain lib and restart the server to load the changes. But I feel this is not a good practice in production server to restart.
Is there a way to auto load updated jar into server's domain so the changes will reflect immediately instead of restarting the server.
Thanks in advance,
Swamy.
Auto-deployment is a method for quickly deploying an application to a stand-alone server (Administration Server) for evaluation or testing. It is recommended that this method be used only in a single-server development environment.
You can run a WebLogic Server domain in two different modes: development and production. Only development mode allows you use the auto-deployment feature
To auto-deploy an archived application, copy its archive file to the /autodeploy directory. WebLogic Server automatically sets the application’s deployment mode to stage mode.
Few words of caution when using autodeploy
Make sure that the server is running while you are adding/replacing/deleting a jar/war/ear in the autodeploy folder. Otherwise the server goes out of sync
Make sure the server is running in development mode otherwise the autodeploy folder changes are not seen by the server instance
In case you are packaging your jar/war/ear in a windows system then deploying it to a weblogic server running in a Unix environment, the weblogic instance will fail to unpack/autodeploy the file through the following exception
java.util.zip.ZipException: Error opening file - filename.war Message - error in opening zip file
java.io.IOException: error in opening zip file with ... Message - error in opening zip file ....
Read this link

Resources