Oracle ords 3.0.12 deploy on weblogic server 10.3 - oracle11g

I use an Oracle RDBMS 18c where APEX 18.2 is installed on it. I also have a WebLogic 10.3 on a different server. Environment :
windows server 2008: ords 3.0.12 and weblogic 10.3
windows server 2019: db and apex
I have completely configured db, Oracle apex at one server A, ords w/SQL DEVELOPER and deploy it on weblogic on a different server B. My URL is working but it showing me that i have used wrong image directory path (not showing apex graphics). I call image directory through a NETWORK Map Drive from server A which is called as "X:\apex\images"
I have tried all way i.e. "X:\apex\images", "X:\apex\images\", "X:\apex\images" but failed,
Error:
"There is a problem with your environment because the Application Express files have not been loaded. Please verify that you have copied the images directory to your application server as instructed in the Installation Guide. In addition, please verify that your image prefix path is correct. Your current path is /i/ (it should contain both starting and ending forward slashes, such as the default /i/). Use the SQL script reset_image_prefix.sql if you need to change it."
Please help me that how to put images file path from remote server for creation of i.war that will deploy on weblogic (java -jar ords.war static <remote_server>\images\)
enter image description here
Thanks

Maybe this is a good hint:
please verify that you have copied the images directory to your application server
Which is the exact opposite of what you did:
I call image directory through a NETWORK Map Drive
Try to copy the files to a directory on the aaplication server.
OR make triple-sure that the service account in which this stuff runs can access the network location: Just because "administrator" does have a mapped drives for himself, this does not mean has the same. This goes for the access rights, too. Usually you can get around the mapping-error by using UNC paths (\\<SERVER>\<RESSOURCE>\<PATH>).

Related

How to deploy Javafx desktop application with Hsqldb

I've completed a Java project with Hsqldb, the application works fine on my local machine, this is intended to be used as a standalone desktop application on the Windows platform. Please could you suggest any references/documentation on how to go about the deployment processes. Thanks in advance.
For deploying an embedded HSQLDB database, the only thing that can be different on the target is the location of the database files.
You define the directory where files are stored and it should be a writable directory. In this case, define the path and use it as an absolute path (which includes the drive name if any) to connect to HSQLDB.
You can also define the database connection URL to contain the user home directory path. This allows storing the database is a subdirectory of the user's home directory. See http://hsqldb.org/doc/2.0/guide/dbproperties-chapt.html#dpc_variables_url

Migrating Symfony Project from Windows to Server in Linux

Once my web application is running on local, I want to pour it into a server. Whenever I upload it, I'm having problems with the routing staff.
I guess it is searching on local routes (in full paths) instead of server ones.
So this is the error given:
Warning:
file_get_contents(C:\xampp\htdocs\MyApp\src\MyBundle/Resources/views/Default/index.html.twig):
failed to open stream: No such file or directory
Obviously, it is mixing Windows routing(computer) with Linux paths (server).
I have been looking for the config files or whatever, searching in the routing files but nothing changed.
*Edit: I am currently using 2,8 version of Symfony
First, you should make sure you’re not uploading the app/cache directory, or that you’re clearing the cache after uploading.

Deploying website, error points to file on local pc, using Visual Studio 2012

I've created a website in Visual Studio 2012, now when I upload my files to the web server I receive an error whereby the system cannot find the file specified.
It seems to only happen on files which fetch data from a database.
I've tested my connection string and that seems to be working as I've close the connection as well as deleted the local db I was using. My site works fine when run locally, but the second I try access it online I get the same error.
Link to error image:- http://imgur.com/wkXV8fe
I've highlighted the error that puzzles me in the image. It keeps trying to find the file on my local pc it seems. I've searched through my code and can't seem to find anything that is hard coded.
Your help is much appreciated, hopefully someone has encountered and solved this problem.
The possible reason are,
The folder which containing specified file is may be read only or admin access or hidden in server machine. If possible, check the folder properties.
Make sure the file containing folder has uploaded or not on server.
It won't find your local pc if you hosted on other IP(server). The same root folder may be present on server side, so don't get confuse with server and local machine.
The "file not found" error is actually misleading, the error you need to deal with is the SqlException error and indicates the connection string is wrong - you need to update the connection string to access the SQL Server externally.
Are you also deploying the database to another server or are you attempting to access the same database as when testing locally? If you are accessing the same database locally, make sure the web server you are using to host the website can actually access the SQL Server on your local machine - check all firewalls and other things, and make sure that the SQL Server accepts TCP connections.

Using embedded database in production environment?

I am using Spring MVC 3.2 Embedded database (H2) Support for storing real-time progress of tasks,queuing notifications and some temporary logs.The only problem with this approch is that my data gets vanished ; If the application redeploys or server restarts.This scenario is probably very rare in production environment but still I want to know that using embedded databases in production environment is a good choice or not?..Or is there any way to persist embedded database state to hard-disk so that the next time server boots we can restore the database state to stored checkpoint?
Thank you.
Embedded databases are not meant for use in a Production Environment. They are meant for a quicker development option as you do not need to have the dependency of an external database running. With an embedded database, you can programmatically fire it up and optionally initialize it based on your needs.
The reason your changes are being lost during redeployments is because you are using the in-memory version of HsQL instead of In-process(Standalone file) mode. You can use the Standalone mode which keeps the changes persistent.
In-Process (Standalone) Mode
This mode runs the database engine as part of your application program in the same Java Virtual Machine. For most applications this mode can be faster, as the data is not converted and sent over the network. The main drawback is that it is not possible by default to connect to the database from outside your application. As a result you cannot check the contents of the database with external tools such as Database Manager while your application is running. In 1.8.0, you can run a server instance in a thread from the same virtual machine as your application and provide external access to your in-process database.
The recommended way of using the in-process mode in an application is to use an HSQLDB Server instance for the database while developing the application and then switch to In-Process mode for deployment.
An In-Process Mode database is started from JDBC, with the database file path specified in the connection URL. For example, if the database name is testdb and its files are located in the same directory as where the command to run your application was issued, the following code is used for the connection:
Connection c = DriverManager.getConnection("jdbc:hsqldb:file:testdb", "sa", "");
The database file path format can be specified using forward slashes in Windows hosts as well as Linux hosts. So relative paths or paths that refer to the same directory on the same drive can be identical. For example if your database path in Linux is /opt/db/testdb and you create an identical directory structure on the C: drive of a Windows host, you can use the same URL in both Windows and Linux:
Connection c = DriverManager.getConnection("jdbc:hsqldb:file:/opt/db/testdb", "sa", "");
When using relative paths, these paths will be taken relative to the directory in which the shell command to start the Java Virtual Machine was executed. Refer to Javadoc for jdbcConnection for more details.
HSQL documentation

I want to run a .net web application on local computer

I wanted to run a .net application on a laptop. I created the application(aspx pages and SQL database) on a computer that has VS 08 installed. Now i wanted to run this application on a laptop that does not have SQL sever 2005 installed.
As far as the aspx pages if i publish them to a zip drive copy it to my laptop and go into IIS and define a new virtual directory to point where my pages are that should work RIGHT??
Now for the database i don't know what i need to do
any ideas???
Publish the web app to a folder on the laptop and create an IIS Virtual directory pointing to that folder.
As for the DB, install an express version of SQL Server (http://www.microsoft.com/express/Database/) and
point you web app at them.
Have you considered using SQL Server Compact Edition? This will allow you to move the db around with the application.
You need to install sql server on the client(laptop) so you can run the application properly
As far as the aspx pages if i publish
them to a zip drive copy it to my
laptop and go into IIS and define a
new virtual directory to point where
my pages are that should work RIGHT??
Yes this should work.
As for the database, you'll need to install it on the computer you are running IIS on and copy the schema and data over or (I would recommend this way) have your code connect to a server which has the database on it.
You need to install at a minimum SQL Server 2005 express edition. You may also need to change the connection settings for your application, which may be in your .config file(depending on how you did your conneciton in your application) and depending on whether the server instance and database name you choose are different from what you used on your development computer.

Resources