I am developing an embedded tool in my ADF fusion web application which will read and display the log messages of weblogic server.I discovered one file named DefaultDomain.log in AppData\Roaming\JDeveloper\system11.1.1.7.40.67.80\DefaultDomain\servers\DefaultServer\logs folder which contains all the log messages.
Now I want to write some logic to read the contents of this file dynamically and display it through the tool(ADF Faces).Is it possible to read this log messages through my java application?
If yes how to get the log file name from the weblogic server.I think the name of the log file is configurable in the server.This application is to be installed in various environments like clustered environment and also in activation /passivisation on
Related
I'm pretty new to web development. Though I want to create a single page web application where I can allow users to run executable jar file created for doing some activity or else made it available for download.
I have got some results on internet, but it was for running applet in web browser.
My VB.Net application is using a data bound MS Access database. This app is going to distributed to multiple co-workers so according to almost every article I've read, I need to include the database in my project so that it will get deployed (copied to the user's local directory) when the Setup.exe is run. When I publish the project, I see both the Database.employ and the DataSet.xsd.employ files in my Application Files that gets created. Yet when I run the Setup.exe I get an error message telling me that it can't find the file. I manually check the Data folder where it's looking and there is nothing in it. It seems that the files I need to get deployed are not getting so.
Everything I've read so far explains how to deploy the database but I haven't been able to find anything about this error I'm receiving or why the files aren't getting copied to the Data folder.
When using ClickOnce to deploy, in order for files to be deployed into the Data directory the Publish Status for the file should be set to Data File on the project properties Publish tab -> Application Files...
I'm developing a web application in which I want to insert users and be able to display files that they upload via a search option. I can get all of the logic that I need sorted and the files uploaded into the correct directory. However, if I insert a new user into the db, the web app cannot find their file in the directory until I restart the server.
How can I make it so that the resources directory of my web app automatically gets refreshed by the server? I'm developing in Java/JSP and using Tomcat as my server.
Thanks!!
I'm guessing you're putting the files into the src/main/resources folder, then it's being packaged into the artifact and then you access them as the classpath resources. Then the next portion of the resources is going to be available after the next packaging.
Instead you should access the Files via usual File System and Absolute or Relative paths.
I am working on an application that is building on the IONIC platform and is intend to run on both Android and iOS platform.
One function in this application is to send an email to an user specified address. A text based file that contains application generated data will be attached with email.
For example, use may use this application to do some experiment and generate some test data. The data will be saved in 'report.csv' file somewhere on the device and then send it out as email attachment to user.
I use ngCordova's file plugin to generate this file and use ngCordova's email composer plugin to draft email.
However, I realised that the ngCordova's email composer plugin can only populate a draft email content and has to rely on third party applications to send email out. This bring up an issue as the file generated by my application is always saved in a private accessible area.
The third party email application cannot access the file to attach it with the email.
So, here comes my question: is there a way to save a file in a 'public' area via ngCordova file plugin so that it can be accessed by multiple applications?
Thanks.
In my GWT application, a 'root' user upload a specific text file with data and that data should be available to anyone who have access to the app (using GAE).
What's the classic way to store a data that will be available to all users? I don't want to use any database (objectify!?) since this is a relatively small amount of information and it changes from time to time by root.
I was wondering if there was such static MAP on the 'engine level' (not user's session) that this info can be stored (and if the server is down - no bigi, root will upload again)
Thanks
You have three primary options:
Add this file to your /war/ directory and deploy with the app. This is what we typically do with all static files that rarely change (like .css file, images, etc.) This file will be available to all users, whether they are authenticated or not.
Add this file to your /war/WEB-INF/ directory and deploy with the app. This file will be available to your server-side code, so you can read it on the server-side and show to a user. This way you can decide which users can see this file and which users should not have access to it.
Upload this file to Google Cloud Storage. You can do it through an app, or you can simply upload it manually to a bucket using a GCS console or gsutil command-line tool. Then you simply provide a link to your users. The advantage of this option is that you do not have to redeploy your app when a file changes.
The only reason to go with the first two options is to have this file under version control. If you don't need that, I would recommend going with the GCS option.