IntialContext issue on .exe execution
Hi,
I have a Javafx2.2 application which works well as Netbeans 7.2 standAlone application.
I then created a self contained deployment application and generated the bundle as per the tutorial provided.
However, when I click the .exe file , my application gets hold (comes to standstill ) at the declaration of InitialContext . If I see my log file , I can see "debug 1" and "debug2" not" debug 3" or any exception ).
I find this little awkward because either the control has to go through or exception has to be thrown. None of this is happening. Also being a exe file execution, I cannot debug it in netbeans IDE.
try {
Logger.getLogger(ServiceLoc.class.getName()).log(Level.SEVERE, "debug 1");
loadProperties();
Logger.getLogger(ServiceLoc.class.getName()).log(Level.SEVERE, "debug 2");
context = new InitialContext(properties);
Logger.getLogger(ServiceLoc.class.getName()).log(Level.SEVERE, "debug 3");
} catch (Exception e) {
Logger.getLogger(ServiceLoc.class.getName()).log(Level.SEVERE, e.getMessage(), e);
}I have provided all the glassfish lib jars in the classpath along with jre's rt.jar. I have also provided all the glassfish*.jar from glassfish modules.
Any advice is appreciated.
Thanks
Hi EJP,
Thanks for the reply.
I am using the following in jndi.properties file .
java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFactory
org.omg.CORBA.ORBInitialHost=localhost
org.omg.CORBA.ORBInitialPort=3700
java.naming.factory.url.pkgs = com.sun.enterprise.naming
java.naming.factory.state = com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImplI am using glassfish v3 and this was the recommended way .
Also, the same issue appears if I just create InitialContext without any properties parameter i.e. InitailContext context = new InitialContext() So, I don't think it is because of the properties but some missing environmental jar which netbeans provided but not here.
Similar Messages
-
Issue while query execution on web analyser.
Hi,
I am getting an error message while query execution on web ie Record set too large , data retrieval restricted by configuration .I am able to run the same query in bex analyser without any issue .Any idea what could be the reason and solution for this issue .
Regards,
Neetika.Hi Neetika,
The Query is exceeding the set limits,i suggest you to Reduce the time LIne for the Query, as it may be having more number of Cells in terms of Rows and Columns.
Execute the Query for Less number of Days,if u r executing it for 1 Month then execute it for 10 Days.
Rgds
SVU123 -
Version 11.1.4.62 on WinXP issue: I have re-installed iTunes according to instructions. iTunes give me the error message "AppleMobileDeviceHelper.exe has found an error and terminates. Restarting service does not help. Re-installing does not help. iTunes cannot update iPhone4S, iTunes hangs when trying after iPhone syncronization.
See the user tip: https://discussions.apple.com/docs/DOC-6562 for resolution
-
Hi,
I have a brand new HP Pavilion Laptop with Windows 8 64bit. I just downloaded the free update to 8.1. And then problems started.
First off, the boot up time has almost doubled. Just before the desktop becomes visible, there is a 10 second period where all you see is a black screen. At times this is more than 10 seconds. Then the desktop wallpaper can be seen.
Secondly, the most annoying problem-, everytime I shutdown or restart , I get an explorer.exe error saying memory cant be read some instruction referenced memory at 0x00000000. ?! What the h-- is this ? I mean is this what we expect to see after updating to
Windows 8.1 ? This is ridiculous. There is no offical response from the developers either. This is affecting many people all over the world and there is not even any official patch or announcement ?
I have read similar posts here and none of the solutions work. Someone says edit the registry, someone says remove the bluetooth service from startup ?! nothing and stopping a bluetooth service should not be considered a solution. Why should I not be able
to use bluetooth just to resolve this Windows 8.1 error ??
Please fix this problem urgently. And DO NOT ask us to re-install windows... I mean come on.. You think people have nothing better to do than installing/reinstalling Windows throughout the day ?? Bandwidth does not come cheap everywhere in the world either.
Please release a patch or some guidelines on fixing this problem ASAP.Hi, I have checked with that link on HP's site and for my product number it said that my laptop has been tested-Update your System from Windows 8 to Windows 8.1
HP has tested your Windows 8 PC with Windows 8.1 and has created update instructions.
This is what they say. And I clicked on the Windows Store Icon >> Then I clicked on the Upgrade to Windows 8.1 Tile >> Then I clicked Download Windows 8.1 Update ( over 3 GB ) waited for a couple of days >> Then clicked next a bunch of
times >> Selected some options that it asked me >> Then waited some more >> some more waiting >> and in 2 weeks I had upgraded to Windows 8.1 >> Then the above PROBLEMS started...
So, as a request to the tech team or dev team, pls fix this issue. -
Issue with Background execution of a Program
Hi,
I have developed a simple Report.
If i execute the report in foreground, the execution will be perfect as per logic maintained in the code.
If i execute the report in background, a particular IF condition is getting failed in the program.
I tried to debug the code (maintaining sy-batch = 'X' while debug). The same IF condition which gets failed in background, will get satisfied now in debug mode with sy-batch = 'X'.
I believe sy-batch = 'X' means the program running in background.
But when i run the program in background (pressing F9 without any debug), again the particular IF condition in the code gets fails.
Any idea to resolve this kind of issues...??
Regards
PavanWhat is "getting failed"? Result not true, so not going to the code inside IF/ENDIF? What is your expected result?
Please post the code part here (using code tags, only the relevant part, please watch the formatting).
Thomas -
Hi everybody, JSP+servlets+.exe execution+package problem
hi, i've read on java's forums that it is possible to execute an external class from a JSP and this (external class) can execute an .exe(Runtime a = Runtime.getRuntime()) i don't know if it was developed with JSP or servlet because they didn't put the code but it's factible, another question is if its necessary to package all clases to use some of them (1 class or 2) in a JSP?, or Can i just use one class with a main() executed by a servlet says?. last i've want to know if it's possible to communicate a servlet and a JSP and viceversa, i would apretiate much your help, thanks.
please type a new empty line after each question.
do your research on the internet with Google.
learn the basics with a tutorial. -
Issue on Badi Execution for copy appset
Hai,
I have write a badi to Copy Transaction data from appset to another appset it works fine and now i has to enhance the code to copy same to another account.
here comes the issue.,
when i execute the code for hard coded it works fine and post the data for the logic.
but when i keep account =<all> it throughs the error as exception error when i debug the code it shows due to duplicate records.
how can i solve the issue.
thanks,
Rajeshhai,
the problem is with the work status .
i unlocked the work status for the source and destination applications
and i run the logic the code executed sucess fully...
this is because when the work status is in "confirmed" it doesnt allow to load data to that member.
thanks,
Rajesh -
Executing acroRd32.exe execution question
Hi everyone;
Is there a way to execute acroRd32.exe without installatio?. I have the entire reader system in one directory. I uninstalled the reader (7.0) but I have all the components of this installation in one directory. I executed acrord32.exe and I get the above errror. I have an application that I will be distributing, and received the Adobe Reader and Runtime Software Distribution License Agreement last week for distributed of the reader software with the application. I want to distribution the reader components as a sub-directory under my application system, so the user can use this version without installing adobe reader on their workstation.
Is this possible or does the user have to have the reader installed on their workstation?AFAIK Adobe Reader must be installed, as it also places various registry entries, as well as the PDF file association, plus items in the Program Files\Common Files folder.
-
Issue in workbook execution in SAP BI
Hi ,
We have an issue where a user when clicks on a specific workbook ( under favourites in User Menu ) , he gets the error that " You are not authorized to use transaction LAST_SHORTDUMP ". The SU53 shows the access missing for TCODE LAST_SHORTDUMP .
The user is though able to execute the original query directly.
Can someone please throw some light on the issue as it doesn't seem to be an issue with user's authorization.
Thanks and Regards
ManishaHi,
it seems like that query dumps and system tries to display a short dump using transaction LAST_SHORTDUMP. So you can use ST22 to check why that query fails. Check also notes 1435926 and 1523222.
Cheers -
Program issues *run exe/ convert program/etc.?*
Ok... I've been trying for the past few hours, all over the web on my own, and now admit I need help...
I have a Palm Treo Pro 850(sprint). I am trying to get an exe(since it's WinMO) to run on it with no luck. The program in particular is Virtual Boy, a game boy advance emulator.
Question: How does one get exe's to work on this particular phone, or convert it? Been bugging me for about four hours now...Generally speaking, applications for Windows Mobile are distributed as .cab files which the phone then installs. Is your EXE available in that form?
-
A week without my Muse. Please HELP. I am trying to be Patient.
Each time I try to open my muse it is freezing and shutting down right away. I open the file and it just freezes. I get a window that pops up explaining DEP (I have tried to shut it off and it doesn't work). Has anyone else ever had this happen? I really want to get my Muse working again, its going on a week without. I have windows Vista, 32 bit. Since I did the recent updates its not working anymore. Can I roll back to an older version? Thank you.So I found a fix to this myself. I found that others were having the same issue in Photoshop CS6 too. What I did was go to open the app, right click on the app icon, go to properties>compatibility>click the box for Compatibility Mode that says "Run this program in compatibility mode for:: select your operating system (Mine was windows xp sp2). I also selected "Run as Administrator". So far it is working, I am upset that this was such a simple go around and I have been without my muse for over a month now.
-
MSI media center issue - winirxhelp.exe bloated in taskman
i understand that this WinIRXhelp.exe file is placed in the startup menu so that the remote controller can be used in conjunction with media center. however, when looking at the process in taskman, the amount of mem given to this 4 mb process increases by 40 kb every sec. at that rate, the process more than doubles in size every 2 hours.
anyone know of a solution or patch to this? i know i can take it out of the startup folder and have it executed only when i want to use media center and then end the process when finished with it, but it kind of defeats the purpose of a seemless integrated media center.
or rather, does anyone know why such a process requires an infinitely increasing amount of memory?
thanksthis has been posted about already - see:
Other Link In Forum
But at this point there is no solution yet. I have contacted MSI - not heard back yet. -
Report Performance Issue and Strange Execution Log Data
Today we have had a report suddenly start taking a long time to execute.
Looking at the Report Server executionLog3 table/view we have the following information for the query in question.
<Connection>
<ConnectionOpenTime>1</ConnectionOpenTime>
<DataSets>
<DataSet>
<Name>ReportDataset</Name>
<RowsRead>7</RowsRead>
<TotalTimeDataRetrieval>150013</TotalTimeDataRetrieval>
<ExecuteReaderTime>3</ExecuteReaderTime>
</DataSet>
</DataSets>
</Connection>
Supposedly the time taken to retrieve the data is around 150 seconds. However, running a profiler trace while running the report in SSRS shows the query executing in under 1 second.
Indeed running a profiler trace for anything on the server with a duration greater than 60 seconds isn't returning anything. I can only assume the above data is wrong when it says 150 seconds to retrieve the data. IT IS taking that long to run
the report though - so the question is - where is the time going?
Why can't I find a slow query on the server but SSRS thinks there is?
LucasF
EDIT: This was fixed by restarting the report server. Any ideas on why this might occur?Hi Lucas,
According to your description, you find the <TotalTimeDataRetrieval> in ExecutionLog3 is larger than the profiler trace time.
In Reporting Services, to analyze the performance of the report, we usually check the TimeDataRetrieval to find the time we spend on retrieving the data. It’s the time needed for SQL Server to retrieve the data of all datasets in your report. So in your
scenario, please check if the TimeDataRetrieval is equal to the time in profiler trace.
Reference:
More tips to improve performance of SSRS reports
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
DirectX install issue - DXSDK_Jun10.exe installer automatically uses an invalid path
Hi,
I had the DirectX SDK installed on my PC, on drive 'E:'. I had a drive failure, drive 'E:' is no longer available. I wish to install DirectX SDK on to drive 'D:'. The installer for the Feb SDK works as expected, asks for a dir to install to, all good. But
the Jun SDK is getting the old path from somewhere, and is just giving me an error when it tries to install, telling me that disk does not have enough space.
I have cleared out all DirectX keys from my registry, and have checked my environment variables. No luck. Where else can I look for where this old path name is secreted?
Cheers,
RichYou must to view the section: http://www.oracle.com/technology/software/tech/windows/odpnet/install10202.html... there you will find all the information that you need for the installation in windows vista. I could to install the ODAC and i have not any problem.
-
Alright, so I've tried what feels like everything. First off, I am troubleshooting for WINDOWS 7.
After I reboot, the computer functions relatively fine. Great latency, no choppyness, no matter what I do. About two to three days later, it gets incredibly bad. Specifically when browsing the internet using any browser. The audio becomes terribly choppy
as the mouse lags across the screen. Running LatencyMon, I see tcpip.sys is always at the top. This issue only seems to happen the most when internet activity usage is high. Also, ndis.sys is always up there too, as well as NETIO.SYS
Any help would be so greatly appreciated!! I run a small web server from this PC, so this is quite critical for me. It never used to happen until I recently began getting Pool_corruption blue screens, later to be discovered they were caused by my GIGABYTE
motherboards utility driver files, which I took care of.
I haven't really made any changes to my PC, besides several driver updates in attempt to resolve this. I have since updated my BIOS to the latest version. I even tried using Auslogics Boost Speed to improve the TCP settings based on on my 50mbps internet
speed. Nothing clears the lag, but a reboot, which is temporary. I used to run this PC for up to two weeks before I rebooted, no issues.
Driver Execution Time Screenshot:
http://gyazo.com/7adc868ee2b76dee4ef5c19ad19ce088
LatencyMon log below:
CONCLUSION
Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns appearing as drop outs, clicks or pops. One or more DPC routines that belong to a driver running in your system appear to be executing
for too long. At least one detected problem appears to be network related. In case you are using a WLAN adapter, try disabling it to get better results. One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS
setup. Check for BIOS updates.
LatencyMon has been analyzing your system for 0:16:52 (h:mm:ss) on all processors.
SYSTEM INFORMATION
Computer name: ThisIsAComputerName
OS version: Windows 7 Service Pack 1, 6.1, build: 7601 (x64)
Hardware: Z87X-UD4H, Gigabyte Technology Co., Ltd., Z87X-UD4H-CF
CPU: GenuineIntel Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Logical processors: 8
Processor groups: 1
RAM: 16324 MB total
CPU SPEED
Reported CPU speed: 3491.0 MHz
Measured CPU speed: 3868.0 MHz (approx.)
Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.
MEASURED INTERRUPT TO USER PROCESS LATENCIES
The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the
signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.
Highest measured interrupt to process latency (µs): 81947.411914
Average measured interrupt to process latency (µs): 8.685069
Highest measured interrupt to DPC latency (µs): 71439.589036
Average measured interrupt to DPC latency (µs): 3.104919
REPORTED ISRs
Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.
Highest ISR routine execution time (µs): 147.623890
Driver with highest ISR routine execution time: USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation
Highest reported total ISR routine time (%): 0.100862
Driver with highest ISR total time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation
Total time spent in ISRs (%) 0.146654
ISR count (execution time <250 µs): 2354800
ISR count (execution time 250-500 µs): 0
ISR count (execution time 500-999 µs): 0
ISR count (execution time 1000-1999 µs): 0
ISR count (execution time 2000-3999 µs): 0
ISR count (execution time >=4000 µs): 0
REPORTED DPCs
DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.
Highest DPC routine execution time (µs): 4384.048124
Driver with highest DPC routine execution time: ndis.sys - NDIS 6.20 driver, Microsoft Corporation
Highest reported total DPC routine time (%): 0.031341
Driver with highest DPC total execution time: nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 347.52 , NVIDIA Corporation
Total time spent in DPCs (%) 0.201231
DPC count (execution time <250 µs): 7333801
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-999 µs): 423
DPC count (execution time 1000-1999 µs): 433
DPC count (execution time 2000-3999 µs): 7
DPC count (execution time >=4000 µs): 0
REPORTED HARD PAGEFAULTS
Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted
and blocked from execution.
NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.
Process with highest pagefault count: avastsvc.exe
Total number of hard pagefaults 1535
Hard pagefault count of hardest hit process: 344
Highest hard pagefault resolution time (µs): 77184.982813
Total time spent in hard pagefaults (%): 0.063944
Number of processes hit: 21
PER CPU DATA
CPU 0 Interrupt cycle time (s): 45.681687
CPU 0 ISR highest execution time (µs): 147.623890
CPU 0 ISR total execution time (s): 11.875990
CPU 0 ISR count: 2354800
CPU 0 DPC highest execution time (µs): 4384.048124
CPU 0 DPC total execution time (s): 13.495186
CPU 0 DPC count: 6501345
CPU 1 Interrupt cycle time (s): 16.680073
CPU 1 ISR highest execution time (µs): 0.0
CPU 1 ISR total execution time (s): 0.0
CPU 1 ISR count: 0
CPU 1 DPC highest execution time (µs): 3350.307935
CPU 1 DPC total execution time (s): 0.426748
CPU 1 DPC count: 107359
CPU 2 Interrupt cycle time (s): 17.093312
CPU 2 ISR highest execution time (µs): 0.0
CPU 2 ISR total execution time (s): 0.0
CPU 2 ISR count: 0
CPU 2 DPC highest execution time (µs): 1974.991693
CPU 2 DPC total execution time (s): 0.441413
CPU 2 DPC count: 122078
CPU 3 Interrupt cycle time (s): 17.086010
CPU 3 ISR highest execution time (µs): 0.0
CPU 3 ISR total execution time (s): 0.0
CPU 3 ISR count: 0
CPU 3 DPC highest execution time (µs): 2766.876540
CPU 3 DPC total execution time (s): 0.269897
CPU 3 DPC count: 65999
CPU 4 Interrupt cycle time (s): 8.237525
CPU 4 ISR highest execution time (µs): 0.0
CPU 4 ISR total execution time (s): 0.0
CPU 4 ISR count: 0
CPU 4 DPC highest execution time (µs): 1918.52220
CPU 4 DPC total execution time (s): 0.618606
CPU 4 DPC count: 220533
CPU 5 Interrupt cycle time (s): 8.578453
CPU 5 ISR highest execution time (µs): 0.0
CPU 5 ISR total execution time (s): 0.0
CPU 5 ISR count: 0
CPU 5 DPC highest execution time (µs): 1899.919794
CPU 5 DPC total execution time (s): 0.206159
CPU 5 DPC count: 56896
CPU 6 Interrupt cycle time (s): 11.541397
CPU 6 ISR highest execution time (µs): 0.0
CPU 6 ISR total execution time (s): 0.0
CPU 6 ISR count: 0
CPU 6 DPC highest execution time (µs): 1861.963334
CPU 6 DPC total execution time (s): 0.358036
CPU 6 DPC count: 108505
CPU 7 Interrupt cycle time (s): 12.079986
CPU 7 ISR highest execution time (µs): 0.0
CPU 7 ISR total execution time (s): 0.0
CPU 7 ISR count: 0
CPU 7 DPC highest execution time (µs): 1797.655113
CPU 7 DPC total execution time (s): 0.479542
CPU 7 DPC count: 151950Hello and thank you for the reply!
While I am waiting for the issue to start up again, I'd just like to cover some things you mentioned in your post. :)
I only updated the bios because I was originally experiencing these issues. It was a method to hopefully resolve them, which did not work. I was very careful, and the process was a success. I updated to the most recent recommended driver for my motherboard
from the manufacturers.
As for Auslogics Boost Speed, it is not running on my computer, as it is a piece of software I only have used to clean junk files (cache/temp) for a very long time now with no issue. I have also tried updating all of my drivers with success, however that
did not solve the issue either. I even rolled back my network card driver just in case with no luck.
I have not thought of disabling my audio driver yet, being how it effects far more than just my audio when it happens. My mouse is jittery/laggy as well when no sound is playing. But other tests have shown that it may be a network issue. Next time it happens
I'll temporary disable my network drivers to see if that causes the issue to clear up.
I will be sure to mark answers which help appropriately. Thanks again! I should return with the information requested from Zigzag's wiki within 2 days of on-time, when this happens again.
Maybe you are looking for
-
FBCJ LINE ITEM AND FI LINE ITEMS ARE DIFFERENT
Dear Expert FBCJ LINE ITEM AND FI LINE ITEMS ARE DIFFERENT
-
CMS SCA imports fail & CBS error while activating
Hello!!! I am trying to setup the JDI process for scenario 2+ or 3. The JDI is running on the DEV system and SLD is altogether on a different system(Here the installation and configuration of JDI & SLD was carried out by an admin). So I started imple
-
Is it possible to maintain two class type for a material
Dear All, Is it possible to maintain two different class type for a material. If a material assigned with the batch and the material is a part of variant configuration, then how to handle this scenario. For Batch Management, class type will be 023, f
-
How to see the SQL used in an existing Rule file?
Hi, Is there a way to see the SQL used in the rule file defn of any existing rule file which retrieves data from a RDMS? Appreciate your thoughts. Thanks.
-
Connecting iphone 4s to router
Hi this might be a silly question but i,m just wondering if anyone knows if it is possible to connect an iphone 4s to a router that has no internet connection thus using the iphone for wireless broadband? Many thanks in advance.