Access Log files using Weblogic - weblogic

I would like to access diagnostic log files of our server using weblogic console.
originally, the logs are located here:
/u01/projects/domains/prd_soa_domain/servers/prd_soa_ms1/logs
where should i put it so that i can access/download them thru my browser something like this.
http:ip address:port/console/logs/

These logs are already available to you, navigate to:
Admin Console -> Diagnostics -> Log Files
Here you can view JMS Logs, Data Source Logs, Server Logs, etc.
If you're talking about the Default Audit logs, you can set the path for all of those files to go to the same directory. Check this enter link description here And if you're interested in tuning it further, check this tutorial.

Related

How can I setup Apache Mina to save uploaded files to a database?

I'm looking for example or any documentation that would help me get files to go into the database instead of the file system.
I tried setting it up like so:
val sshd = SshServer.setUpDefaultServer();
sshd.setPort(config.getSftpPort());
sshd.setKeyPairProvider(new SimpleGeneratorHostKeyProvider(new File(config.getHostFile())));
sshd.setSubsystemFactories(Collections.singletonList(new SftpSubsystemFactory()));
sshd.setPublickeyAuthenticator(new AuthorizedKeysAuthenticator(new File(config.getAuthKeysPath())));
sshd.setFileSystemFactory(new VirtualFileSystemFactory());
sshd.start();
log.info("SFTP server started");
Which works, it just saves it to the root directory. In the documentation it says that there's a way to get it to save to a database instead. No examples or docs on how to do this are provided. The documentation for this project is complete garbage. :(

File Share is keep on loading not showing the files in Azure Storage Explorer

in Azure Storage Explorer i connected to file share through shared access signature(SAS) URI method. after connected, no files are showing under File Shares folder as shown in the image it is keep on loading.
and popping the error message as below after waiting for long time
i'm using Windows 7, Azure Storage Explorer version : 1.10.1, and i have .net 4.0 Framework installed.
Thanks.
This issue may occur due to several reasons like Network issue/ Proxy/subscription/updates/Permissions.
There a few reasons you may be seeing this error: Firstly, I would suggest to try the troubleshooting steps mentioned here:
Delete data from "%appData/StorageExplorer" folder or entire folder from your machine. After deleting when you launch storage explorer you will be prompted to re-enter your credentials.
The uninstall process does not remove all of the files in the local storage, and so I found that on Windows at least if I uninstall MASE and remove the folders that are in C:\Users[username]\AppData\Roaming\Microsoft Azure Storage Explorer and reinstall,
If you are connected to Azure through a proxy, verify that your proxy settings are correct. If you were granted access to a resource from the owner of the subscription or account, verify that you have read or list permissions for that resource.
Connection String Does Not Have Complete Configuration Settings
Refer the following Storage Explorer troubleshooting documentation and let us know if you need further assistance: Unable to Retrieve Children
If the issue still persist un-install and reinstall the latest version 1.11.2
It would also be worth checking if port 445 is open, since File shares are SMB based, port 445 has to be open. Several Internet service providers block it, so it's also worth testing whether it is open and you can connect to it. you can use the following tool to test it: https://gallery.technet.microsoft.com/Troubleshooting-tool-for-a9fa1fe5

marklogic "getting started" app returns 404 on mac

I'm running MarkLogic 8 (developer edition) on Mac OS 10.10.1.
I'm a beginner with ML, and I'm reading the "Getting Started" material in the online docs, in particular the section "Sample XQuery Application that Runs Directly Against an App Server."
I created the "TestServer" app server just fine, following the instructions. I then copied and pasted the text for the four XQuery files in the exercise, load.xqy, dump.xqy etc.
My local copies of the four .xqy files are under ~/Library/MarkLogic/Apps/Test, per the instructions. Read and execute permissions are open along the entire filepath, down to the .xqy files themselves.
When I request http://localhost:8005/Test/load.xqy, as instructed, I get a 404 Not Found response.
lsof -i :8005 indicates that MarkLogic is indeed listening on port 8005.
I checked the TestServer configuration against the instructions, disabled and re-enabled TestServer, stopped and re-started ML--always with the same result: 404 Not Found.
I haven't been able to find anything in either the ML mail archives or Stackoverflow to get me past this sticking point.
Any ideas or suggestions would be very much appreciated. Thank you!
This seems like a permission issue. Does it work when you run it as the admin user?
Have check to make sure the files are loaded into the modules database?
Also check the permission got set with the correct role for those file.
Check to see that user that is running the app has the role that you used when setting permission on those file.
This worked for us:
In the TestServer configuration instead of just putting Test in root field, put Apps/Test/ which is the location of the 4 files (load.xqy,dump.xqy, update-form.xqy and update-write.xqy relative to the MarkLogic installation directory -- in our case, centos, this was at /opt/MarkLogic/)
And then issued this command
chmod +r *.xqy
If you follow all the instructions correctly just remove the Test from the url. If yours is "http://localhost:8005/Test/load.xqy" make it "http://localhost:8005/load.xqy"

Mule Logging - How to write a log that be browse in web browser?

In my mule flow, I'm trying to build a log that can be viewed in web browser. Put another way, it's similar to writing a log file in html. Any recommendations for doing this with Mule? Also what are some of the mule components required to perform this?
At the end of the day it should look pretty similar to this (refer to image attached), of course it's with a different log content.
Mule uses log4j for logging and you can configure that to output HTML. See Mule docs for logging and Logger for more info and follow the links there to log4j to learn more advanced configuration options. For a quick start you can also see this example for a simple log4j.properties file that writes the log into an HTML file. In Mule Studio, put that log4j.properties file in your app's src/main/resources folder and you will get an application.html log file in your app root folder when you run the app.

weblogic deployment location

Is there a way to find from weblogic admin console where the actual application is deployed on the file system
I tried clicking on the 'deployment' link - but it says it is loading - and never shows any details
I 'know' that the actual deployment is in a specific directory outside of weblogic - just want to know how I can confirm what I think I know - but need conclusive proof
The deployment is an EAR file
Thanks
When you login to the admin console you should be able to click 'Deployments' on the left. On that page you should see a list of all deployments on your managed server(s). Clicking on the deployment in question will take you to the deployment overview, which lists the path.
If it was deployed with the 'nostage' option, it will be somewhere that all of the servers it is deployed to can see. With the 'stage' option, it will be copied to each of the servers and reside in:
<domain home>/servers/<server name>
If you are having trouble even getting to the deployments page I would cycle the admin server.