View Weblogic Logs from Console - weblogic11g

We deployed an app in a remote weblogic server. They gave us access to the console of the weblogic.
But due to security reasons, we are not allowed to remote connect to the server and view the files.
Question, is there a way from the weblogic console for us to see the logs generated by my application?
I am actually investigating a problem and I think a log from the weblogic can help me see the reason.
Thanks.

Yes you can view the Weblogic logs from the console
See the Oracle docs on how to do this.

Related

I am getting errors on connecting to remote heroku postgresql database

I was working on my project that was using remote heroku postgresql database, that was working fine. Actually, I was using the sqlalchemy library to connect to remote database and I was also used to queries that remote database through my Ubuntu terminal by using psql name_of_remote_database_url command. But after sometime it is giving me a bundle of errors.
And my project was on flask web application now, I am getting errors from this also.
enter image description here
I tried so much but I failed so, that's why I am posting my question here! If anyone knows then plz explain!
pg_hba.config something looks like this
Please read following Heroku support information:
FATAL: no pg_hba.conf entry for host "…”, user “u…”, database “d…”,
SSL off
You are attempting to establish a database connection without SSL. SSL
is required for all connections. Please see the documentation for your
postgres driver on how to establish encrypted connections.
Recommended solution:
Heroku Postgres & SSL
Actually, I was using remote heroku database url. After sometime, heroku did maintenance of my database and changed the url and I was considering the problem related to my system, but it was not related to that.
When I visited my gmail there was written in the heroku gmail that we changed the url of your remote database during maintenance.
Now, it's working fine!

AppEngine apps suddenly not able to connect to Cloud SQL instance

I had 2 GAE apps running wordpress and connecting to a single cloud SQL instance.
As of just a few minutes ago I'm guessing both apps can not longer connect.
My IP address is whitelisted and I'm able to connect to the SQL instance without an issue, it's just the App Engine instances that are having issues.
The error is the standard WordPress error "Error establishing a database connection"
We have not changed anything, maybe someone from Google can chime in?
So far I've tried rebooting the Cloud SQL instance which did not resolve the issue.
I resolved the problem. The issue was that the MySQL user has to have a 'wp_user'#'localhost' account. You can't just have a 'wp_user'#'%' which seems odd because % is a wildcard so you'd think it would match everything. But somehow with the way GAE authenticates with Cloud SQL it needs to have the localhost user.
And because of the caching configuration the cause of this issue must be a change I made with the MySQL users a number of days ago. And the error only surfaced today. Gotta love caching.

Failed to configure Release Management service user. Error: The remote server returned an error: (401) Unauthorized

I have tried to configure release management to work across different servers with untrusted domains using the steps described in the below article.
http://blogs.msdn.com/b/visualstudioalm/archive/2013/12/12/configuring-release-management-to-work-across-untrusted.aspx
But when I tried to configure RM agent with ghost account, it was throwing error mentioned in the title. Please see the error screen attached..!!
I am searching for a solution for last few days...!!! Experts please help me.
Finally the issue has been resolved by logging in as shadow account. Changed RM server name with IP in MS deployment agent....!!
Thank you very much #Daniel Mann for the tips you have provided.
write it down as
Correct way:-
http://(server):(port)
Incorrect way:-
http://(server):(port)/ReleaseManagement
Do not write "/ReleaseManagement/" or any other URL segments after .
This will solve your problem.
Logging in as the shadow account may not be possible depending on how you setup the service account. Release Management site uses windows authentication so if you setup your credentials in Credential Manager on the agent server that will work. Just specify the fully qualified domain name for your Release Management server and your domain credentials for the RM server's domain.

The request failed or the service did not respond in a timely fashion in sql server 2008 R2

I am not able to start sql server 2008 R2 service . I cross checked all answers given here for same problem without any success. I disabled VIA protocal, still it didnot start. I tried using all options(local system, local server, network service) for login, but still nothing happened. I have SQL Server 2008 also installed and that is working fine without any problems. R2 was working fine , but due to unknown reasons it is not.
I can't uninstall as I can't loose databases mounted in it.
Have you checked the credential used to start the service? You may have changed password or permissions for that specific user.
To check this settings, open the Service panel (services.msc), go to the SQL Server Service named as your Instance (ex. SQL Server (MSSQLSERVER) ), doubleclick and go to the Connection tab. Check the authentication you provided there is valid, and that the user has all the permissions needed to start and stop the instance, or try a different user.
If you are the administrator of the machine, "Local System Account" should be enough to start/stop the service.
Otherwise, please follow the link down here and check in the Event Viewer which error is provided there. If it's different from the one described in the article, give us yours. This could help us help you ;)
source:
http://blog.sqlauthority.com/2011/03/29/sql-server-fix-error-the-request-failed-or-the-service-did-not-respond-in-timely-fashion-consult-the-event-log-or-other-applicable-error-logs-for-details/
Step 1 - Check credentials for service
Step 2 - Check event viewer and look for error messages it sends. It should be found in Windows Logs -> Application
Once you see any log events with errors or warnings when trying to start the service, please update the question/thread so we can see and help you troubleshoot from that point.
Thanks,
Matt
I'm not sure why you can't uninstall and reinstall. You could detach the databases, uninstall, reinstall, and attach the databases. You won't lose the databases.
Try to identify the exact issue why service is failing. The possible reasons are logged in event logs. Have a look at the event logs and post what is printed there. Once the reason for failure is identified then probably we will be able to help you out.
Also, try installing service packs. Because in the past I had an issue with SQL Server 2008 R2 and I installed the service pack. That resolved the issue.

silverlight database access problem

For training purposes I created a simple silverlight 4 application which uses ADO.NET Entity Data Model and a Domain Service Class to connect to an SQL Express database to query it.
The database is fully accesible in the dev mode if I run the application from the Visual Studio 2010 but after deploying it on a server the database connections fail everytime with error message: Load operation failed for query ... Argumentst: NotFound.
Googling haven't gave me any help.
I suspect I am missing something in my IIS6 settings, but what?
My database has NT AUTHORITY\NETWORK SERVICE setup for the database so I assumed the IIS requests should go through, but they don't.
Please help.
V
The solution to this problem was very simple: always check the text of inner exeptions :-) for clues. When you build a database accessing appl and run it from a dev machine, all of your services reference localhost, but when you deploy it should reference yourservername:port. So, simply CTRL+H localhost:port to yourservername:port, then publish and enjoy the ride. Cheers and thanks for help and clues.
Val

Resources