How to change log file from SystemOut.log to other in WAS.7 - rad

In websphere application server.7 ,(WAS/RAD) , How to change the the logs that are storing in SystemOut.log file into other file ??
Is there any steps to change log file in logging and tracing??

Related

apache active mq console not starting

i have connected the Apache MQ broker service through java only by downloading active mq jars in dependency. but activemq web console not connecting. http://localhost/8161/admin . Please tell me is there any setting or configuration is need to connect ?
Verify activemq.xml file from /conf . It must contain your correct IP for transport connectors.
Check log4j.properties in /conf, update logging options to WARN at least, DEBUG if possible. Update File Logging Path.
Run ./activemq start
Let the system throw an exception.
Check logs from the path you specified.
Look for log exception in Stack Overlow or Google to get first analysis on error.
More details

1and1 windows hosting, web.config permissions

I'm trying to publish my ASP.NET 4.6 MVC website project to 1and1, but keep receiving this error page.
https://i.stack.imgur.com/njzRx.png
If this link doesn't work, here's the error details:
"HTTP Error 500.19 - Internal Server Error"
Module - IIS Web Core
Notification - Unknown
Handler - Not yet determined
Error Code - 0x80070005
Config Error - Cannot read configuration file due to insufficient permissions
Config File - \www\Home\web.config
Oddly enough, when I try to publish the sample website when you start a new project, the same error occurs. When I open the hosting service's file explorer and check the permissions on the web.config file, the IIS_IUSRS already has read and read/execute permissions.
Is there another config file that needs to be edited or have its permissions changed?

HTTP Error 500.19 config file path does not exist

Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x80070003
Config Error Cannot read configuration file
Config File \?\D:\Company\ABC\web.config
Requested URL http://localhost:80/services/application/cardmanagement
Physical Path D:\ABC\DEF\Website.Hosts
Logon Method Not yet determined
Logon User Not yet determined
Config Source
-1:
0:
I am getting this strange error when I try to browse the service. Problem is Physical path is correct but config path is even does not exist in my machine where all applications and iis installed. So I am surprised from where its taking that path and how to correct it.

Why does'nt SFTP inbound (deployed on Cloudhub) delete files after transfer is completed

This question is very closely related to this and this. With the SFTP connector streaming is on by default and cannot be turned off (version 3.5.2). If I have a flow like the below
1) Inbound SFTP connector with a large polling frequency (in hours for example)
2) File outbound to store the stream into a file in local storage
I would expect here that the SFTP inbound deletes the source file after the transfer is complete. (But this does not happen)
Reading the documentation I find the below
Auto Delete (Applies to inbound SFTP endpoint only) . Click this box to delete the file after it has been read. Note: If an error occurs when Mule is writing to the outbound endpoint, the file is not deleted. Auto Delete only works if both the inbound and outbound endpoints use the SFTP transport.
Is there a workaround for this ?, basically how can I delete the source file once I have downloaded it off the SFTP server ?
The above is mostly a issue with the documentation, SFTP auto-delete does work even if the outbound is not a SFTP connector. I have logged a JIRA about it here
Update:
I have determined the root cause of the issue, the output from SFTP connector when deployed on cloudhub returns an instance of class java.io.ByteArrayInputStream, however when the application is deployed via Anypoint studio the output is instance of class org.mule.transport.sftp.SftpInputStream.
To reproduce make sure the file size is less than 2 MB
This causes the file not to be deleted when deployed on Cloudhub.
Logs from cloudhub
Local deployment logs
2015-04-28 15:37:50 DEBUG SftpConnectionFactory:118 - Successfully connected to: sftp://decision_1:#####XXXXXXX:22/To_DI_Local
2015-04-28 15:37:50 DEBUG SftpClient:121 - Attempting to cwd to: /To_DI_Local
2015-04-28 15:37:50 DEBUG SftpConnector:121 - Successfully changed working directory to: /To_DI_Local
2015-04-28 15:37:50 DEBUG SftpMessageReceiver:121 - Routing file: ZCCR_EXTRACT_FINAL.CSV
**2015-04-28 15:37:50 INFO LoggerMessageProcessor:193 - InputSFTPEndpoint org.mule.transport.sftp.SftpInputStream**
2015-04-28 15:37:50 DEBUG SftpMessageReceiver:121 - Routed file: ZCCR_EXTRACT_FINAL.CSV
2015-04-28 15:37:50 DEBUG SftpMessageReceiver:121 - Polling. Routed all 1 files found at sftp://decision_1:#####XXXXXX:22/To_DI_Local
2015-04-28 15:37:50 INFO LoggerMessageProcessor:193 - InputSFTPEndpoint org.mule.transport.sftp.SftpInputStream
My Flow looks like the below
Update 2:
However if the file is a big one i think anything about 10MB then the return type is com.google.common.io.MultiInputStream and the file does get deleted.
Any ideas why Cloudhub would be behaving like this ?
I am newer to Mulesoft and I encountered the same issue. What I found was that Mulesoft puts a lock on the file that it is reading. For my particular scenario, I was reading a file and then uploading to Fusion (cloud). Mulesoft would not auto delete the file. When it polled the folder path again, it would see that same file there and try to read it again. What we had to do to force the release of the file, was add a Byte Array to String. It seems to have forced Mulesoft to read the file in its entirety and transform the payload which severed the lock on the file.

500.19 internal server error

I am currently trying to add Blogengine to a web page. I have used web platform installer. when I try to view the blog it gives me this error.
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Config File \\?\c:...\httpdocs\web.config
Requested URL http://..../Blog/
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
I have given read permisions to the web.config file but it still doesn't run