Unable to write a log file from EJB

Hi i have a Stateless EJB deployed on OC4J 10.1.3 and it is tryig to create a logfile with the location given in properties file.when it is trying to create the file it is getting Access denied to that particular folder I have changed the folder to another location but it is still the same.I am able to create a file to the same folder using simple jave class.
here is the stack trace.
javax.ejb.CreateException: D:\Kernel7.3\GW_EJB\log (Access is denied)
at com.xxxxx.fcubs.gw.ejb.GWEJBBean.ejbCreate(GWEJBBean.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke
(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
ocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSI
nterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
ocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.SetContextActionIntercepto
r.invoke(SetContextActionInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
ocationContextImpl.java:69)
at com.evermind.server.ejb.LifecycleManager$LifecycleCallback.invokeLife
cycleMethod(LifecycleManager.java:619)
at com.evermind.server.ejb.LifecycleManager$LifecycleCallback.invokeLife
cycleMethod(LifecycleManager.java:606)
at com.evermind.server.ejb.LifecycleManager.postConstruct(LifecycleManag
er.java:89)
at com.evermind.server.ejb.StatelessSessionBeanPool.createContextImpl(St
atelessSessionBeanPool.java:41)
at com.evermind.server.ejb.BeanPool.createContext(BeanPool.java:405)
at com.evermind.server.ejb.BeanPool.allocateContext(BeanPool.java:232)
at com.evermind.server.ejb.StatelessSessionEJBHome.getContextInstance(St
atelessSessionEJBHome.java:51)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(S
tatelessSessionEJBObject.java:83)
at GWEJBRemote_StatelessSessionBeanWrapper2.processMsg(GWEJBRemote_State
lessSessionBeanWrapper2.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
javax.ejb.EJBException: Exception while creating bean/context instance for bean
GW_EJB_Bean; nested exception is: javax.ejb.CreateException: D:\Kernel7.3\GW_EJB
\log (Access is denied)
at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_
SERVER(RMICall.java:110)
at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:1
28)
at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodRespons
e(RMIClientConnection.java:472)
at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientCon
nection.java:416)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocati
onHandler.java:63)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(Rec
overableRemoteInvocationHandler.java:28)
at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invok
e(StatelessSessionRemoteInvocationHandler.java:43)
at __Proxy1.processMsg(Unknown Source)
at GW_EJB_Client.callEJB(GW_EJB_Client.java:68)
at GW_EJB_Client.main(GW_EJB_Client.java:22)
Caused by: javax.ejb.CreateException: D:\Kernel7.3\GW_EJB\log (Access is denied)
at com.xxxxx.fcubs.gw.ejb.GWEJBBean.ejbCreate(GWEJBBean.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke
(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
ocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSI
nterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
ocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.SetContextActionIntercepto
r.invoke(SetContextActionInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(Inv
ocationContextImpl.java:69)
at com.evermind.server.ejb.LifecycleManager$LifecycleCallback.invokeLife
cycleMethod(LifecycleManager.java:619)
at com.evermind.server.ejb.LifecycleManager$LifecycleCallback.invokeLife
cycleMethod(LifecycleManager.java:606)
at com.evermind.server.ejb.LifecycleManager.postConstruct(LifecycleManag
er.java:89)
at com.evermind.server.ejb.StatelessSessionBeanPool.createContextImpl(St
atelessSessionBeanPool.java:41)
at com.evermind.server.ejb.BeanPool.createContext(BeanPool.java:405)
at com.evermind.server.ejb.BeanPool.allocateContext(BeanPool.java:232)
at com.evermind.server.ejb.StatelessSessionEJBHome.getContextInstance(St
atelessSessionEJBHome.java:51)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(S
tatelessSessionEJBObject.java:83)
at GWEJBRemote_StatelessSessionBeanWrapper2.processMsg(GWEJBRemote_State
lessSessionBeanWrapper2.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)

public void ejbCreate ()
throws CreateException
try
initializeprop ();
catch(Exception ex)
throw new CreateException (ex.getMessage ());
on lone 140 I am throwing a create Exception.
initializeprop() method is used to initialize the logeer properties etc.

Similar Messages

  • Capturing log files from multiple .ps1 scripts called from within a .bat file

    I am trying to invoke multiple instances of a powershell script and capture individual log files from each of them. I can start the multiple instances by calling 'start powershell' several times, but am unable to capture logging. If I use 'call powershell'
    I can capture the log files, but the batch file won't continue until that current 'call powershell' has completed.
    ie.  within Test.bat
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > a.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > b.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > c.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > d.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > e.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > f.log 2>&1
    the log files get created but are empty.  If I invoke 'call' instead of start I get the log data, but I need them to run in parallel, not sequentially.
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > a.log 2>&1
    timeout /t 60
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > b.log 2>&1
    timeout /t 60
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > c.log 2>&1
    timeout /t 60
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > d.log 2>&1
    timeout /t 60call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > e.log 2>&1
    Any suggestions of how to get this to work?

    Batch files are sequential by design (batch up a bunch of statements and execute them). Call doesn't run in a different process, so when you use it the batch file waits for it to exit. From CALL:
    Calls one batch program from another without stopping the parent batch program
    I was hoping for the documentation to say the batch file waits for CALL to return, but this is as close as it gets.
    Start(.exe), "Starts a separate window to run a specified program or command". The reason it runs in parallel is once it starts the target application start.exe ends and the batch file continues. It has no idea about the powershell.exe process
    that you kicked off. Because of this reason, you can't pipe the output.
    Update: I was wrong, you can totally redirect the output of what you run with start.exe.
    How about instead of running a batch file you run a PowerShell script? You can run script blocks or call individual scripts in parallel with the
    Start-Job cmdlet.
    You can monitor the jobs and when they complete, pipe them to
    Receive-Job to see their output. 
    For example:
    $sb = {
    Write-Output "Hello"
    Sleep -seconds 10
    Write-Output "Goodbye"
    Start-Job -Scriptblock $sb
    Start-Job -Scriptblock $sb
    Here's a script that runs the scriptblock $sb. The script block outputs the text "Hello", waits for 10 seconds, and then outputs the text "Goodbye"
    Then it starts two jobs (in this case I'm running the same script block)
    When you run this you receive this for output:
    PS> $sb = {
    >> Write-Output "Hello"
    >> Sleep -Seconds 10
    >> Write-Output "Goodbye"
    >> }
    >>
    PS> Start-Job -Scriptblock $sb
    Id Name State HasMoreData Location Command
    1 Job1 Running True localhost ...
    PS> Start-Job -Scriptblock $sb
    Id Name State HasMoreData Location Command
    3 Job3 Running True localhost ...
    PS>
    When you run Start-Job it will execute your script or scriptblock in a new process and continue to the next line in the script.
    You can see the jobs with
    Get-Job:
    PS> Get-Job
    Id Name State HasMoreData Location Command
    1 Job1 Running True localhost ...
    3 Job3 Running True localhost ...
    OK, that's great. But we need to know when the job's done. The Job's Status property will tell us this (we're looking for a status of "Completed"), we can build a loop and check:
    $Completed = $false
    while (!$Completed) {
    # get all the jobs that haven't yet completed
    $jobs = Get-Job | where {$_.State.ToString() -ne "Completed"} # if Get-Job doesn't return any jobs (i.e. they are all completed)
    if ($jobs -eq $null) {
    $Completed=$true
    } # otherwise update the screen
    else {
    Write-Output "Waiting for $($jobs.Count) jobs"
    sleep -s 1
    This will output something like this:
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    When it's done, we can see the jobs have completed:
    PS> Get-Job
    Id Name State HasMoreData Location Command
    1 Job1 Completed True localhost ...
    3 Job3 Completed True localhost ...
    PS>
    Now at this point we could pipe the jobs to Receive-Job:
    PS> Get-Job | Receive-Job
    Hello
    Goodbye
    Hello
    Goodbye
    PS>
    But as you can see it's not obvious which script is which. In your real scripts you could include some identifiers to distinguish them.
    Another way would be to grab the output of each job one at a time:
    foreach ($job in $jobs) {
    $job | Receive-Job
    If you store the output in a variable or save to a log file with Out-File. The trick is matching up the jobs to the output. Something like this may work:
    $a_sb = {
    Write-Output "Hello A"
    Sleep -Seconds 10
    Write-Output "Goodbye A"
    $b_sb = {
    Write-Output "Hello B"
    Sleep -Seconds 5
    Write-Output "Goodbye B"
    $job = Start-Job -Scriptblock $a_sb
    $a_log = $job.Name
    $job = Start-Job -Scriptblock $b_sb
    $b_log = $job.Name
    $Completed = $false
    while (!$Completed) {
    $jobs = Get-Job | where {$_.State.ToString() -ne "Completed"}
    if ($jobs -eq $null) {
    $Completed=$true
    else {
    Write-Output "Waiting for $($jobs.Count) jobs"
    sleep -s 1
    Get-Job | where {$_.Name -eq $a_log} | Receive-Job | Out-File .\a.log
    Get-Job | where {$_.Name -eq $b_log} | Receive-Job | Out-File .\b.log
    If you check out the folder you'll see the log files, and they contain the script contents:
    PS> dir *.log
    Directory: C:\Users\jwarren
    Mode LastWriteTime Length Name
    -a--- 1/15/2014 7:53 PM 42 a.log
    -a--- 1/15/2014 7:53 PM 42 b.log
    PS> Get-Content .\a.log
    Hello A
    Goodbye A
    PS> Get-Content .\b.log
    Hello B
    Goodbye B
    PS>
    The trouble though is you won't get a log file until the job has completed. If you use your log files to monitor progress this may not be suitable.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • Application to read 2 log files from internet

    Hi,
    Anybody could tell me how to develop this project. I'm lack of time. thanks
    You have been asked into a company called Broken Arrow Software as a Senior Software Engineer and Management consultant. You are being paid very handsomely and have been asked to write an application program in Java for parsing a log file.
    � The program will have a standard menu using the AWT only.
    � ALL LAYOUTS MUST USE ONLY THE BORDER-LAYOUT OR GRID-LAYOUT OR A COMBINATION OF BOTH (Any other layouts score zero).
    This application reads two Log files from the internet. The first file contains USA state names and the abbreviation used for that state. This information will be used in displaying totals from another network file and should be stored in an array (or two arrays, or a two dimensional array) in the program. The second file should extract the �Reversed subdomain� section from a Log file (a section is shown later) and store this in an array in the application. This should be processed and only those domains beginning with �us.� should be processed. Each �us.� Has an abbreviated USA state after it (�tx� is an abbreviation for Texas). The abbreviations are sorted and all states are on consecutive lines and each displays a number of accesses for that state. The accesses should be totalled and displayed in the current Frame for each state in the form of Java List components (these do not need to be synchronised so that they all scroll in unison).
    The application will be a Java application with the following menus and MenuItems:
    � Splash screen (10%)
    � Application (20%)
    o Open USA abbreviation file
    o Clear screen
    o Exit
    � File (25%)
    o Open network log file
    o Open locally saved report file
    o Recent report files
    o Save as report file
    � Graph (20%)
    o Plot
    � Help (15%)
    o Help on Application
    o About
    A basic pass for the application will be for a basic implementation of an application with �help� options and some basic implementations of a Splash screen and some basic file and application options. Very high marks will be awarded for processing network files, saving and opening files, very good HCI, application design and error handling, excellent OO design for classes, gorgeous layout and commenting of code and excellent graphing capabilities.
    Error handling dialogs and overall application design (10%)
    Every class must be in a separate file.
    Inheritance should be used for WindowListeners of Frames and Dialogs.
    Up to 10% can also be lost by unprofessional code layout and lack of professional standards. Always adhere to standards taught throughout the module and your time at the University of Northumbria.
    Examples of non-professionalism would include bad indentation, no comments, meaningless variable names, politically incorrect graphics, commented out code, empty .java files, .java files which are not part of the project etc. Remember your application is your livelihood and your company depends on your application standards.
    The splash screen must be a Frame with a Canvas as part of it showing your own logo. Your logo should be individual to you but does not need to win the computing equivalent of the Turner prize. The application should be displayed behind the Splash screen and both should be visible. The application must not be able to be brought to the front and used without the Splash screen being disposed of.
    The application should only enable the �Open USA abbreviation file�, �Open locally saved report file�, �Help� options and �Exit� Menus and MenuItems, when the application starts. On opening a valid USA abbreviation file, then the other Menus and MenuItems should be enabled.
    The abbreviations should be read into an array. These should be used in displaying the totals for the reversed subdomain totals for each USA state. A total for all USA states should be displayed at the bottom of the current Frame, with a suitable Label (this design is your own). This current Frame should display a series of Lists starting with a List of USA state number (1 to n). A List of USA state abbreviation should be next followed by a List of the actual USA state name, followed by a List of the total accesses for that state.
    The report file should be an ASCII file that can be printed out from an ASCII text editor such as DOS edit or Microsoft NotePad.
    The �Open� network files should display a Dialog asking for the http:// address of the file, with �OK� and �Cancel� options. It is helpful if the user can hit �return� instead of clicking on �OK� and �Escape� instead of �cancel�. Error Dialogs should be used to indicate any errors that may occur and the state of the application should be reset to that of before displaying the Dialog.
    When �Save as report file� is chosen a FileDialog box should be used for the user to choose both directory and filename. The file should be able to be saved as a �.rpt� file.
    Open report file should display the report in a Frame; the design of which is your own.
    Plotting the graph should pass a two dimensional array to a Frame with a Canvas. The Canvas should have a Paint method that draws the axis for the graph and any suitable Headings etc. The graph should draw a histogram of totals per USA states. The graph design is your own but you may wish to use Microsoft Excel as a good example of drawing a histogram.
    The �Clear screen� option should clear any data off the current screen.
    The �Exit� option should quit the application but it may be helpful to ask the user if they really want to exit the application.
    Help must be Java code and not linking into HTML. It should display help in a well designed screen. The most basic implementation might use a scrollable TextArea for a basic mark.
    See other software for a good �About� screen. The most basic should display your name, date, version and company.
    � Help should display your help on using the application. As a senior software engineer, the design is your own, based on experience of using applications, as is the opening splash screen. You may use other applications for inspiration only, as these will make up your experience.
    � Your good knowledge gained from HCI units studied should prove invaluable in the interface design and the usability of the application.
    � The design (Screens and classes) and quality and documentation of code throughout the application will be marked. The experience gained from programming 1 and 2 and Object Oriented Programming should prove invaluable throughout the application, as should any GUI units studied.
    The log file can be accessed at:
    http://computing.unn.ac.uk/staff/cgpb2/public_html/log.html

    You would really gain ever so much more from this exercise if you would write a couple of classes, then come back with some specific questions. If you're completely lost, try starting with the GUI first. It's not the best practice, always, but it is easy to visualize.
    On a side note, I wish I'd had assignments even half this intersting when I was in my Java classes...

  • How to get File Reference of a properties file from EJB

    Hi,
    I am using Sun App server 7 with Oracle 9i. I am keeping all my SQL statements in a properties file from which I am loading it while making a database operation from Stateless beans. My problem is I am not able to get the reference of the properties file. Here is the code through which I am getting the SQL statements loaded to a cache.
    String sqlFileName = "SQL.properties";
    sqlCache.load(new FileInputStream(sqlFileName));
    From the cache I am sending the SQL statement depending on the key value. But the problem is I have to keep the SQL.properties file on the App Server config directory of the instance where the server.xml file resides. Otherwise it is not able to find the properties file. But I don't want to put the properties file on the config directory of the server instance. Please help how to get the properties file from the packakge. My file is residing inside a package com.company.sql . Botht the properties file and the class accessing the file are residing in the same package. Please help how to get the reference of the file with out putting the file in the config directory.
    Thanks
    Amit Patnaik

    Just wanted to warn you of the hazards if you read a file from EJB
    So please make sure that these hazards will not affect your application. However the solution suggested to use getResourceStream() concurs with ejbSpec
    This snippet is from suns blueprint on ejb
    Why can't EJBs read and write files and directories in the filesystem? And why can't they access file descriptors?
    Enterprise beans aren't allowed to access files primarily because files are not transactional resources. Allowing EJBs to access files or directories in the filesystem, or to use file descriptors, would compromise component distributability, and would be a security hazard.
    Another reason is deployability. The EJB container can choose to place an enterprise bean in any JVM, on any machine in a cluster. Yet the contents of a filesystem are not part of a deployment, and are therefore outside of the EJB container's control. File systems, directories, files, and especially file descriptors tend to be machine-local resources. If an enterprise bean running in a JVM on a particular machine is using or holding an open file descriptor to a file in the filesystem, that enterprise bean cannot easily be moved from one JVM or machine to another, without losing its reference to the file.
    Furthermore, giving EJBs access to the filesystem is a security hazard, since the enterprise bean could potentially read and broadcast the contents of sensitive files, or even upload and overwrite the JVM runtime binary for malicious purposes.
    Files are not an appropriate mechanism for storing business data for use by components, because they tend to be unstructured, are not under the control of the server environment, and typically don't provide distributed transactional access or fine-grained locking. Business data is better managed using a persistence interface such as JDBC, whose implementations usually provide these benefits. Read-only data can, however, be stored in files in a deployment JAR, and accessed with the getResource() or getResourceAsStream() methods of java.lang.Class.
    Hope this info helps!

  • Micrsoft Diagnostic service crashing unable to genarate dailyperformace logs files in server

    Dear Team,
    Please suggest post upgradation  Exchange 2013 CU6 unable to genarate dailyperformace logs files on some of the servers.
    We tried deleting the registry as suggested in below artical but not help to resolve that. in task scheduled unable to see both performace logs.
    http://blogs.technet.com/b/anya/archive/2014/11/25/microsoft-exchange-diagnostics-service-crashing-post-cu6-upgrade.aspx
    Please help.
    Thanks,
    Satish

    Hi,
    From your description, I recommend you check if Task Scheduler Service is disabled by any GPO. If yes, please enable Task Scheduler Service and then restart Exchange server to check the result.
    Here is a similar thread for your reference.
    Exchange 2013 CU6 MSExchangeDiagnostics Crash
    https://social.technet.microsoft.com/Forums/office/en-US/30fdc02d-b36e-427d-99b7-9598d781a097/exchange-2013-cu6-msexchangediagnostics-crash?forum=exchangesvradmin
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • A sporadic compile error vbc : error BC31019: Unable to write to output file 'D:\Revit\Dev32\RevitAdditions\Source\..\Intermediate\ReleaseWin32\VBNETSnippets\VBNETSnippets.dll': The specified image file did not contain a resource section.

    Hi,
    This is developer from Autodesk. We get this compile error from time to time. This is a sporadic failure. We can't find any issue in our own project.
    vbc : error BC31019: Unable to write to output file 'D:\Revit\Dev32\RevitAdditions\Source\..\Intermediate\ReleaseWin32\VBNETSnippets\VBNETSnippets.dll': The specified image file did not contain a resource section.
    I find a help doc from the website to try some steps to solve this issue.
    Error ID: BC31019
    To correct this error
    Compile the program again to      see if the error recurs.
    If the error continues, save      your work and restart Visual Studio.
    If the error continues, restart      the computer.
    If the error recurs, reinstall      Visual Basic.
    If the error persists after      reinstallation, notify Microsoft Product Support Services.
    My question is what the root cause for this issue. Could you please give us some explanation where the issue should be,  VB compiler? .Net Framework?
    Visual Studio? Operating system?
    Thanks
    Wilson

    Hi hitzwx,
    Thank you for posting in MSDN forum.
    Since this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help
    System, and Visual Studio Editor.
    Based on your issue, I am not sure what the root cause for this issue. But I suggest you can try some suggestions so that narrow down this issue.
    (1) I suggest you try to create a new simple VB project and then check this issue.
    (2) In addition, maybe you see the document about your issue. If possible, I suggest you can try these suggestions to troubleshooting this issue.
    https://msdn.microsoft.com/en-us/library/85s7w197.aspx
    >>Unable to write to output file 'D:\Revit\Dev32\RevitAdditions\Source\..\Intermediate\ReleaseWin32\VBNETSnippets\VBNETSnippets.dll': The specified image file did not contain a resource section.
    In addition, I suggest you can check if the specified image file in the output folder or you can try to click your image file in the Solution Explorer-> select the Copy to Output Directly properties->Copy always check this issue again.
    If you have any update message about your issue, please tell me.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unable to pick up the file from Receive Location

    BizTalk is  unable to pick up the files from receive location.
    My admin console is working so slow.
    It is showing the problem of snap-in as follows:
    I have checked all my receive location and its masking,it is working fine.
    Actually it is working fine in dev server(snap-in problem is not occuring in dev server ) but when I import MSI and binding in UAT server.
    It is not picking up the file from receive location.
    I want to know one more thing :if my message box database is not working fine,will it receive the files from receive location.
    Prakash

    For files not received by receive location. If the Receive Location is still enabled but files are not processed by Receive Location, then check whether the host instance  configured with your receive location is running. If the host instance is in
    running state, restart the host instance and try.
    Regarding the error in the admin console as shown in the image, people started to see this issue with admin console from BizTalk 2009 onwards. This happens in cases like you have done some activity with console and before its been refreshed it you do more
    activities like expanding the node you will see this error. Sometimes WMI is bit slowly to refresh your admin console screen. Just wait for few seconds untill the WMI screen is rendered completely. Ensure you have all the cumulative updates installed for your
    version of BizTalk and also ensure the service pack for your OS is updated.
    Obviously if message box is not working, files will not be received/processed. But if message box is not in healthy state this would affect all other application not just one and in-fact it would affect entire BizTalk not just Receive Locations.
    To start analysing this file not been processed by Receive Location, start with checking the host instance as mentioned.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • MAXDB copy log file from one server to the other server.

    Hi All,
    I want to copy a log file from one server to the other server , the database is Maxdb and i don't know how to do it. I want to do it through command prompt, (set of commands required) the front end tool which we are using is DBM ( database manager). Please help.
    Regards
    M.A

    Hi,
    Basically, the process is of log shipping. Transferring logs from DC to DR system.
    For that, you can check HowTo - Standby DB log shipping - MaxDB - SCN Wiki
    This is script based. I have not done it but the idea remains the same.
    Regards,
    Divyanshu

  • Is there a way to automatically collect the log files from a AirPort or TimeCapsule base station?

    Hi there,
    the headline says basically all: Is there a way to collect the log files from a Time Capsule 7 AirPort from time to time? They are overwritten quite soon but I want a complete log of all activities to my access point.
    The AirPort Utility says something about SNMP. Is this the way to go? Some kind of demon on my Mac that retrieves and saves the logs like every two days?
    I want to copy the access logs, I am not interested in Time Machine backup logs.
    Thanks.

    There is a way to do this via Syslog. On the Logging & Statistics panel (within the AirPort Utility), you can point the AirPort's system logs to a Syslog "server."
    This would require a "dedicated" network client to receive the logs.
    Unfortunately, setting up a Syslog server is a bit intensive initially, but is simple to operate and maintain.
    Please check out this Apple Support Communities thread: Directing Syslog message to a file
    ref: Enable an Apple Mac OS machine as a syslog server

  • How to read/write a binary file from/to a table with BLOB column

    I have create a table with a column of data type BLOB.
    I can read/write an IMAGE file from/to the column of the table using:
    READ_IMAGE_FILE
    WRITE_IMAGE_FILE
    How can I do the same for other binary files, e.g. aaaa.zip?

    There is a package procedure dbms_lob.readblobfromfile to read BLOB's from file.
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_lob.htm#sthref3583
    To write a BLOB to file you can use a Java procedure (pre Oracle 9i R2) or utl_file.put_raw (there is no dbms_lob.writelobtofile).
    http://asktom.oracle.com/pls/ask/f?p=4950:8:1559124855641433424::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:6379798216275

  • How to view weblogic log files from a browser

    Hi,
    I am running WebLogic Server 7.03 on Solaris 8.
    I have one Admin and multiple Managed servers running.
    Each creates its own log file.
    Is there anyway I can access this log files from the browser ?
    In Apache, you can create a link from htdocs dir to the logs dir
    and then view the log files from the browser. Is there a similar
    mechanism in Weblogic server.
    A quick response is well appreciated.
    Thanks in advance.
    -Anil Varma

    If you are on a unix system you can do something similar by making an open
    directory webapp with symbolic links to the weblogic log directories. I suggest
    that you protect that webapp with administration access only.
    Sam
    Anil Varma wrote:
    Hi,
    I am running WebLogic Server 7.03 on Solaris 8.
    I have one Admin and multiple Managed servers running.
    Each creates its own log file.
    Is there anyway I can access this log files from the browser ?
    In Apache, you can create a link from htdocs dir to the logs dir
    and then view the log files from the browser. Is there a similar
    mechanism in Weblogic server.
    A quick response is well appreciated.
    Thanks in advance.
    -Anil Varma

  • Unable to install "InstallESD.dmg" file from OS X Mounstain Lion?

    Hi,
    Unable to install "InstallESD.dmg" file from OS X Mounstain Lion, i've downloaded OS X Mavericks and installed on other machine. However, i took backup of "Show Package Contents" before installing.When i try to install ""InstallESD.dmg" file some other Mac machine. When i double click on it its open Packages folder instead of installer.
    Please suggest me, how can i install OS X Mavericks for My Mac machines.
    Thanks in Advance,
    Suresh Balakrishnan.

    Unfortunately with OS X Mavericks you can't use the InstallESD.dmg file as an installer. You have to use either DiskMaker X 3.0.4 or Mavericks Bootable Disk Creation Tool or do an Internet search for the Terminal command that can be used to create a bootable Mavericks installer on an external drive (e,g, USB thumb drive).
    You will need the Install OS X Mavericks.app from the Mac App Store to use with all of the above solutions.

  • CELL-01528: Unable to create the log file in directory

    Hi ,
    We have Qtr-Exadata
    I'm getting error msg in 2 of Storage Servers when trying access cellcli
    CELL-01528: Unable to create the log file in directory
                             /opt/oracle/cell11.2.2.3.2_LINUX.X64_110520/cellsrv/deploy/log.
    Error: Couldn't get lock for
                             /opt/oracle/cell11.2.2.3.2_LINUX.X64_110520/cellsrv/deploy/log/cellcli.lst.
    in that directory there are too many files [cellcli.lst.0.lck...............cellcli.lst.0.99.lck]
    whereas in the third stg-server which run smoothly there are three files [cellcli.lst.0,cellcli.lst.0.1,cellcli.lst.0.2]
    without any file with "lck" extension
      ( Sorry for bad English)
    BR
    Sami

    Hello, check directory permissions

  • How to remove archive log files from ASM managed 11g R2 database?

    Hi,
    I am planning to automate deletion of older archive log files from my 11g R2 Production instance which is ASM managed.
    Also want to remove the archive log files files from standby database.
    Please provide your inputs on how can I remove the older archive log files.
    Regards,
    Avinash

    Greetings
    Did you check RMAN,
    RMAN>show all;
    CONFIGURE RETENTION POLICY . . . .
    CONFIGURE ARCHIVELOG DELETION POLICY TO [CLEAR | NONE | APPLIED ON STANDBY];
    DELETE NOPROMPT EXPIRED ARCHIVELOG ALL;
    DELETE NOPROMPT ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE-10';
    This will be part of your RMAN Backup scripts/process
    Check the urls below:
    11gRel2:
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmmaint.htm#BRADV90079
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmmaint.htm#BRADV89634
    10g:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14193/toc.htm#sthref45
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1.htm#i1008093
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/maint003.htm#sthref712
    Regards & Thanks
    BN

  • How to delete archive log files from ASM through Grid Control

    Hi
    Anybody suggest me how to delete archive log files from ASM through Grid Control.
    Thanks

    It is important to specify both, the oracle version and os version when posting, so confusions can be avoided.
    In this particular case, since you are referring to asm and grid control you could be talking about either 10gR1, 10gR2 or 11gR1; but I strongly suggest you to avoid us to be guessing. In either case, you sould go to the maintenance tab of the target database and program a scheduled 'delete noprompt obsolete;' procedure. This will purge the information stored at the Flash recovery area, which I assume you have declared inside the ASM.
    ~ Madrid
    http://hrivera99.blogspot.com/

Maybe you are looking for

  • How can you generate Multiple random numbers from 1 to 49?

    I am very new at programming with the iPhone SDK and I need some help with a project I am working on. What I want to do is set up a window with 6 labels and 1 button. When the user clicks the button, the program will populate 6 randomized numbers eac

  • Help Ipod Menu is empty of song names but files acessible thru iPod Control

    Hi when I scroll to Ipod / Music / Artists etc. Nothing shows up. However when I view hidden folders and look in the Ipod_control/Music folder all the songs are still there listed in folders such as FE1 etc. I've checked for the Itunes DB file in the

  • Timed out session

    Hi, How can we determine if the request is coming from a timed out session. Could you please let me know about this. Thanks.

  • Step how to create a duplicate record button in APEX

    HI, Where do i find out the document step by step with the code behind on how to create a button to copy a record with master and detail in APEX.  My email address is [email protected]  Thanks. Thu Tran

  • After Effects freezes, and "Initializing MediaCore" issue.

    I've been looking around for hours to solve this problem but I can't fix it... I have been using AE CS5 for almost a year without a problem but the other day it suddenly frooze and now every time I try to start CS5 it freezes when "initializing media